REST Get Lead Activities API returns wrong result | Community
Skip to main content
January 1, 2015
Question

REST Get Lead Activities API returns wrong result

  • January 1, 2015
  • 7 replies
  • 2610 views
Hi all
My program uses REST Get Lead Activities from the list.
This list includes only one lead at same time but 3 leads activities are returned.
I think strange and try a few tests.
So when I change this list is empty, but api returns still same activities.
Why? Please give me an advice.

My Get Lead Activity Request
<REST API Endpoint URL>/rest/v1/activities.json?access_token=<Access Token>&activityTypeIds=1&activityTypeIds=2&activityTypeIds=3&activityTypeIds=6&activityTypeIds=13&batchSize=300&listid=<List ID>&nextPageToken=<Next Page Token>

Takehiro
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

7 replies

January 2, 2015
Just to clarify, is the API returning lead activities for leads that are not part of the list you specify?
January 4, 2015
Hi Murtza
YES!
I met this issue when  I was programing an APP beased on below REST strategy.
 

How can I get lead activities via REST as same as SOAP Get Lead Activities

https://community.marketo.com/MarketoDiscussionDetail?id=90650000000PztNAAS

This list include only one person per time. And other user can not use this list.
January 5, 2015
This could be a bug. 
Isaac_Lehr
Level 1
March 10, 2017

Takehiro,

I am facing the same issue with the 'listId' parameter not functioning as expected. Did Marketo support provide feedback/direction or were you able to find a solution to the issue?

Thanks in advance!

Isaac

SanfordWhiteman
Level 10
March 10, 2017

You should probably open a new thread.  Be very specific about the payload you're sending and what you're getting in the response.