Click HERE to see how Saviynt Intelligence is transforming the industry. |
06/13/2024 09:12 AM
Hi All,
We have a requirement to onboard a HR application Sage.
This application's API requires the "id" value from the last item in the response.
Is there a way to implement this type of pagination in Saviynt rest connector.
Eg:
Below us First Page of response, we need to pass the "id" of the last item of this page in next page's url:
Above id has to be passed in url of next page call "Marker":
{instanceURL}/services/apexrest/spapi/{version}/bonuses?marker={marker}
Regards,
Abhay Yadav
06/16/2024 11:21 PM
Hi @Abhay_Yadav
Please refer to the REST connector's developer for supported ways of pagination.
Developers Handbook (saviyntcloud.com)
Regards,
Dhruv Sharma
06/16/2024 11:33 PM - edited 06/16/2024 11:34 PM
Hi @Abhay_Yadav , do we have field "lastitem" for the last response in the API? And which application?
06/16/2024 11:51 PM
Hi NM,
No, there is no last item field in the response. This is Sage hr application. This is the documentation.
https://developer.sage.com/people/reference/#tag/Employee/operation/employees
06/17/2024 02:42 AM
Hi @Abhay_Yadav , I don't think so that is possible you have to do multiple calls to get the data.