Pagination not working for ADP REST connector

GElliston
New Contributor
New Contributor

I am working on the ADP integration guide - https://docs-be.saviyntcloud.com/bundle/EIC-Connectors/page/Content/Resources/Attachments/ADPHRInteg...

 

I have been able to import the first 100 users however I have not been able to get anything beyond that. 

"pagination":
{
"offset":
{

"offsetParam":"offset",

"batchParam":"limit",

"batchSize":100,

"totalCountPath": "meta.totalNumber"
}
},

When I run the same API in postman it returns 1780 as the totalNumber.  I have tried to put that in manually but the same results.  The first 100 users are imported and then it completes.  

 

1 REPLY 1

sahil
Saviynt Employee
Saviynt Employee

You can refer to the below REST guide to check for different examples of pagination and based on the api response of the call, you can construct the logic.

https://docs.saviyntcloud.com/bundle/REST-v2022x/page/Content/Developers-Handbook.htm

Also since this is a REST integration, you can update ConfigJSON param in the connection with value {"showLogs":true}.
This will enable additional logging and may help to identify the cause.


Regards,
Sahil