Surely!
Output
{
"status": 400,
"code": "bad.request",
"message": "The request could not be understood by the server due to malformed syntax.",
"messageParams": {},
"contextId": "17a0720b-28f3-45f4-af04-c357a26fed39",
"details": [],
"errors": [
{
"status": 400,
"code": "BAD_REQUEST",
"message": "REST call for action execute failed. Message:Request to backend service failed. To see error details, execute request in Postman, or other REST tools. [17a0720b-28f3-45f4-af04-c357a26fed39] [17a0720b-28f3-45f4-af04-c357a26fed39]",
"messageParams": {},
"details": [],
"errors": []
}
]
}
Operazioni
1. Validate request body contains simple json (key-value pairs)
{
"ACCOUNT_ID": "8179FB91-59FC-E711-80F8-3863BB34DB00",
"NAME": "Luca",
"LAST_NAME": "Bianchi",
"orgId": "69710e28-6401-474a-8490-a0455f6a59f2",
"integrationId": "2daab79d-dcf7-443c-ae51-9b91ed722099",
"rawRequest": "{\"ACCOUNT_ID\":\"8179FB91-59FC-E711-80F8-3863BB34DB00\",\"NAME\":\"Luca\",\"LAST_NAME\":\"Bianchi\"}"
}
2. Validate draft definition
{
"success": true
}
3. Validate request body against input schema
{
"success": true
}
4. Perform authentication
{
"success": true
}
5. Resolve request URL template
"[POST] https://testsinergia2.crm4.dynamics.com/api/data/v8.1/accounts/8179FB91-59FC-E711-80F8-3863BB34DB00"
6. Resolve request header templates
{
"Transfer-Encoding": [
"buffered"
],
"Authorization": [
"<REDACTED>"
],
"Company": [
"My company"
],
"UserAgent": [
"PureCloudIntegrations/1.0"
],
"Content-Type": [
"application/json"
]
}
7. Resolve request body template
"{\"name\": \"Luca\",\"sin_codicefiscale\": \"Bianchi\"}"
8. Execute
{
"status": 400,
"code": "bad.request",
"message": "The request could not be understood by the server due to malformed syntax.",
"messageParams": {},
"contextId": "17a0720b-28f3-45f4-af04-c357a26fed39",
"details": [],
"errors": [
{
"status": 400,
"code": "BAD_REQUEST",
"message": "REST call for action execute failed. Message:Request to backend service failed. To see error details, execute request in Postman, or other REST tools. [17a0720b-28f3-45f4-af04-c357a26fed39] [17a0720b-28f3-45f4-af04-c357a26fed39]",
"messageParams": {},
"details": [],
"errors": []
}
]
}