We are trying to extract total talk values from inbound callback interactions for the specified queues within the given date range by using the below API and payload. But it is giving wrong results(giving data for all the other mediatypes like voice and for outbound calls as well). Please provide correct payload to get the total talk value for inbound calls for callback media type.
API --> https://api.mypurecloud.ie/api/v2/analytics/conversations/details/query
payload -->
{
"interval": "2025-01-01T05:00:00.000Z/2025-02-01T05:00:00.000Z",
"segmentFilters": [
{
"type": "or",
"predicates": [
{
"dimension": "mediaType",
"value": "callback"
}
]
},
{
"type": "or",
"predicates": [
{
"dimension": "direction",
"value": "inbound"
}
]
},
{
"type": "or",
"predicates": [
{
"dimension": "queueId",
"value": "queue1"
},
{
"dimension": "queueId",
"value": "queue2"
},
{
"dimension": "queueId",
"value": "queue3"
},
{
"dimension": "queueId",
"value": "queue4"
},
{
"dimension": "queueId",
"value": "queue5"
}
]
}
],
"conversationFilters": [],
"evaluationFilters": [],
"surveyFilters": []
}
Could you please help me resolve this issue? Thank you.