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

Issue on entitlement owner and nested Group using Rest API

SR
New Contributor
New Contributor

I am looking for an option to map group owners directly from REST api call. I am using acctEntParams field in entitlmentparams of importaccountentjson.

Below response of the REST API. In the json response ListOwner attribute shows the owner of that group . Currently I have populated the account username value in customproperty2 of that owner in saviynt.

 

 

suneelrawat_2-1722979270212.png

 

"acctEntParams": {
"entTypes": {
"Groups": {
"call": {
"call1": {
"processingType": "httpEntToAcct",
"connection": "acctAuth",
"callOrder": 0,
"stageNumber": 1,
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": http://XXXXXXXXXXX/names.nsf/api/data/documents/unid/${id},
"httpContentType": "application/x-www-form-urlencoded",
"httpMethod": "GET"
},
"listField": "Members",
"acctKeyField": "customproperty2",
"entKeyField": "entitlementID",
"ownerIdPath": "ListOwner",
"ownerKeyField": "customproperty2"
}
}
}
}
},
"entMappingParams": {
"processingType": "SequentialAndIterative",
"entTypes": {
"Groups": {
"ent1KeyField": "entitlementID",
"call": {
"call1": {
"connection": "acctAuth",
"callOrder": 0,
"stageNumber": 0,
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": http://XXXXXXXXXXX/names.nsf/api/data/documents/unid/${id},
"httpContentType": "application/x-www-form-urlencoded",
"httpMethod": "GET"
},
"listField": "",
"ent1IdPath": "ListName",
"ent2IdPath": "Members[]",
"ent2KeyField": "entitlementID",
"targetEntType": "Groups",
"mappingTypes": [
"ENT2"
]
}
}
}
}
}

we are able to map the accounts to Entitlement but still facing the issue to map the nested Entitlements and Entitlement Owner. 

 

6 REPLIES 6

rushikeshvartak
All-Star
All-Star

Refer https://forums.saviynt.com/t5/identity-governance/mapping-servicenow-entitlement-owner-using-rest-ap... 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

How to map the nested groups as shown in above postman output? 

Refer above post and prepare draft json.


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Above example is for Entitlement Owner and but I am looking for nested Entitlements Examples as per shown in Postman output.

Entitlement detail rest api show the Accounts map to that Entitlement and nested groups. 

Nested Group Output in Postman using EntAcc Rest APi.

suneelrawat_1-1723473208686.png

 

Nested Group JSON-

suneelrawat_0-1723473052149.png

 

 

 

Share logs with above configuration and share JSON in text format


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

mmomin-xalient
New Contributor III
New Contributor III

Was this resolved? I am also having same issue and would like to know if you're able to fix this