Hi, I'm currently making a dataAction that will add a contact to a outbound contactlist by using the API "
/api/v2/outbound/contactlists/{contactListId}/contact" with the following
[
{
"id": "x00001",
"contactListId": "0x0x0x0x-0x0x-0x00-x000-x0x0xxx0000",
"data":
{
"Customer_Name":"${input.Customer_Name}",
"Customer_Phone":"${input.Customer_Phone}",
"Notes":"${input.Notes}"
},
"callable": true,
"phoneNumberStatus": {"callable": true}
}
]
But I been stuck for sometime now because of the following error when ever I tried to test/run it.
{
"message": "The request could not be understood by the server due to malformed syntax.",
"code": "bad.request",
"status": 400,
"messageParams": {},
"contextId": "e7d8a712-3588-4297-bfa5-04746d4659e3",
"details": [
{
"errorCode": "ACTION.REMOTE_ENDPOINT"
}
],
"errors": [
{
"message": "REST call for action execute failed. Message:Request to backend service failed. Response from web service: {\"message\":\"The request could not be understood by the server due to malformed syntax.\",\"code\":\"bad.request\",\"status\":400,\"contextId\":\"777b1937-4bf0-49c1-bcda-fb6de3c7ccf9\",\"details\":[],\"errors\":[]} [e7d8a712-3588-4297-bfa5-04746d4659e3]",
"code": "BAD_REQUEST",
"status": 400,
"messageParams": {},
"details": [],
"errors": []
}
]
}Is there someone who is kindly enough to help me point out my mistake or guide me on what should I do in order to fix the error.
Thanks
#Outbound------------------------------
Dennies Salenga
------------------------------