Hi,
Please advise how to get the response for overall mediatype instead of mediatype specific grouping. For example I want to get the overall tTalkComplete metric by Queues only but I am getting a result which is always grouped by mediaType even though I am not requesting that grouping in my request.
I am calling this url: /api/v2/analytics/conversations/aggregates/query
And my Request is:
And i am getting below response
{
"results": [
{
"group": {
"direction": "outbound",
"divisionId": "a6543d5f-e092-452a-8a87-f88716b36ad5",
"mediaType": "voice",
"queueId": "0bf2c7fa-bff6-40fd-a0ce-4fdfa2225fe0"
},
"data": [
{
"interval": "2021-02-17T02:00:00.000Z/2021-02-17T02:30:00.000Z",
"metrics": [
{
"metric": "nConnected",
"stats": {
"count": 4
}
}
]
}
]
},
{
"group": {
"direction": "inbound",
"divisionId": "a6543d5f-e092-452a-8a87-f88716b36ad5",
"mediaType": "voice",
"queueId": "174176d3-eee7-4c74-9dbd-60c1871c5885"
},
"data": [
{
"interval": "2021-02-17T06:30:00.000Z/2021-02-17T07:00:00.000Z",
"views": [
{
"name": "tshortAbandon",
"stats": {
"max": 9691,
"min": 9691,
"count": 1,
"sum": 9691
}
}
]
}
]
}
]
}
But I want the overall response which is not for a specific mediatype but for all the mediatypes altogether. Please note in the request i am not grouping by mediatype, but still the response is grouped by mediatype. How can i achieve this. Please let know. Thanks
Thanks
Salma