Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Pagination for Account Import

pradeepv
New Contributor III
New Contributor III

Hi,

I was importing accounts form target application, where post call will return only 10 records per call. 
application has 5k+ records. Could you please share the snippet for pagination to address this.

Attached the Account import json for reference.

Response for GET call.

{
    "schemas": [
        "urn:ietf:params:scim:api:messages:2.0:ListResponse"
    ],
    "id": null,
    "externalId": null,
    "meta": null,
    "totalResults": 10,
    "Resources": [
2 REPLIES 2

sudeshjaiswal
Saviynt Employee
Saviynt Employee

Hello @pradeepv ,

How does Saviynt determine the total number of records in the target application?

We need the total count of records available in one of the attributes to handle pagination.
Do you have a next page URL or a page number attribute available?

Thanks.

If you find the above response useful, Kindly Mark it as "Accept As Solution".

pradeepv
New Contributor III
New Contributor III

Hi @sudeshjaiswal 

Thanks for the response, appreciated! will check and update.