Hi there,
I'm trying to setup a data action using the conversation API: /api/v2/analytics/conversations/${input.conversationId}/details
When I run this in the API explorer I get a large amount of data however when I run it in the data action and select JSON to see the full output I get a strange stripped down version with a lot of missing data.
My oauth for the data action has full admin rights under the client credentials/roles for the oauth.
E.g
API explorer (snippet)
{
"conversationEnd": "2023-02-28T12:40:35.478Z",
"conversationId": "4951a442-20bb-4270-b1d0-d9ee98a7f8e3",
"conversationStart": "2023-02-28T12:39:43.559Z",
"divisionIds": [
"9a27f0f0-6afe-4a23-a4a9-534dbbbbba67",
"1497ae5c-4261-4a80-a1a7-ad7debec6dc3"
],
"mediaStatsMinConversationMos": 4.391134485955362,
"mediaStatsMinConversationRFactor": 81.49958038330078,
"originatingDirection": "inbound",
"participants": [
{
"externalContactId": "8e0a3748-082c-4579-b1d1-4f120688622d",
"participantId": "",
"participantName": "",
"purpose": "customer",
"sessions": [
{
"agentBullseyeRing": 1,
"ani": "",
"direction": "inbound",
"dnis": "",
"edgeId": "*****",
"mediaType": "voice",
"protocolCallId": "34b72b01548c6055547fa1ea01dbe6f2@212.70.186.52:5060",
"provider": "Edge",
"recording": true,
"remoteNameDisplayable": "*******",
"requestedRoutings": [
But in the JSON output:
{
"participants.sessions.segments.conference": [
[
[
false,
false
]
],
[
[
false,
false
]
],
[
[
false,
false
]
],
[
[
false,
false,
false
]
]
],
"participants.sessions.flow.exitReason": [
null,
[
"TRANSFER"
],
null,
null
],
"participants.sessions.metrics.value": [
[
[
1,
32086
]
],
[
[
1,
3237,
3072,
3072
]
],
[
[
1,
14587
]
],
[
[
4356,
14587,
14298,
14298,
20000,
33951
]
]
],
My question is why is displaying JSON like this?
Thank you in advance!
Cheers,
Martin