Click HERE to see how Saviynt Intelligence is transforming the industry. |
06/03/2024 07:47 AM - edited 06/03/2024 08:21 AM
Hi,
I am trying to provision an account with REST connector for SAP Concur.
CreateAccount JSON:
{
"accountIdPath": "call1.message.userName",
"call": [
{
"name": "call1",
"connection": "acctAuth",
"url": "https://xyz/v4/Users/",
"httpMethod": "POST",
"httpParams": "{\"schemas\":[\"urn:ietf:params:scim:schemas:core:2.0:User\"],\"email\": \"${user.email}\",\"userName\":\"${user.username}\",\"AccountID\": \"${user.email}\",\"FIRST_NAME\": \"${user.firstname}\",\"LAST_NAME\": \"${user.lastname}\",\"ORG_UNIT_4\":\"US\",\"ORG_UNIT_2\": \"E0119\",\"ORG_UNIT_1\": \"(001)001-US Tech\",\"lEDGER_KEY\": \"LEDGER\",\"Custom21\":\"US\",\"employeeNumber\":\"${user.email}\",\"Custom20\": \"(001)001-US Tech\",\"value\": [{\"roleName\": \"EXP_USER\"},{\"roleName\": \"EXP_APPROVER\"},{\"roleName\": \"STATEMENT_APPROVER\"},{\"roleName\": \"STATEMENT_USER\"}]}]}",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
200
]
},
"unsuccessResponses": {
"statusCode": [
400,
401,
404,
500,
501,
502,
503,
504
]
}
}
]
}
Error in logs:
Pending task Error:
[This post has been edited by a Moderator to remove sensitive information.]
06/03/2024 11:03 AM