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.

Implement "Searching for Contacts by Last Updated Date" using .NET wrapper

Highlighted
Occasional Visitor

Implement "Searching for Contacts by Last Updated Date" using .NET wrapper

Is there the ability using the .NET wrapper to search for contacts by last updated date?  The Utility functions don't seem to provide a mechanism.  When you retrieve all the contacts using GetContactCollection the LastUpdateTime field is not populated and you then have to retrieve the details for each contact to get the LastUpdateTime.  I am looking for an efficient means to retrieve only recently updated contacts in order to synchronize those updates with the local database.

1 REPLY 1
Highlighted
Employee

Re: Implement "Searching for Contacts by Last Updated Date" using .NET wrapper

Hello,

Unfortunately our C# wrapper does not have the functionality currently built in to run the search for last updated date.  However, this functionality is built into our API, and I am going to see if this can be added to the wrapper, as a search by email address is already implemented.

If you would like to utilize the API function for searching by last updated date, we have documentation on the API call here.  It is very similiar to the search by email, but instead of passing email address strings, you would pass ?updatedsince={date}&listid={numeric-list-id} to the contacts URI, as an HTTP GET call.

If you have any questions please let me know.

Regards,

Benjamin Soder
NOC Analyst
Constant Contact
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