Legacy Dev Forum Posts

 View Only

Sign Up

Incorrect Service Levels and Offered Interactions Count

  • 1.  Incorrect Service Levels and Offered Interactions Count

    Posted 06-05-2025 18:15

    Hunter_Wyatt | 2019-09-20 18:39:17 UTC | #1

    Hi. I am using 'api/v2/analytics/conversations/aggregates/query' to make a request for today's Service Levels and Offered interactions in each queue. I appear to be getting incorrect results each time. I am comparing what is returned from the API to what we see in Purecloud's dashboard, as well as apps.mypureinsights.com. The Service Levels are off by several percentage points. The Offered Interactions are all a bit lower than what we see in both dashboards as well.

    Is there something I am missing something, or doing something incorrectly in my request body (below) that could be causing this? Thank you for your time.

    Here is my request body: (Note that mcallid, scallid, mchatid, schatid are variables used to store the queue IDs and dateforquery is also a variable storing a date in this format - '2019-09-20')

    { "interval": dateforquery + "T01:00:00-06:00/" + dateforquery + "T23:00:00-06:00", "groupBy": [ "queueId" ], "filter": { "type": "and", "clauses": [ { "type": "or", "predicates": [ { "type": "dimension", "dimension": "queueId", "operator": "matches", "value": mcallid }, { "type": "dimension", "dimension": "queueId", "operator": "matches", "value": scallid }, { "type": "dimension", "dimension": "queueId", "operator": "matches", "value": mchatid }, { "type": "dimension", "dimension": "queueId", "operator": "matches", "value": schatid } ] } ] }, "metrics": [ "oServiceLevel", "nOffered" ] }


    Becky_Powell | 2019-09-20 19:22:38 UTC | #2

    Hi Hunter,

    Customer data cannot be investigated via the developer forum. If you believe you're getting incorrect data, please open a case with PureCloud Care.

    Best, Becky


    system | 2019-10-21 19:22:44 UTC | #3

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