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

Add an entitlement map using Api

AmitM
Valued Contributor
Valued Contributor

Hi All, 

Has anybody tried {{url}}/ECM/{{path}}/createUpdateEntitlement API call to set ent map?

I am using this API call 

{
  "endpoint":"Endpoint1",
  "entitlementtype":"AADGroup",
  "entitlement_value":"Ent1",
  "entitlementID":"test12355ggdgd555",
  "entitlementmap": [{"entitlementvalue":"Ent2",
"entitlementtype":"Groups",
"endpoint":"Endpoint2",
"requestfilter":true,
"excludeentitlement":true,
"adddependenttask":true,
"removedependententtask":true,
"updateType":"ADD"}]

}
 
response is
"msg": "Successful in saving entitlement map",
 
Now, if I query the ent or look it in UI, all the parameters that were set true comes false
AmitM_0-1715591589424.pngAmitM_1-1715591615377.png

 

Thanks,

 

 

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

Try for same endpoint 


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

PremMahadikar
Valued Contributor
Valued Contributor

Hi @AmitM ,

Please pass 1 (true) or 0 (false).

PremMahadikar_0-1715605087400.png

PremMahadikar_1-1715605121259.png

 

If this helps your question, please consider selecting Accept As Solution and hit Kudos

rushikeshvartak
All-Star
All-Star

Please find working 

rushikeshvartak_0-1715659734393.png

 

{
    "endpoint": "Azure_AD_MasterTest-Primary Accounts",
    "entitlementtype": "AADGroup",
    "entitlement_value": "Azure-DYN-Europe-Users",
    "entitlementmap": [
        {
            "entitlementvalue": "Teamsiteheadertest",
            "entitlementtype": "AADGroup",
            "endpoint": "Azure_AD_MasterTest-Primary Accounts",
            "requestfilter": 1,
            "excludeentitlement": 0,
            "adddependenttask": 0,
            "removedependententtask": 1,
            "updateType": "ADD"
        }
    ]
}

rushikeshvartak_1-1715659771211.png

 

 


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