It was a pleasure - even without your offered beer. :-)
Original Message:
Sent: 11-18-2025 04:04
From: Torben Hedemann B. Eriksen
Subject: Need to know numbers of callers contact with agent
Hi Christoph,
I think I owe you a big draft beer :) - your conversationFilters was exactly what I needed.
I really appreciate your help.
Regards,
Torben
------------------------------
Torben Hedemann B. Eriksen
NA
------------------------------
Original Message:
Sent: 11-18-2025 02:34
From: Christoph Domaschke
Subject: Need to know numbers of callers contact with agent
Hi Torben,
for me the following code works. But maybe I forgot something to think about.
{
"interval": "${input.startdate}/${input.enddate}",
"order": "asc",
"orderBy": "conversationStart",
"paging": {
"pageSize": 100,
"pageNumber": 1
},
"segmentFilters": [
{
"predicates": [
{
"type": "dimension",
"dimension": "mediaType",
"operator": "matches",
"value": "voice"
},
{
"type": "dimension",
"dimension": "ani",
"operator": "matches",
"value": "${input.customerANI}"
}
],
"type": "and"
}
],
"conversationFilters": [
{
"type": "and",
"clauses": [
{
"predicates": [
{
"type": "metric",
"metric": "tTalk",
"operator": "exists"
},
{
"type": "metric",
"metric": "tVoicemail",
"operator": "notExists"
}
],
"type": "and"
}
]
}
]
}
------------------------------
Christoph Domaschke
Produktmanager Kunden-Dialog-Center
Original Message:
Sent: 11-17-2025 10:16
From: Torben Hedemann B. Eriksen
Subject: Need to know numbers of callers contact with agent
Thanks for all the answers – I've made progress with the task, but I'm now facing another issue related to the API Explorer and building the request body for /api/v2/analytics/conversations/details/query.
How can I test whether tTalk under the agent session → metrics is present and populated with a value? I've tried pretty much everything but haven't been able to get that part working.
My Request Body look like this - hope some one can tell how to add the metrics filter :-)
{
"interval": "${input.interval}",
"order": "asc",
"orderBy": "conversationStart",
"paging": {
"pageNumber": 999,
"pageSize": 100
},
"segmentFilters": [
{
"type": "or",
"clauses": [
{
"type": "and",
"predicates": [
{
"type": "dimension",
"dimension": "mediaType",
"value": "callback"
},
{
"type": "dimension",
"dimension": "remote",
"value": "${input.ANI}"
}
]
},
{
"type": "and",
"predicates": [
{
"type": "dimension",
"dimension": "ani",
"operator": "matches",
"value": "${input.ANI}"
},
{
"type": "dimension",
"dimension": "dnis",
"operator": "matches",
"value": "${input.DNIS}"
},
{
"type": "dimension",
"dimension": "purpose",
"operator": "matches",
"value": "agent"
}
]
}
]
}
]
}
Thanks in advance.
/Torben
------------------------------
Torben Hedemann B. Eriksen
NA