cancel
Showing results for 
Search instead for 
Did you mean: 

API V1 Get all contacts Pagination issue

Occasional Contributor

API V1 Get all contacts Pagination issue

Hello,

We are trying to pull all of our contacts using a web service call, but the API is not providing us with all the contacts.

 

We are using the C# .net solution that can be found linked from your main page here https://community.constantcontact.com/t5/Documentation/V1-XML-API-Documentation/ba-p/251225.

 

The issue is the code calls the API in chunks..starting with https://api.constantcontact.com/ws/customers/jitmail/contacts/.

 

When we get about 7 pages in (about 500 contacts) we end up on this page https://api.constantcontact.com/ws/customers/jitmail/contacts?next=hg8nb7vc-0.

 

The problem is the xml source for this page shows the next link as the same as the current page “next=hg8nb7vc-0”.

 

I know we have 9383 active contacts, wondering why it appears we cannot go to the next page from here.

 

Edit: I just found a link from 2008 (looks around the same time period as the outdate V1 we are using). It looks like this may have been confirmed as an issue, but not sure if it was resolved or not. Here is the link

 

https://community.constantcontact.com/t5/Developer-Support-ask-questions/Contacts-pagination-error-l...

 

 

3 REPLIES 3
Occasional Contributor

Re: API V1 Get all contacts Pagination issue

Ok let me phrase this more simply. Hopefully i'll get a response

 

When i make an API call to https://api.constantcontact.com/ws/customers/jitmail/contacts/ it only comes back with a limited amount of pages, it is not giving me all my contacts.

CTCT Employee

Re: API V1 Get all contacts Pagination issue

Sorry for the delay Brad, this is something I'm looking into!

-------------------------------------------
Check out our developer portal: http://developer.constantcontact.com
Highlighted
Occasional Contributor

Re: API V1 Get all contacts Pagination issue

Thanks Mike, its about the last thing i need to do to complete a data integration with you guys.