francis.h | 2022-09-14 00:59:29 UTC | #1
Hi All,
is there a way to get all conversation Ids in a queue. We use the following api, but it truncates the data.
api.mypurecloud.com.au/api/v2/analytics/queues/observations/query
Regards.
Francis.
Eos_Rios | 2022-09-14 14:03:54 UTC | #2
You may need to elaborate on what you're trying to do. Do you want active conversations in that queue right now? Completed conversations for a given date range?
Those would be POST /api/v2/analytics/conversations/details/query or even POST /api/v2/analytics/conversations/aggregates/query respectively.
francis.h | 2022-09-14 22:18:16 UTC | #3
Thanks Eos_Rios.
We're trying to create an app for Users to see all interactions in the queue with the ability to search and pull the email from the queue.
I think these will do the trick.
Cheers.
francis.h | 2022-09-14 22:42:28 UTC | #4
... just a followup
Am I using this correctly? I get 0 results when I know there are emails in the queue for this interval
query
{
"interval": "2022-08-31T14:00:00.000Z/2022-09-15T14:00:00.000Z",
"order": "asc",
"orderBy": "conversationStart",
"paging": {
"pageSize": 25,
"pageNumber": 1
},
"evaluationFilters": [
{
"type": "and",
"predicates": [
{
"type": "dimension",
"dimension": "queueId",
"operator": "matches",
"value": "<blanked for privacy>"
}
]
}
]
}
Results
Jerome.Saint-Marc | 2022-09-15 08:36:57 UTC | #5
Hello,
You are setting a filter on an evaluation (Quality Management) attached to the conversation so not what you need to bring back conversations in queue (waiting to be served by a Contact Center Agent). You can check the following post - it has an example of the query you need.
Regards,
system | 2022-10-16 08:37:00 UTC | #6
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 16272