+ Start a Discussion
SwamplanderSwamplander 

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.

 

Syntax:

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