and more in a single search tool across platforms. Read the announcement here. |
01/09/2024 12:46 AM
01/09/2024 08:29 PM
Please share full json
01/09/2024 10:14 PM
Hi @rushikeshvartak ,
The JSON is as below for Create account JSON
{
"accountIdPath": "accountName",
"call": [
{
"name": "call1",
"connection": "acctAuth",
"url": "https://XXXapi/v1/user/create",
"httpMethod": "POST",
"httpParams": "{\"connect_instance_name\": \"retail_dr\", \"user_id\": \"${user.customproperty47}\", \"first_name\": \"${user.firstname}\", \"last_name\": \"${user.lastname}\", \"routing_profile\": \"saviynt-basicqueue-default\", \"security_profiles\": [\"s-Agent\"],\"auto_accept\" :\"no\", \"after_work_timeout\" : ${requestAccessAttributes.get('acw-timeout')!=null?requestAccessAttributes.get('acw-timeout'):0}}",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
200,
201
],
"responseMessage": "There was an error creating user: An error occurred (DuplicateResourceException) when calling the CreateUser operation: A user with username ${user.customproperty47} already exists in Amazon Connect"
},
"unsuccessResponses": {
"statusCode": [
400,
401,
404,
405,
500,
"Unauthorized"
],
"responseMessage": "Error 401: Bad credentials"
}
}
]
}
01/11/2024 10:25 PM
Hi @rushikeshvartak ,
Please provide your suggestion and let me know if you need more information.
Thanks,