3 Replies Latest reply on Oct 23, 2017 10:06 AM by Sanford Whiteman

    Missing data from Marketo activities

    Shiran Grinstein

      We want to pull all Marketo activities but I don't why we just get partial data.

      I will write my scenario.

      I want to extract all the email delivered activity meaning activity Type Id=7 for example since 09-25-17 so first I sent the following call to get the next_page_token

      https://891-VEY-973.mktorest.com/rest/v1/activities/pagingtoken.json?access_token=XX&sinceDatetime=2017-09-24T15:00:00Z

      After I have the next_page_token I am calling to the specific activity Type Id with the next_page_token I got.

      https://891-VEY-973.mktorest.com/rest/v1/activities.json?access_token=XX&nextPageToken=YY&activityTypeIds=7

      and each time I  continue to call the next page if the 'moreResults' = true, I stopped when 'moreResults' = false.

      https://891-VEY-973.mktorest.com/rest/v1/activities.json?access_token=XX&nextPageToken=KETE6A====&activityTypeIds=7

      https://891-VEY-973.mktorest.com/rest/v1/activities.json?access_token=XX&nextPageToken=KEOQ====&activityTypeIds=7

      ...

      ...

       

      Do I do it right? Why do we get just 90,000 rows when we have 200,000 in the UI??

       

      Thanks a lot!

      Shiran