07/18/2023 06:07 AM
POST | /fetchTasks | Fetch Provisioning Task Details | |
GET | /fetchControlDetailsES | Fetch Analytics Configuration results for all custom monitoring requirements |
We wanted the output from these API calls to have maximum 5000 and minimum 2000 records and not restrict itself to 500 or any lower number.
We wanted to test in UAT and understand from the team the complexities involved in achieving the requirement
We have fetched completedtasks from UAT and we got 100 records. The only payload was TASKSTATUS: COMPLETED. PFA for the same
07/18/2023 06:17 AM
Hi @Akumar00 ,
For Analytics related API's, you can use the config WS_MAX_RECORDS_RETURNED ( for V1) and WS_MAX_RECORDS_RETURNED_ANALYTICS_ES ( for V2) which is stored in the configurations table.
(fetchControlList,fetchControlDetails,fetchRuntimeControlsData,fetchRuntimeControlsDataV2,fetchControlListES,fetchControlDetailsES,fetchControlDetailsES)
(1) How to increase API max limit value - Saviynt Forums - 34092
The max limit is 10000, but you can always use pagination (offset).
Thanks,
Armaan
07/18/2023 06:54 AM
Hi @Akumar00 ,
You can get max 500 records at a time through API. In order get more, use pagination using offset as a query parameter in the API URL.
07/18/2023 08:01 AM
Below response from Saviynt team :