Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Report validation

    Posted 06-05-2025 19:19

    RafaelR | 2017-05-16 22:51:49 UTC | #1

    Hello, I would like to know which conversations id's are part of the value of a particular metric in a report, is there anyway?

    I need to validate my understanding of report metrics.

    I already know about the following links

    Https://help.mypurecloud.com/articles/metric-definitions/ Https://help.mypurecloud.com/articles/queue-metrics-daily-report/

    Thanks


    tim.smith | 2017-05-17 13:21:42 UTC | #2

    You can use POST /api/v2/analytics/conversations/details/query to query for conversation details. If you set the same filter criteria as the aggregate data, you will get data for the same conversations.


    RafaelR | 2017-05-17 13:58:30 UTC | #3

    Thanks for reply @tim.smith.

    I'm trying generate the report Queue Metrics Daily report.

    I want know which conversationsIds are present on the filter context.

    I generated the following query:

    { "interval": "2017-04-03T00:00:00/2017-04-03T23:59:59", "granularity": "", "timeZone": "UTC-03:00", "groupBy": ["conversationId"], "filter": { "type": "", "clauses": [], "predicates": ["mediaType = voice and queueId = Renovacao Auto CS Receptivo"] }, "metrics": [], "flattenMultivaluedDimensions": true, "views": [] }

    But it rises the following error:

    code:"internal.server.error" contextId:"30cb9877-53e2-4935-a322-85ec249dc3a3" details:[] errors:[] message:"The server encountered an unexpected condition which prevented it from fulfilling the request." status:500

    I think the problem is on filter, could you help me?

    Thanks in advance.


    RogierBosch | 2017-05-18 12:44:44 UTC | #4

    Hi, I've tried it under https://developer.mypurecloud.ie/developer-tools/#/analytics-query-builder

    { "filter": { "type": "or", "clauses": [ { "type": "and", "predicates": [ { "type": "dimension", "dimension": "queueId", "operator": "matches", "value": "ID OF THE QUEUE" }, { "type": "dimension", "dimension": "mediaType", "operator": "matches", "value": "voice" } ] } ] } }


    system | 2017-06-18 12:53:17 UTC | #5

    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: 1296