REST Get Lead Activities startPosition? | Community
Skip to main content
March 21, 2015
Solved

REST Get Lead Activities startPosition?

  • March 21, 2015
  • 2 replies
  • 883 views
I tried this api many variations, but I can not understand start position rule.
My latest call returns successful but result's activity field is empty.
I'm looking for how to specify date range or start position likes SOAP startPosition->activityCreatedAt, startPosition->latestCreatedAt etc.

http://developers.marketo.com/documentation/rest/get-lead-activities/
The primary use case for this API to find leads in your Marketo lead database that match requested activity types in a specified date range

Is that true?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by
You can only specify the starting date range using the Paging Token that is used with the Get Lead Activities call:
http://developers.marketo.com/documentation/rest/get-paging-token/

Then, you would have to iterate through the results set until you reach the range needed. 

 

2 replies

Accepted solution
March 24, 2015
You can only specify the starting date range using the Paging Token that is used with the Get Lead Activities call:
http://developers.marketo.com/documentation/rest/get-paging-token/

Then, you would have to iterate through the results set until you reach the range needed. 

 
March 24, 2015
Hi Murtza
I had misunderstood startDatetime parameter in Get Paging Token.
I did not know first paging token effects returning activities!
Thank you!!!