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

ADP Feed not pulling data more than 100

indra_hema_95
Regular Contributor III
Regular Contributor III

Hi,

We are using ADP for user import. We have defined the pagination as this,


"pagination": {
"offset": {
"offsetParam": "offset",
"batchParam": "limit",
"batchSize": 200,
"totalCountPath": "completeResponseMap.meta.totalNumber"
}
},

Still it is not picking up not more than 100 users.

How this can be fixed?

Regards,

Indranil

6 REPLIES 6

rushikeshvartak
All-Star
All-Star

Please share postman screenshot and curl command [Refer https://codingnconcepts.com/postman/how-to-generate-curl-command-from-postman/ ]
⚠️‼️‼️Do not upload any attachments that contain sensitive information, such as IP Addresses, URLs, Company/Employee Names, Email Addresses, etc.‼️‼️⚠️


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

indra_hema_95_0-1718690716459.png

Regards,

Indranil

NM
Honored Contributor II
Honored Contributor II

Hi @indra_hema_95 , can you also share postman response.

indra_hema_95
Regular Contributor III
Regular Contributor III

The postman response is 200, which is fine but the problem is, it is only returning 100 records only. We are not using pagination in postman, we are using pagination in adp user import json in saviynt. And as per mentioned above in the post that is not working as expected.

Regards,

Indranil

NM
Honored Contributor II
Honored Contributor II

Need to see the response for pagination.

indra_hema_95
Regular Contributor III
Regular Contributor III

Basically, we are hitting the URL in offset and limit type of pagination. At first, we are hittinghttps://accounts.adp.com/hr/v2/workers?offset=0&limit=100.

Then we are hittinghttps://accounts.adp.com/hr/v2/workers?offset=100&limit=100and so on.

So, this we are doing manually in postman iterating 100 users in offset, but saviynt should take care of this automatically in pagination section. The pagination in saviynt is: 
"pagination": {
"offset": {
"offsetParam": "offset",
"batchParam": "limit",
"batchSize": 100,
"totalCountPath": "3000"
}
}

Since the totalCountPath(total number of users) is not coming in the API response, we have given the upper most limit of the total users present in ADP.
Once we run the import we only get first 100 users only, and we see this response in the logs:

2024-07-02T13:05:28+05:30-ecm-worker-rest.RestProvisioningService-quartzScheduler_Worker-9-dttdc-DEBUG-Calling Webservice Url - https://accounts.adp.com/hr/v2/workers?offset=0&limit=100 with httpParams - null

Saviynt is not able to fetch users after offset=0

Regards,

Indranil