SOLVED

Re: REST Get Lead Activities startPosition?

Go to solution
Anonymous
Not applicable

REST Get Lead Activities startPosition?

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?
Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Re: REST Get Lead Activities startPosition?

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. 

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Re: REST Get Lead Activities startPosition?

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. 

 
Anonymous
Not applicable

Re: REST Get Lead Activities startPosition?

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