Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/20/2023 11:40 PM
Hello,
I am trying to do an account import which returns only 100 records at a time. To get the next set of records(page 2), I will have to pass "startRecord":101 in the headers. How do I achieve this dynamically using PageWithHttpParamsAndHeaders in the json?
I tried "offset" and "nextUrl" types but these types will append parameters to the URL which is not what I'm looking for.
The below json needs to be corrected -
"pagination": {
"PageWithHttpParamsAndHeaders": {
"pageSizeParam": "startRecord",
"pageSize": 100,
"firstPageNumber": 1,
"pageRecordCount": "objectList",
"totalCountPath": "headers.x-totalCount",
"paginationLocation": "httpHeaders"
}
09/21/2023 12:12 AM
Hello @MeghaSanjanaR,
Passing the pagination parameter in the header is currently not supported.
But this improvement is in the roadmap.
Thanks,