Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Update entitlement map

prachi
Regular Contributor II
Regular Contributor II

Hi,

We have a requirement where we want to add the entitlement map, which needs to be refreshed on the daily basis. we can create a report and provide parent entitlement and the entitlement map value and endpoints details in an analytics but how do we achieve it?

Is there any way to achieve this?

 

6 REPLIES 6

rushikeshvartak
All-Star
All-Star

Use sav4sav connector and update using saviynt rest api

Refer Saviynt API Documentation https://docs.saviyntcloud.com/bundle/API-Reference-Guide/page/Content/API-References.htm


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

AmitM
Valued Contributor
Valued Contributor

Hi @prachi , you can call an external Jar that will first runs analytic , then fetch analytics data, build JSON and then call update entitlement API to update map.

First Call : SAVIYNT_RUN_ANALYTICS=https://abcd-dev-support.saviyntcloud.com/ECM/api/v5/runAnalyticsControls
Second Call : SAVIYNT_FETCH_ANALYTICS=https://abcd-dev-support.saviyntcloud.com/ECM/api/v5/fetchControlDetailsES

Third Call : SAVIYNT_UPDATE_ENTITLEMENT=https://abcd-dev2-support.saviyntcloud.com/ECM/api/v5/createUpdateEntitlement

 

https://documenter.getpostman.com/view/23973797/2sA3JGdi27

 

Thanks,

Amit

If this answers your query, Please ACCEPT SOLUTION and give KUDOS.

This does not need 3 calls only 2 calls are sufficient ( create runtime analytics)


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Thanks for highlighting that :

runtime is generally used when an input is expected from caller (UI or API). If there is no input , I would prefer to use standard. 

Also, if run time to be used - {{url}}/ECM/{{path}}/fetchRuntimeControlsDataV2 , most probably v2 one to be used

NM
Valued Contributor
Valued Contributor

Hi @AmitM @rushikeshvartak , do you have a sample code . We also have the same requiremen

Can we get access token for saviynt and where to store username and password or client ID or secret.

Store in connection json

https://forums.saviynt.com/t5/saviynt-knowledge-base/how-to-mask-password-in-rest-connector-json-by-...


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.