Hi Jason,
This is the JSON response:
{
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"participants": [
{
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"address": "sip:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx@localhost",
"startTime": "2023-03-24T09:33:06.443Z",
"connectedTime": "2023-03-24T09:33:12.753Z",
"endTime": "2023-03-24T09:34:42.919Z",
"purpose": "agent",
"state": "terminated",
"direction": "outbound",
"disconnectType": "client",
"held": false,
"wrapupRequired": true,
"wrapupPrompt": "optional",
"mediaRoles": [
"full"
],
"user": {
"id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",,
"selfUri": "/api/v2/users/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
},
"queue": {
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",,
"selfUri": "/api/v2/routing/queues/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
},
"team": {
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"selfUri": "/api/v2/teams/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
},
"attributes": {
"storeCard": "false",
"amount": ""
},
"errorInfo": {
"message": "session xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx is inactive for command cloud.command.disconnect",
"code": "error.ininedgecontrol.session.inactive",
"messageWithParams": "session {sessionId} is inactive for command {type}",
"messageParams": {
"sessionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"type": "cloud.command.disconnect"
},
"details": [],
"errors": []
},
"script": {
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"selfUri": "/api/v2/scripts/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
},
"provider": "Edge",
"wrapup": {
"code": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"notes": "",
"tags": [],
"durationSeconds": 101,
"endTime": "2023-03-24T09:36:23.894Z"
},
"screenRecordingState": "error",
"startAcwTime": "2023-03-24T09:34:42.919Z",
"endAcwTime": "2023-03-24T09:36:23.894Z",
"muted": false,
"confined": false,
"recording": false,
"recordingState": "none",
"ani": "sip:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx@localhost",
"dnis": "tel:+xxxxxxxxxxx"
},
{
"id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "Mobile Number, New Zealand",
"address": "tel:+xxxxxxxxxxx",
"startTime": "2023-03-24T09:33:07.267Z",
"connectedTime": "2023-03-24T09:33:12.751Z",
"endTime": "2023-03-24T09:34:42.920Z",
"purpose": "customer",
"state": "terminated",
"direction": "outbound",
"disconnectType": "peer",
"held": false,
"wrapupRequired": false,
"mediaRoles": [
"full"
],
"queue": {
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"selfUri": "/api/v2/routing/queues/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
},
"attributes": {},
"provider": "Edge",
"externalContact": {
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"selfUri": "/api/v2/externalcontacts/contacts/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
},
"peer": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"muted": false,
"confined": false,
"recording": false,
"recordingState": "none",
"ani": "sip:+xxxxxxxxxx@10.47.xx.x;user=phone",
"dnis": "tel:+xxxxxxxxxxx"
}
],
"otherMediaUris": [],
"recentTransfers": [],
"recordingState": "none",
"selfUri": "/api/v2/conversations/calls/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
}