The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

Next 50


Next 50

The documentation talks about how to fetch the next 50 records when downloading a table that has more than 50 records.  "Use the links in the response (rel="next") to retrieve additioyeahnal pages of list members."


Here are three lines from my returned xml that contains the first 50 records.  I'm a little confused because the first line already has "rel=next".  However, resubmitting this xml simply returns the exact same list.


<link href="/ws/customers/(accountname)/lists/7/members?next=g1wjo9oj-89myfc" rel="next"></link>
<link href="/ws/customers/(accountname)/lists/7/members" rel="first"></link>
<link href="/ws/customers/(accountname)/lists/7/members" rel="current"></link>


My question is, to obtain the next 50 records, what exactly am I changing in the xml here and how should the xml look to successfully obtain the next 50 records?




Chris Campbell




Re: Next 50

Okay, the fog has lifted and so has my confusion.  My problem was that I didn't understand how to use link node and I was heading in a completely wrong direction with it.  All is right with the world now.







Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More