and more in a single search tool across platforms. Read the announcement here. |
10/26/2023 07:20 AM - last edited on 10/26/2023 10:40 AM by Dave
Hi All,
We are trying to integrate with a application we were able to import the accounts and groups but have issue with account to entitlement association. Did some one seen this format before and was able to get the association working. Below is the response format we are getting from target application.
CP31 - {"Roles":{"entIds":["[Read Only,Mailbox Browser]"],"keyField":"entitlementID"}}
Account import Sample Response -
[
{
__PRESENT
Json -
{
"accountParams": {
"acctEntMappings": {
"Roles": {
"idPath": "groups.name",
"keyField": "entitlementID",
"listPath": ""
}
},
"call": {
"call1": {
"callOrder": 0,
"colsToPropsMap": {
"accountID": "userId~#~char",
"name": "userId~#~char",
"customproperty31": "STORE#ACC#ENT#MAPPINGINFO~#~char"
},
"http": {
"httpContentType": "application/json",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpMethod": "GET",
"url": ""
},
"keyField": "accountID",
"listField": "",
"idPath": "userId",
"stageNumber": 0
}
},
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"accountThresholdValue": 50,
"activeStatus": [
"true"
],
"correlateInactiveAccounts": false,
"deleteLinks": true,
"inactivateAccountsNotInFile": true,
"statusColumn": "customproperty11"
}
},
"acctEntParams": {
"processingType": "acctToEntMapping"
},
"entitlementParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"entTypes": {
"Roles": {
"entTypeOrder": 0,
"call": {
"call2": {
"callOrder": 1,
"colsToPropsMap": {
"entitlement_value": "groupName~#~char",
"entitlementID": "groupName~#~char"
},
"http": {
"httpContentType": "application/json",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpMethod": "GET",
"url": ""
},
"keyField": "entitlementID",
"listField": "",
"idPath": "groupName"
}
}
}
}
}
}
[This post has been edited by a Moderator to merge two posts.]
10/30/2023 11:15 PM
Hi @Vamsi
In the acctEntParams section can you add the list field as the entitlement id is coming with double square brackets and thats causing the issue.
{"Roles":{"entIds":["[Read Only,Mailbox Browser]"],"keyField":"entitlementID"}}
In the list field- Try to add the array format [0] and see if you are able to map it.
Thanks
Darshan