I'd like to pull all of the contacts who have recently been added to a campaign using HTTP requests (from an external application). My current method is using a GET
request with the URL /sobjects/Campaign/updated?start=2020-04-23T00:00:00Z&end=2020-04-26T23:59:59Z
(with example dates in their for the purpose of discussion).
Is there a better way to do this from outside of Salesforce? I'm writing a script to integrate my application with Salesforce.
CampaignMember
where CreatedDate is within daterange. what you have tells you when a Campaign was updated, not which members