and more in a single search tool across platforms. Read the announcement here. |
03/14/2024 11:36 PM
Hello,
We had configured the ImportAccEnt JSON for a REST Connection and the Accounts Entitlement Association was working as expected. No change was made on the connection or at the target system, but the correlation between Accounts and Entitlements randomly stopped working in both ITG and Dev env.
Accounts and Entitlements are getting imported as expected and the needed attributes are also getting imported as expected, but even while going through the logs, I can find reference of the accentparams being called.
ImportAccEntJSON
{
"accountParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"statusColumn": "customproperty11",
"activeStatus": [
"Active"
],
"deleteLinks": true,
"accountThresholdValue": 100,
"correlateInactiveAccounts": true,
"inactivateAccountsNotInFile": false,
"deleteAccEntForActiveAccounts": true
},
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "********",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/x-www-form-urlencoded",
"httpMethod": "GET"
},
"listField": "",
"keyField": "accountID",
"statusConfig": {
"status": "Active"
},
"colsToPropsMap": {
"accountID": "userUniqueKey~#~char",
"name":"email~#~char",
"customproperty11": "status~#~char"
},
"disableDeletedAccounts": true
}
}
},
"entitlementParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"statusColumn": "customproperty12",
"activeStatus": [
"Active"
]
},
"entTypes": {
"Group": {
"entTypeOrder": 0,
"call": {
"call1": {
"callOrder": 0,
"http": {
"url": "********",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/x-www-form-urlencoded",
"httpMethod": "GET"
},
"listField": "",
"keyField": "entitlementID",
"statusConfig": {
"status": "Active"
},
"colsToPropsMap": {
"entitlementID": "roleUniqueKey~#~char",
"entitlement_value": "roleUniqueKey~#~char",
"customproperty12": "status~#~char"
},
"disableDeletedEntitlements": true
}
}
}
}
},
"acctEntParams": {
"connection": "acctAuth",
"entTypes": {
"Group": {
"acctKeyField": "accountID",
"call": {
"call3": {
"callOrder": 0,
"stageNumber": 0,
"processingType": "httpAcctToEnt",
"http": {
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"url": "********/${id}",
"httpContentType": "application/x-www-form-urlencoded",
"httpMethod": "GET"
},
"listField": "userRoles",
"acctIdPath": "userUniqueKey",
"entIdPath": "roleUniqueKey",
"entKeyField": "entitlementID",
"acctKeyField": "accountID"
}
}
}
}
}
}
Sample Payload
03/15/2024 04:25 AM - edited 03/17/2024 09:02 PM
Hello @Srinidhan,
Are there seprate call for the Account and Entitlments or in the one single call you are getting the account and entitlment information.
Please share the postman screeenshot.
Please try with the below json,
{
"accountParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"statusColumn": "customproperty11",
"activeStatus": [
"Active"
],
"deleteLinks": true,
"accountThresholdValue": 100,
"correlateInactiveAccounts": true,
"inactivateAccountsNotInFile": false,
"deleteAccEntForActiveAccounts": true
},
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "********",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/x-www-form-urlencoded",
"httpMethod": "GET"
},
"listField": "",
"keyField": "accountID",
"statusConfig": {
"status": "Active"
},
"colsToPropsMap": {
"accountID": "userUniqueKey~#~char",
"name": "email~#~char",
"customproperty11": "status~#~char",
"customproperty31": "STORE#ACC#ENT#MAPPINGINFO~#~char"
},
"disableDeletedAccounts": true
}
}
},
"entitlementParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"statusColumn": "customproperty12",
"activeStatus": [
"Active"
]
},
"entTypes": {
"Group": {
"entTypeOrder": 0,
"call": {
"call1": {
"callOrder": 0,
"http": {
"url": "********",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/x-www-form-urlencoded",
"httpMethod": "GET"
},
"listField": "userRoles",
"keyField": "entitlementID",
"statusConfig": {
"status": "Active"
},
"colsToPropsMap": {
"entitlementID": "roleUniqueKey~#~char",
"entitlement_value": "roleUniqueKey~#~char",
"customproperty12": "status~#~char"
},
"disableDeletedEntitlements": true
}
}
}
}
},
"acctEntParams": {
"connection": "acctAuth",
"entTypes": {
"Group": {
"acctKeyField": "accountID",
"call": {
"call3": {
"callOrder": 0,
"stageNumber": 0,
"processingType": "httpAcctToEnt",
"http": {
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"url": "********/${id}",
"httpContentType": "application/x-www-form-urlencoded",
"httpMethod": "GET"
},
"listField": "userRoles",
"acctIdPath": "userUniqueKey",
"entIdPath": "roleUniqueKey",
"entKeyField": "entitlementID",
"acctKeyField": "accountID"
}
}
}
}
}
}
First run the account import and check the customproperty31 has values.
and after that run the access import job and after the accessimport job compeletion
please check the entitlments being imported.
Thanks.