Click HERE to see how Saviynt Intelligence is transforming the industry. |
10/01/2024 05:49 PM
We can execute the API to Saviynt externally and create a task to add an entitlement.
{{URL}}/ECM/{{path}}/createtask
This API is executed for one user/one account, but is it possible to create a task to add an entitlement for multiple users/multiple accounts with one API?
Regards,
Solved! Go to Solution.
10/02/2024 01:20 AM - edited 10/02/2024 01:20 AM
You can use {{url}}/ECM/{{path}}/createrequest - Request to Add Entitlement to User. Workflow can be auto approved and this will create tasks straight away and also supports multiple entitlements in one request.
If the workflow is already used, for above apis you can pass a DA with API call and if that DA is coming , auto approve in workflow. Keep that DA non editable for UI form or hide it
10/02/2024 02:46 AM
Hi @Amit_Malik
Thanks for your response.
How do I write the body to make multiple requests in one API execution?
When I wrote and executed as shown in the image, the first task was generated, but the second task was not.
Regards,
Riku Yamada
10/02/2024 02:55 AM - edited 10/02/2024 02:55 AM
{{url}}/ECM/{{path}}/createrequest , have you tried this Api? it supports multiple ents in one API call
"entitlement":[ {"entitlementtype":"Access","entitlementvalue":"EntVal1","startdate":"10-11-2018","enddate":"12-05-2018","businessjustification":"test business justification" }, {"entitlementtype":"Access","entitlementvalue":"EntVal2"}
/Createtask API only creates task only for one ent in my knowledge
10/02/2024 03:04 AM
Hi amit,
Thanks for your response.
It's not working. I tried but it didn't work.
I understood that one API request is needed for one task.
Regards,