SOLVED

Re: Custom instance-based URL

Go to solution
Recho
Level 3

REST Get Activities blank results

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

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Custom instance-based URL

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.

View solution in original post

2 REPLIES 2
SanfordWhiteman
Level 10 - Community Moderator

Re: Custom instance-based URL

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.

Recho
Level 3

Re: Custom instance-based URL

ah got it! Thank you very much 🙂