and more in a single search tool across platforms. Read the announcement here. |
10/17/2022 06:08 AM
Hi,
We are trying to import entitlements Oracle Fusion Application using REST Connector. Oracle Fusion Entitlements API returns only 500 records per page.
To get the remaining Entitlement values in postman we are using below format:
URL/hcmRestApi/scim/Roles?sortBy=name&count=500&startIndex=1
URL/hcmRestApi/scim/Roles?sortBy=name&count=500&startIndex=501
URL/hcmRestApi/scim/Roles?sortBy=name&count=500&startIndex=1001
and so on.
We want to achieve this thing using saviynt REST Connector Pagination Concept.
We tried below pagination in below format:
"pagination": {
"offset": {
"offsetParam": "startIndex",
"batchParam": "count",
"batchSize": 500,
"totalCountPath": "completeResponseMap.totalResults"
}
}
"pagination": {
"offset": {
"offsetParam": "startIndex",
"batchParam": "count",
"batchSize": 500,
"totalCountPath": {
"connection": "acctAuth",
"http": {
"url": "URL/hcmRestApi/scim/Roles",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"httpMethod": "GET"
}
}
}
}
"pagination": {
"offset": {
"offsetParam": "offset",
"batchParam": "limit",
"batchSize": 500,
"totalCountPath": {
"connection": "acctAuth",
"http": {
"url": "URL/hcmRestApi/scim/Roles",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"totalCountPath": "totalResults"
}
}
}
We are unable to import all the Entitlements.
We are getting below response in postman
10/17/2022 07:22 AM
Please refer example of pagination (Example 4)
https://saviynt.freshdesk.com/support/solutions/articles/43000521736-rest-connector-guide%C2%A0