Legacy Dev Forum Posts

 View Only

Sign Up

Single call to get tAgentRoutingStatus

  • 1.  Single call to get tAgentRoutingStatus

    Posted 06-05-2025 18:16

    Abhijeet | 2020-04-07 08:31:47 UTC | #1

    Hi Team,

    I need to send my query on below end point for each user one by one on platform api to get below metrics "tSystemPresence", "tOrganizationPresence", "tAgentRoutingStatus"

    https://api.mypurecloud.com/api/v2/analytics/users/aggregates/query

    Is there any way to get these metric for all the users in one call only

    Thanks,

    Abhijeet Hivarkar


    tim.smith | 2020-04-08 15:53:59 UTC | #2

    You can specify multiple user ID predicates in the filter.


    Abhijeet | 2020-04-12 11:03:18 UTC | #3

    Ok Thanks,

    I am also not able to get Offqueue Status from endpoint "/api/v2/analytics/users/aggregates/query'" where as I can see that i can get OffQueue from the endpoint "api/v2/analytics/users/details/query" for the same time interval values.

    Why this is so? Any reason?


    tim.smith | 2020-04-14 12:46:40 UTC | #4

    The time for off queue is the interval time minus any other routing statuses, if present; It is not reported explicitly in the user aggregate query.


    Abhijeet | 2020-04-14 12:52:56 UTC | #5

    What it is meant by interval time?


    tim.smith | 2020-04-14 13:05:33 UTC | #6

    The user status aggregate query requires an interval in the request.


    system | 2020-05-15 13:05:36 UTC | #7

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