Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/01/2024 06:54 AM
Hello All,
We have REST app implemented, while importing Accounts found cp31 is not getting populated but in entitlement hierarchy values are there.
Please find my JSON and let me know if any corrections:
{
"accountParams": {
"connection": "userAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"deleteLinks": true,
"accountThresholdValue": 500,
"correlateInactiveAccounts": false,
"inactivateAccountsNotInFile": false,
"deleteAccEntForActiveAccounts": true
},
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://xxxxxxxxx/users",
"httpHeaders": {
"Accept": "application/json",
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"statusConfig": {
"active": "A",
"inactive": "T"
},
"listField": "users",
"keyField": "accountID",
"colsToPropsMap": {
"name": "username~#~char",
"status": "status~#~char",
"accountID": "uid~#~char",
"customproperty1": "uid~#~char",
"CUSTOMPROPERTY2": "idp~#~char",
"customproperty3": "ad_domain~#~char",
"CUSTOMPROPERTY4": "nick_name~#~char",
"CUSTOMPROPERTY5": "first_name~#~char",
"CUSTOMPROPERTY6": "last_name~#~char",
"CUSTOMPROPERTY31": "STORE#ACC#ENT#MAPPINGINFO~#~char"
}
}
},
"acctEntMappings": {
"Roles": {
"listPath": "resources",
"idPath": "roleId",
"keyField": "entitlementID"
}
}
},
"entitlementParams": {
"processingType": "SequentialAndIterative",
"entTypes": {
"Roles": {
"entTypeOrder": 1,
"entTypeLabels": {},
"call": {
"call1": {
"connection": "userAuth",
"callOrder": 0,
"stageNumber": 0,
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": "https://xxxxxxxxxxx/roles",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "resources",
"keyField": "entitlementID",
"colsToPropsMap": {
"description": "description~#~char",
"customproperty1": "elevated_privilege~#~char",
"entitlementID": "id~#~char",
"entitlement_Value": "name~#~char",
"displayname": "name~#~char"
},
"successResponses": {
"statusCode": [
204,
200,
201,
null
]
},
"unsuccessResponses": {
"statusCode": [
400,
401,
403,
404,
405,
406,
415
]
}
}
}
}
}
},
"acctEntParams": {
"connection": "userAuth",
"entTypes": {
"Roles": {
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"processingType": "httpAcctToEnt",
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": "https://xxxxxxxxx/UserRole?userId=${id}",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "resources",
"entKeyField": "entitlementID",
"acctIdPath": "userId",
"entIdPath": "roleId",
"acctKeyField": "accountID",
"successResponses": {
"statusCode": [
204,
200,
201,
null
]
},
"unsuccessResponses": {
"statusCode": [
400,
401,
403,
404,
405,
406,
415
]
}
}
}
}
}
}
}
Thanks,sb
07/01/2024 06:57 AM
Please share postman screenshot and curl command [Refer https://codingnconcepts.com/postman/how-to-generate-curl-command-from-postman/ ]
⚠️‼️‼️Do not upload any attachments that contain sensitive information, such as IP Addresses, URLs, Company/Employee Names, Email Addresses, etc.‼️‼️⚠️
07/02/2024 06:57 AM
Please find below
Thanks,
07/02/2024 11:26 AM
Change "listField": "resources", to "listField": "",