Christopher_Greene | 2021-04-22 17:47:54 UTC | #1
Hi, In pulling conversation data, /api/v2/analytics/conversations/details/query, I know I can request only a 100 record pageSize at a time, but, can I request multiple pages ( pageNumber )? If I can only request one page ( pageNumber ) at a time, is it possible to know from the JSON payload delivered how many pages I have? Thanks for any assistance. Chris
anon11147534 | 2021-04-23 13:11:01 UTC | #2
Hi,
You must page through the responses to this API using the pageNumber value. The basic flow of paging through this API is:
- Send a request with pageNumber = 1
- While the response isn't
{}, increment pageNumber and send a request.
This API indicates no more records with an empty response ({}).
Christopher_Greene | 2021-04-23 13:11:34 UTC | #3
Very good. Thank you.
system | 2021-05-24 13:11:34 UTC | #4
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 10712