function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Possible to get all leads/contacts that have changed since XXXXX?

I'm trying to write something that will look at all my leads & contacts and all objects that have changed since a specified date/time. Is this possible?


I've got a custom process where I need keep my local store updated with what SalesForce has for various reasons. I'm frequently hitting our 5,000 daily API call limit and trying to optimize some of the SF service calls we're making. Therefore I'd like to make things a lot smarter...

Mark SFMark SF

Take a look at the getUpdated() call in the Web services API.


Retrieves the list of individual objects that have been updated (added or changed) within the given timespan for the specified object.



GetUpdatedResult[] = binding.getUpdated(string sObjectType, dateTime startDate, dateTime EndDate);