REST Get Activities blank results | Community
Skip to main content
New Participant
June 18, 2024
Solved

REST Get Activities blank results

  • June 18, 2024
  • 1 reply
  • 1377 views

Hi everyone,

 

We are trying to get the form fill out activity details for members of static lists and due to some reason it does not run the api call successfully when adding the listid parameter and if list id parameter is removed it does pull the information but it is limited to 300 records only.

 

we are able to run following call successfully:

sample call that is working without list id : base_url/rest/v1/activities.json?nextPageToken=xyz&activityTypeIds=1,2,3

 

following call is not working as expected and it returns the nextpage token when running following call :

Expected call : base_url/rest/v1/activities.json?nextPageToken=xyz&activityTypeIds=1,2,3&listId=1234

 

any suggestions will be appreciated

 

 

 

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 SanfordWhiteman

Nothing unexpected here. You have to follow the chain of nextPageToken values. And some pages are empty because of the way the log is scanned, so you just continue to the next one.

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
June 18, 2024

Nothing unexpected here. You have to follow the chain of nextPageToken values. And some pages are empty because of the way the log is scanned, so you just continue to the next one.

amishraAuthor
New Participant
June 18, 2024

ah got it! Thank you very much 🙂