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

fetchRuntimeControlsDataV2 API running report every time

RBKHC
New Contributor II
New Contributor II

Version 2020.1.2 (Not selectable in drop down for Product Version)

When calling the fetchRuntimeControlsDataV2 API it is re-running the report every time we call the API to get additional records. The report has 45K records in it an the maximum it returns per call is 10K (as expected). When calling subsequent requests with the offset it re-runs the report each time. Is there a way to not re-run the report each time?

Saviynt Security Manager API Reference v5.5SP5/v2020.1

https://client.saviyntcloud.com/ECM/api/v5/fetchRuntimeControlsDataV2

Body '{"analyticsid": "366","requestor": "your account", "max": "60000"}'
Additional calls for paging:
Body {"analyticsid": "366","requestor": "your account", "max": "60000", "offset": "${TotalReceived}"}

 

2 REPLIES 2

sahajranajee
Saviynt Employee
Saviynt Employee

Hi @RBKHC ,

This is expected since its a runtime report , so everytime you call it, it gets executed.

What you could do instead is build a v2 report and then use the 'runAnalyticsControls' API to run the Analytics and generate the data.
Then call the 'fetchControlDetailsES' api and retrieve data from it.

API Documentation : https://documenter.getpostman.com/view/1797923/UUxwBoms?version=latest


Regards,
Sahaj Ranajee
Sr. Product Specialist

RBKHC
New Contributor II
New Contributor II

Thanks @sahajranajee that worked!