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.

How to Sort when using Modified Since

SOLVED
Go to solution
Highlighted
Visitor

How to Sort when using Modified Since

I'm using API V2 and retrieving all the contacts modified since a specific date.  The contacts appear to be sorted by create date rather then the modified date.  Is there a way to sort them within the API?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Moderator

Re: How to Sort when using Modified Since

Hello,

Thank you for reaching out to the API Support team here at Constant Contact.

Unfortunately there's not a way to sort the results directly from the API. You would need to first gather the results, and then sort them on your end based on the criteria you are looking to sort them by.

Regards,
David B.
Tier II API Support Engineer

View solution in original post

2 REPLIES 2
Highlighted
Moderator

Re: How to Sort when using Modified Since

Hello,

Thank you for reaching out to the API Support team here at Constant Contact.

Unfortunately there's not a way to sort the results directly from the API. You would need to first gather the results, and then sort them on your end based on the criteria you are looking to sort them by.

Regards,
David B.
Tier II API Support Engineer

View solution in original post

Highlighted
Visitor

Re: How to Sort when using Modified Since

Gotcha, I'll use the Next Link to capture all the contacts I need.  Thanks for your time.

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
Featured