Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

How can I add pagination to Fetch Runtime Controls Data API (/fetchControlDetailsES)?

Connoru23
New Contributor II
New Contributor II

Team - We are trying to allow an external system to fetch analytics data (Runtime and Regular) from Saviynt and we need to implement pagination within these calls because the record count is around 5K? 

API Regular: /ECM/api/v5/fetchControlDetailsES

API Runtime: /ECM/api/v5/fetchRuntimeControlsDataV2

What is the expectation for the headers/body to accomodate the offset parameter in the response?

Any information will be helpful. 

Thanks!

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

Add in Body

{
"analyticsid":"1990",
    "max":"100",
    "offset":"0",
    "loggedinuser":"admin"
}

rushikeshvartak_0-1713977499918.png

https://documenter.getpostman.com/view/23973797/2sA35K1fUa#e9890677-492a-4c01-b752-81bc62340015

 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

So the max amount that can be responded in a single call is 500 or 10000?

If it is 500, is there a recommended approach to integrating the pagination loop.

500 is max count

https://forums.saviynt.com/t5/identity-governance/how-can-i-run-fetch-runtime-controls-data-v2-api-t...


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.