Request to Exceed the response limit

Akumar00
New Contributor
New Contributor
Hello Team,

We are observing that the output response from these APIs are limited to 500 when fetched.

 
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

3 REPLIES 3

armaanzahir
Valued Contributor
Valued Contributor

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

Regards,
Md Armaan Zahir

pmahalle
Valued Contributor II
Valued Contributor II

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.


Regards,

Pandharinath Mahalle(Paddy)
If this reply answered your question, please Accept it As Solution to help others who may have a similar problem.

dgandhi
All-Star
All-Star

Below response from Saviynt team :

Default values are 500, you can increase up to 10000. This is the upper limit. 
if you have more records you can use pagination ( offset ).
 
 
Thanks,
Devang Gandhi
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.