Legacy Dev Forum Posts

 View Only

Sign Up

Help with user aggregate query

  • 1.  Help with user aggregate query

    Posted 06-05-2025 18:14

    margolles | 2018-11-19 09:00:00 UTC | #1

    Hello,

    I am trying to get the metrics "tWait" and "tAbandon" for any user in a given interval by using "api/v2/analytics/users/aggregates/query" with this request:

    { "interval": "2018-11-01T14:00:00.000Z/2018-11-15T14:30:00.000Z", "granularity": "PT24H", "groupBy": ["userId"], "filter": { "type": "and", "predicates": [ { "dimension": "mediaType", "operator": "matches", "value": "voice" } ] }, "metrics": ["tWait","tAbandon"] }

    But I am getting an empty answer: {}

    Can anyone tell me what am I doing wrong?

    Thanks!!


    margolles | 2018-11-19 10:43:14 UTC | #2

    I've found the answer here

    https://developer.mypurecloud.ie/forum/t/tabandon-for-agents/1653

    "tAbandon" is not available for agents.


    system | 2018-12-20 10:33:42 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: 4000