Find Leads Updated on Specific Date Ranges

September 24, 2014 | by

Let’s say you want to find leads that were updated on specific dates via the Marketo API. This is possible with the getMultipleLeads SOAP API. This method will return any leads with a data value change or new activity in Marketo for the date range you request.

For the leadSelector, you would specify LastUpdateAtSelector. Then, you would define the date ranges with oldestUpdatedAt and latestUpdatedAt time bounds. Please see the sample Request XML below, which shows you how to find leads that were updated between 12am PST on June 6, 2014 and 12am PST on June 7, 2014.

Note: the date range must not exceed 30 days.

Sample Request XML to Find Leads Updated by Date