11/21/2022 01:56 AM - last edited on 11/21/2022 09:06 AM by Dave
Hi Team,
We are facing issue with account entitlement mapping for one of the REST based application.
We have imported accounts and entitlements successfully. but the mapping in between them is not happening.
Kindly help us with the JSON.
and below is the JSON we tried for account-ent mapping
"acctEntParams": {
"connection": "userAuth",
"entTypes": {
"clearance-geopolitical": {
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"processingType": "httpAcctToEnt",
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": "https://dev-xxx-api.xx-00000xx.npause1.xxxxxxxx.com/api/v1/clearance/list",
"httpContentType": "application/json",
"httpMethod": "POST",
"httpParams": "{\"users\": [\"${id}\"]}"
},
"listField": "",
"entKeyField": "entitlementID",
"acctKeyField": "accountID",
"entIdPath": "countryClearance"
}
}
}
}
}
Thanks,
Srividya
11/21/2022 06:31 AM
Hi Team,
can we have update on this please..?
11/21/2022 09:03 AM
Please share postman response for API
Note : avoid sharing client urls on public forum
11/21/2022 09:25 AM
Hi vartak,
Please check the below API response.
11/21/2022 09:42 AM
Value is coming in array can you try below
"entIdPath": "countryClearance[0]"
11/22/2022 05:17 AM
Hello Vartak,
Thanks for your suggestion, but it did not work only the last entitlement is adding to all users.
Can you please check again.
Thanks,
Srividya
11/23/2022 07:15 AM
Hi Vartak,
Can you please suggest?