Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Create a task using the Saviynt API

JPMac
Regular Contributor II
Regular Contributor II

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?

JPMac_0-1727829960224.png

Regards,

4 REPLIES 4

Amit_Malik
Valued Contributor II
Valued Contributor II

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

Kind Regards,
Amit Malik
If this helped you move forward, please click on the "Kudos" button.
If this answers your query, please select "Accept As Solution".

JPMac
Regular Contributor II
Regular Contributor II

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.

JPMac_0-1727862285799.png

Regards,

Riku Yamada

Amit_Malik
Valued Contributor II
Valued Contributor II

{{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

Kind Regards,
Amit Malik
If this helped you move forward, please click on the "Kudos" button.
If this answers your query, please select "Accept As Solution".

JPMac
Regular Contributor II
Regular Contributor II

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,