Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/18/2024 12:21 PM - last edited on 07/19/2024 01:22 AM by Sunil
For one of our REST based application we are getting success response message in "New Account" task of provisioning comment, but the task is not getting completed.
Provisioning Comment - {"call1":{"headers":"gasx2z2jh4Bxoz/fVfCn7b3Pj1lto1MFbn4pGei2RP9QvXt7eDO9Fgdl7W7dPuvHMkzbgTR/dKCXXNRvX0/aj81gUrnapyw1/XybjzV5tYnjxJJRx/0FdkYxUzGuEDshg/fqOixU2PcVc3RY7ePas6Flfvny4CbhmiAGx2FsOXXW5+15UFu+6xGT+g3fRga+MDQU68Ci7zxtiSdsWYJOlqC/IMQlypwPhhiVdSEPHFEgEx3NGEQ2xf3VQVE/R5qXSga1pkJsnFvgKgjviDIwjELZ2BNXT4wYniQBWaqVcFdQVDsybBAgB/h8HlUtiIPUj99VR7qxFjM0LZZtp8GC7EWoDjotYNt8pLPvEQV3//PQxmpm2jUC9qkOeY2EtaAv5ibUkMKUdz2ZIJ9S80jbI5zQfuwUSjdRq43L3YgiaSJx7bOEIRk50/BKr4w1nQ8oTbM6fhncZMz2MU+UWTQfXxhTo4RURZkizaVEKb5WydnuFqHFaImLr+2k6X0/2V4BLW27ciyhj8lmeHGmL5L0hA2bphduDjXFcOD8ikrggayRTfuOdWNvhxzeUEOjhE3x","message":{"message":"User created"},"statusCode":201,"description":null,"status":"Success"}}
Create Account JSON -
{
"call": [
{
"name": "call1",
"connection": "acctAuth",
"showResponse": true,
"url": "https://abc/user" ,
"httpMethod": "POST",
"httpParams": "{\"loginId\": \"${user.username}\",\"firstName\": \"${user.firstname}\",\"lastName\": \"${user.lastname}\",\"language\": \"EN\",\"dateFormat\": \"MM/dd/yyyy\",\"numberFormat\": \"#,###,###,##0.00#\",\"localeCountry\": \"${user.country}\",\"email\": \"${user.email}\"}",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [201, 200, 204]
},
"unsuccessResponses": {
"statusCode": [400, 403, 401, 404, 409, 501, 500]
}
}
]
}
Is there a way to fix this? Attaching logs with this ticket.
[This message has been edited by moderator to disable URL hyperlink]
Solved! Go to Solution.
07/18/2024 12:35 PM - edited 07/18/2024 09:13 PM
{
"accountIdPath": "accountName",
"call": [
{
"name": "call1",
"connection": "acctAuth",
"showResponse": true,
"url": "https://abc/user",
"httpMethod": "POST",
"httpParams": "{\"loginId\": \"${user.username}\",\"firstName\": \"${user.firstname}\",\"lastName\": \"${user.lastname}\",\"language\": \"EN\",\"dateFormat\": \"MM/dd/yyyy\",\"numberFormat\": \"#,###,###,##0.00#\",\"localeCountry\": \"${user.country}\",\"email\": \"${user.email}\"}",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [201, 200, 204]
},
"unsuccessResponses": {
"statusCode": [400, 403, 401, 404, 409, 501, 500]
}
}
]
}
07/19/2024 12:47 AM
Adding accountidpath worked
07/18/2024 01:09 PM
@shruanand24 is it happening for all the task or only for one?