Click HERE to see how Saviynt Intelligence is transforming the industry. |
05/13/2024 06:08 AM
Hello World,
So, I want to change the "Risk" and "Privileged" value of Entitlement :
In API this is what I am sending in Request Body and getting this Response body, In Header I have given bearer token and content-type.
Even if in response body it is showing successful in saving,
you can see the risk and privileged value they have not setted properly,
As I have sent Risk = 1 (Very Low), Privileged = 3 (Medium).
Even in Saviynt UI it is showing "None" in both of the column after hiting the API endpoint :
Can anyone guide me out here, is this a bug in saviynt API or am I doing something incorrect way ?
Solved! Go to Solution.
05/13/2024 09:24 PM
This looks like defect.
You can set values from 0 to 5 but using API it sets 48-53 hence its not visible on UI.
Also API response contains typo
05/17/2024 07:22 AM - edited 05/17/2024 07:25 AM
Hi @rushikeshvartak ,
It is not a defect actually,
I just noticed that I was a mistake of mine.
I am not passing the correct value in Parameter,
So If you notice that , In Risk and Priviledge I am giving value something like : "2" and "3".
This is where problem lies, These are Integer Value and we are passing it as String.
So that's Why API is not giving correct Output.
As Soon as I corrected it, It worked Perfectly.
Here is the Example of Response Body I got :
The output in Saviynt UI :
But one thing is Incorrect that is the spelling mistake of "privilege" in API
05/17/2024 07:29 AM
Irrespective api should not updated wrong or non- permutable values in database