Click HERE to see how Saviynt Intelligence is transforming the industry. |
12/22/2023 05:46 AM - edited 12/22/2023 05:49 AM
Hi All,
While performing import of accounts via REST, the API accepts PageNumber argument within the body like below
{
"loggedInUserID": 182833,
"loginUser": XXXXX,
"SourceSystem":xxxx,
"PageNUmber": 1
}
We would be receiving the total count of page numbers in the response which can be used to Increment the PageNumber value in the body.
How can we iterate the subsequent pages by passing payload within the body? so far, i have only noticed that pagination is only possible within the Query Parameters.
Can anyone suggest if this is possible to send / iterate pagination through BODY?
Thanks,
Nitish
12/26/2023 12:50 AM
Hi @ssrnitish
Please let me know if the below links helps.
Solved: Need pagination in REST if there is no pagination ... - Saviynt Forums - 33494
Developers Handbook (saviyntcloud.com)
Regards,
Dhruv Sharma
12/26/2023 02:13 AM
Hi @Dhruv_S ,
I already went through the Developer's handbook and other forum posts, but all those examples are related to Pagination via query Parameters within the URL.
But in our current integration, we should pass pagination parameters within BODY of the API call instead of sending parameters within the URL.
Couldn't find any samples or examples where pagination is implemented using BODY.
Thanks,
Nitish
12/27/2023 12:11 AM
12/27/2023 12:17 AM
Hi @Dhruv_S ,
Yes, we were able to achieve this in Postman. We will modify the page number in the body and invoke the API as per below.
Note: We are no where sending the pagination information in the URL.
Thanks,
Nitish
12/27/2023 02:28 AM
Hi @ssrnitish
Pagination in body is currently not supported. There is an enhancement in consideration for the same.
Regards,
Dhruv Sharma
If the response is helpful, please click Accept As Solution and kudos it.
12/27/2023 07:16 AM
Any idea ticket?
12/27/2023 09:28 PM