Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I try to use Qlik Sense Desktop (3.1 SR4) Rest connector with Zendesk to get all Zendesk users.
But the pagination does not work, I only get the first 100 users.
(https://[company].zendesk.com/api/v2/users.json):
{
"users":[100]
,"next_page": "https://[company].zendesk.com/api/v2/users.json?page=2"
,"previous_page":null
,"count":1378}
}
Does ZenDesk limit it to 100?
Yes, Zendesk limit it to 100 per page.
I've experienced problems with pagination in the 3.1 R4 REST connector, try installing the rest connector off the qlik marketplace and see if it makes it difference.
You can use the custom option and use a loop to walk through the next pages:
Let total = Round(FieldValue('X-Total-Count',1)/100);
Let startAt = 1;
for startAt = 1 to total step
WITH CONNECTION(Url "https://doaj.org/api/v1/search/journals/page=$(startAt)");
Another option is using
- Pagination type: Next URL
- Field is: root/next_page
With "root/next_page" it worked fine for me
Hi,
If you or someone else got an example of your solution (something similiar) it would be great if you could share en extract of this? been trying both custom and "Next Url" types of pagination, but having problem to get more results than 100 (get pagination to work).
Br,
Henrik