and more in a single search tool across platforms. Read the announcement here. |
12/29/2022 09:00 PM - edited 01/06/2023 02:58 AM
Hi Team,
We need to import accounts from two different api calls that will have same set of users but different group mappings.
Url 1: User A will have group A inside an array
Url 2: User A will have group B, C, D inside an array
Example
Hence, in total after the 2nd call... user A will have 4 groups mapped under the entitlement hierarchy.
I am able to fetch account-entitlement mappings from the first url but not working in the second call. Structure of JSON as below,
{
"accountParams": {
"connection": "userAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig":{
"statusColumn":"customproperty1",
"activeStatus":[
"true"
],
"deleteLinks":true,
"accountThresholdValue":1000,
"correlateInactiveAccounts":true,
"inactivateAccountsNotInFile":true,
"deleteAccEntForActiveAccounts":true
},
"doNotChangeIfFailed": true,
"includeExistingInActiveAccounts":true,
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://xxversion1",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "value.User",
"keyField": "accountID",
"statusConfig":{
"active":"true",
"inactive":"false"
},
"colsToPropsMap":{
"accountID":"UniqueName~#~char",
"name":"UniqueName~#~char",
"customproperty1":"Active~#~char",
"status":"Active~#~char",
"customproperty31":"STORE#ACC#ENT#MAPPINGINFO~#~char"
}
},
"call2": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://xxxversion2",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "value.User",
"keyField": "accountID",
"colsToPropsMap":{
"customproperty31":"STORE#ACC#ENT#MAPPINGINFO~#~char"
}
}
},
"acctEntMappings": {
"AribaGroupResponsiblePU": {
"listPath": "AribaGroupResponsiblePU.UniqueName",
"idPath": "",
"keyField": "entitlementID"
}
}
},
"acctEntParams": {"processingType": "acctToEntMapping"}
}
Solved! Go to Solution.
01/05/2023 10:09 PM
Anyone can help me with this query
01/08/2023 11:52 PM - edited 01/08/2023 11:53 PM
Hi Micky,
While importing accounts from api calls along with group mappings, accounts CustomProperty31 is used to temporarily save the account entitlement mapping and then when we run the access import, the mapping of the accounts to entitlements will be updated in the Entitlement Hierarchy.
In the Two calls approach, the Customproperty31 is getting overwritten by the latest most call and hence only the partial representation of the account entitlements is available in the entitlement Hierarchy.
This is not supported in Saviynt. Alternatively we can design the REST API in such a way as any one of below:
01/09/2023 02:05 AM
Use Jar Connector and build this in custom Java. Code