+ Start a Discussion
Vinod Kumar 92Vinod Kumar 92 

which is the best way to pull the recently updated contacts from salesforce on to external application which is integrated with my salesforce Org?

I have my own app integrated with salesforce org, I maintain all my Contacts on my app. I want to know the best way to pull only the records that are recently updated in my org, so that I can make a callout from my app to only those records which are recently updated.
 In this way I can keep the Contacts updated on my app. It should not call all the Contacts while this process.
Ashish Dev 3Ashish Dev 3
expose a service to call from your app. In service run a SOQL query to find recently updated contacts and in where clause put lastmodifieddate > "<some date>"