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

Can we change the POST API method to GET API method for "Fetch Analytics Details ES" API

Bharadwaj
Regular Contributor
Regular Contributor

Hi,

We have a case where the customer is calling Saviynt APIs using GRAPH API for doing certain transactions. They are trying to call "Fetch Analytics Details ES" (fetchControlDetailsES) API and below are the API details:

Method: GET

URL: {{url}}/ECM/{{path}}/fetchControlDetailsES

Sample Body: {
"analyticsid":"6",
"filtercriteria": {
"status":["Accept"],
"username": [
"dbailey",
"acook",
"crichards"
],
"email": [
"john.doe@sav.com",
"test.user@sav.com"
],
"logindate": [
"Feb 03, 2016 00:00:00",
"Feb 08, 2016 00:00:00"
]
},
"max":"4",
"offset":"0",
"loggedinuser":"admin"
}

 
There is a challenge that the HTTP RFC call cannot include JSON in the body using the GET method(https://www.thecodebuzz.com/http-get-delete-request-body-guidelines/#aioseo-rfc-specification). We want to know if there is some workaround we could do to change the GET method to POST method and by making some changes to the URL by including the filters such as rolename etc (example provided below):
 
/ECM/api/v5/fetchControlDetailsES?Analyticsname= A1_ALL_ROLES&ROLENAME=role_name_here
 
Please let me know.
 
Thanks,
Bharadwaj
2 REPLIES 2

rushikeshvartak
All-Star
All-Star

No . this are product default api. Please raise idea ticket in this case


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

RakeshMG
Saviynt Employee
Saviynt Employee

The API mentioned with the parameters can be only used, we cannot modify the attributes:

API Doc link : https://documenter.getpostman.com/view/20697337/2s935smLj6


​Regards

Rakesh M Goudar