Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

REST createAccount Error - SAP Concur

Rajatlm10
New Contributor III
New Contributor III

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:

Rajatlm10_0-1717425941505.png

Pending task Error:

Rajatlm10_1-1717425996599.png

[This post has been edited by a Moderator to remove sensitive information.]

1 REPLY 1

rushikeshvartak
All-Star
All-Star
  • You have issue with connection json 
  • Does your import is working ?

Regards,
Rushikesh Vartak
If you find this response useful, kindly consider selecting 'Accept As Solution' and clicking on the 'Kudos' button.