Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/07/2024 02:20 AM
Hi,
We are using Saviynt APIs to create requests from ServiceNow. As part of this, one use case is to update certain attributes in the target system. To do this, I've set up dynamic attributes at the endpoint. The tasks get created for a new account when there is an application role request made using the API from ServiceNow ( {{url}}/ECM/{{path}}/createrequest ).
For the account modification scenario, we would like to call only dynamic attribute changes which will trigger "modify account request" in Saviynt and create an "update account" task once the request is approved.
Upon checking the API documentation, I don't see any API to create just the "modify account" request scenario. Has anyone come across a similar use case?
Any help is much appreciated.
Regards,
Naveen
Solved! Go to Solution.
08/08/2024 08:08 PM
Below request payload is working to just update the dynamic attributes. Closing the thread.
Request URL: {{url}}/ECM/{{path}}/createrequest
Request Body:
{
"requesttype":"ADD",
"username":"12345",
"endpoint":"Sample ED",
"securitysystem":"Sample SS",
"requestor":"admin",
"dynamicattr": {
"attr1":"abcd",
"attr2":"xyz"
}
}