Leveraging Intelligent Recommendations for Operational Transformation. AMS Partners click HERE | EMEA/APJ Partners click HERE |
07/26/2024 03:11 AM
I have the below results from Postman. However, when I added the below pagination and ran the account import job, no accounts were being imported. Could someone assist me with this? Thank you!
"http": {
"url": "https://ABC.com/scim/v2/Users?scim_provisioned_only=false&include_inactive=true",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"pagination": {
"nextUrl": {
"nextUrlPath": "${response.completeResponseMap.itemsPerPage < 51? null : 'https://ABC.com/scim/v2/Users?scim_provisioned_only=false&include_inactive=true&startIndex=' + Math.addExact(response.completeResponseMap.itemsPerPage, response.completeResponseMap.startIndex) + '&count=' + response.completeResponseMap.itemsPerPage}"
}
}
Solved! Go to Solution.
07/26/2024 10:43 PM
Hi @mgandr can you share last page response. Plus for count you can give a constant value.
07/27/2024 07:00 AM
Refer https://forums.saviynt.com/t5/identity-governance/rest-connector-offset-pagination/m-p/43765#M25645
09/06/2024 01:14 AM
This has been fixed by including a count on the URL.
09/06/2024 05:42 AM
Please share fixed json