Click HERE to see how Saviynt Intelligence is transforming the industry. |
05/29/2024 06:48 AM
05/29/2024 07:46 AM
Hi @rabaral ,
I don't think {url}}/ECM/{{path}}/createUpdateEntitlement API has payload to update multiple entitlements. I don't see anything related in documentations for other APIs too.
________________________________________________________________________________________
But there is a workaround. Use postman runner to achieve the above case.
Generate a token and use Saviynt API: https://<#######>/ECM/api/v5/createUpdateEntitlement
with the below body: (Documentation on API 24.2)
{
"endpoint": "Application/endpointname",
"entitlementtype": " memberOf",
"entitlement_value": "{{entitlementvalue}}"
}
Create a csv file of entitlements with a column entitlementvalue
Note: If you have different endpoint and entitlementtype for an entitlement, please include this in file and also make it dynamic in the postman body.
Go to postman runner (click on the bottom icon runner)
Add the API call request/or add the collection and just select the API request (here it's create/update entitlement). Select file to add your mapping .csv file. Give a delay on every update to Saviynt. Run it!
For reference on postman runner - Use this link Test your API using the Collection Runner | Postman Learning Center
If this answers your question, please consider selecting Accept As Solution and hit Kudos
06/03/2024 07:47 AM
Hi @PremMahadikar ,
Thanks for the solution, but I am trying to integrate the API with my application, so I am looking for a solution to push either a csv file for creating new entitlements for an endpoint or pass it as an array in the payload.
Please let me know if there is any work around.
06/03/2024 11:02 AM
06/11/2024 06:24 AM
Hi @rushikeshvartak for this awesome steps, but after importing the csv file into datafiles,
I tried creating a JOB in Saviynt on Saviynt portal.
Am not seeing any option to set file name, as a result it's throwing error when I run it.
06/11/2024 06:41 AM
Share file uploaded screenshot. Need to validate naming conventions
06/11/2024 06:36 AM
@rabaral ,
Check this documentation - Uploading Entitlements using Schema Based Upload (saviyntcloud.com)
What may be missing here is - SAV file
If this helps, please consider selecting Accept As Solution and hit Kudos
06/12/2024 01:47 AM
Thanks @PremMahadikar for the documentation. But we have some issue in our instance for which we are not able to see the SAV File option while creating the job through UI.
But if I try these using the JOB Control API,
can you please send me a sample payload or curl, how do I call a job to read my uploaded files to create entitlements for the desired endpoint.
06/13/2024 10:25 PM
Can you share screenshot of Job
06/13/2024 11:42 PM
Hi @rushikeshvartak
I don't have a job. I want to create and call a job through APIs to create these entitlements.
So if you could help me with what payload I have to pass below ?
Like here, what do I pass to create a job that intakes our sav file to create entitlements.
06/15/2024 10:34 PM