Entitlement Mapping

jezzanuena
Regular Contributor
Regular Contributor

Hello! We are trying to do account-entitlement mapping but we can't get the right results.

Here is the postman result:

jezzanuena_0-1676009820160.png

Here is the JSON:

"acctEntParams": {
"entTypes": {
"Groups": {
"call": {
"call1": {
"connection": "acctAuth",
"callOrder": 0,
"stageNumber": 1,
"processingType": "httpEntToAcct",
"http": {
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"url": "https://xxxxxxxxxxxxxxxxxxx/groups/?groupId=${id}",
"httpContentType": "application/x-www-form-urlencoded",
"httpMethod": "GET"
},
"listField": "users",
"entKeyField": "entitlementID",
"acctIdPath": "userId",
"acctKeyField": "accountID"
}
}
},
"Permision Profile": {
"call": {
"call1": {
"connection": "acctAuth",
"callOrder": 1,
"stageNumber": 1,
"processingType": "httpAcctToEnt",
"http": {
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json",
"httpContentType": "application/x-www-form-urlencoded"
},
"url": "https://xxxxxxxxxxxxxxxxxxx/permission_profiles/permissionProfileId=${id}?include=users",
"httpContentType": "application/x-www-form-urlencoded",
"httpMethod": "GET"
},
"listField": "",
"entIdPath": "permissionProfileId",
"entKeyField": "entitlementID",
"acctKeyField": "accountID"
}
}

 

The result is Saviynt is it is listing all the active users even those not members of the profile.

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

Try changing entitlement type name , name without space


Regards,
Rushikesh Vartak
If the response is helpful, please click Accept As Solution and kudos it.

jezzanuena
Regular Contributor
Regular Contributor

Didn't work though. Now, all entitlements do not have accounts in them contradicting what I am getting in Postman.

Darshanjain
Saviynt Employee
Saviynt Employee

Can you try with this

"acctEntParams": {
"entTypes": {
"Groups": {
"call": {
"call1": {
"connection": "acctAuth",
"callOrder": 0,
"stageNumber": 1,
"processingType": "httpEntToAcct",
"http": {
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"url": "https://xxxxxxxxxxxxxxxxxxx/groups/?groupId=${id}",
"httpContentType": "application/x-www-form-urlencoded",
"httpMethod": "GET"
},
"listField": "users",
"entKeyField": "entitlementID",
"acctIdPath": "userId",
"acctKeyField": "accountID"
}
}
},
"Permision Profile": {
"call": {
"call1": {
"connection": "acctAuth",
"callOrder": 1,
"stageNumber": 1,
"processingType": "httpAcctToEnt",
"http": {
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json",
"httpContentType": "application/x-www-form-urlencoded"
},
"url": "https://xxxxxxxxxxxxxxxxxxx/permission_profiles/permissionProfileId=${id}?include=users",
"httpContentType": "application/x-www-form-urlencoded",
"httpMethod": "GET"
},
"listField": "",
"acctIdPath": "users.userId",
"entKeyField": "entitlementID",
"acctKeyField": "accountID"
}
}