Click HERE to see how Saviynt Intelligence is transforming the industry. |
05/31/2024 06:36 AM
Issue : Configuring the Offset Pagination total CountPath attribute for the Rest connection in sample response that shows the total count of records in the attribute "totalcount" (see below)? Since this endpoint does not support Next Page URLs, offset-based pagination must be used.
I tried with below pagination but its able to retrive only 50 users.however using MAX, I able to retrieve only 500 users. Requirement is that all user should be in response , it should not restrict to 500 or less than that. API request/response from Postman:
"pagination": {
"offset": {
"offsetParam": "$skip",
"batchParam": "$top",
"batchSize": 100,
"totalCountPath": "${completeResponseMap.get('@totalcount')}"
}
"pagination": {
"offset": {
"offsetParam": "$skip",
"batchParam": "$top",
"batchSize": 100,
"totalCountPath": "9999999999999999999"
}
}
06/03/2024 08:40 PM
06/04/2024 09:06 AM
@Pandit
try with the below .if it does not work,pls share the entire json
"pagination": {
"offset": {
"offsetParam": "$skip",
"batchParam": "$top",
"batchSize": 100,
"totalCountPath": "completeResponseMap.totalcount"
}