{ "call": [ { "name": "call1", "connection": "acctWriteAuth", "url": "https://XXX/api/v1/50004/requests", "httpMethod": "POST", "httpContentType": "application/json", "unsuccessResponses": { "message": "Failed" }, "httpParams": "{\"requests\": [{\"Urgency_ID\": \"2\", \"Severity_ID\": \"2\", \"Origin\": \"7\", \"Description\": \"\", \"catalog_code\":\"${if(user.statuskey==1){'VADS51'}else{'VADS54'}}\", \"requestor_mail\": \"${requestor.email}\", \"Recipient_Identification\": \"${user.username}\"}]}", "httpHeaders": { "Authorization": "${access_token}" }, "statusCode": [ 201 ] }, { "name": "call2", "connection": "acctReadAuth", "url": "${response.call1.message.HREF}", "httpMethod": "GET", "httpParams": "{}", "httpHeaders": { "Authorization": "${access_token}" }, "httpContentType": "application/json", "successResponses":{ "statusCode":[ 200 ] }, "unsuccessResponses":{ "error.message":"Operation Failed" } } ], "ticketidPath": "call2.message.RFC_NUMBER" }