Leveraging Intelligent Recommendations for Operational Transformation. AMS Partners click HERE | EMEA/APJ Partners click HERE |
09/11/2023 12:05 PM
offset pagination is not working.
API request/response from Postman:
totalnumber in the above remains same for all the requests.
Saviynt REst connector: Tried both the formats:
"pagination": {
"offset": {
"offsetParam": "$skip",
"batchParam": "$top",
"batchSize": 100,
"totalCountPath": "9999999999999999999"
}
}
=============================
"pagination": {
"offset": {
"offsetParam": "$skip",
"batchParam": "$top",
"batchSize": 100,
"totalCountPath": "meta.totalNumber"
}
}
Solved! Go to Solution.
09/11/2023 01:04 PM
Hi @iam01 ,
It seems you're missing the "completeResponseMap" to call the response in your "totalCount" parameter.
You may try the sample below and let us know if this helps you resolve the issue :
"totalCountPath":"completeResponseMap.meta.totalNumber"
09/11/2023 06:58 PM
@adriencosson i will give a try, however it should work when I hardcode the totalcountpath to a number right?
09/11/2023 07:14 PM
Yes
09/11/2023 08:05 PM
Its seem there is bug and support team is working on it
https://forums.saviynt.com/t5/identity-governance/sap-successfactor-pagination-not-working/m-p/33893
Thanks @adriencosson @rushikeshvartak