I'm looking to create a report that tallies the calls that were routed to one queue, but terminated in another. I've tried parsing the data from Conversation Details, but I don't ever see the calls ending in another queue. Below are two variations of the query I've used with /api/v2/analytics/conversations/details/query:
Specifying Queue:
{
"interval": "2018-06-01T05:00:00.000Z/2018-06-30T05:00:00.000Z",
"order": "asc",
"orderBy": "conversationStart",
"paging": {
"pageSize": "100",
"pageNumber": _pn
},
"segmentFilters": [
{
"type": "and",
"clauses": [
{
"type": "and",
"predicates": [
{
"type": "dimension",
"dimension": "purpose",
"operator": "matches",
"value": "agent"
},
{
"type": "dimension",
"dimension": "mediaType",
"operator": "matches",
"value": "voice"
}
]
}
],
"predicates": [
{
"type": "dimension",
"dimension": "direction",
"operator": "matches",
"value": "inbound"
},
{
"type": "dimension",
"dimension": "queueId",
"operator": "matches",
"value": _queueId
}
]
}
]
}
Not specifying Queue. I excluded the queueId to see if that filter was removing the other Queues from the segments:
{
"interval": "2018-07-19T05:00:00.000Z/2018-07-20T05:00:00.000Z",
"order": "asc",
"orderBy": "conversationStart",
"paging": {
"pageSize": "100",
"pageNumber": 1
},
"segmentFilters": [
{
"type": "and",
"clauses": [
{
"type": "and",
"predicates": [
{
"type": "dimension",
"dimension": "mediaType",
"operator": "matches",
"value": "voice"
}
]
}
],
"predicates": [
{
"type": "dimension",
"dimension": "direction",
"operator": "matches",
"value": "inbound"
}
]
}
]
}
Is it possible to do this? If so, what's the approach?