Hello,
I am trying to use /api/v2/conversations/calls/{conversationId}/participants/{participantId}/attributes to write a wrapup code.
I made a call into the system and grabbed the participant id and conversation id. For the body, I used:
{
"attributes" : {
"wrapup": {
"code": "79b7b583-9ab6-4b0c-a6c6-9317fa652c0f",
"notes": "Testing",
"durationSeconds": 10
}
}
}
When I send the request, I get:
{
"message": "The request could not be understood by the server due to malformed syntax.",
"code": "bad.request",
"status": 400,
"contextId": "a48c171a-ab61-4252-bae5-b1222c7219c6",
"details": [],
"errors": []
}
I based the format of my attributes on this link:
https://developer.usw2.pure.cloud/api/rest/v2/conversations/wrapup.html
Can someone give me insight on where I may be going wrong?
Thank you,
Mark Rynard