Legacy Dev Forum Posts

 View Only

Sign Up

Getting the Start time a user is in a particular Status

  • 1.  Getting the Start time a user is in a particular Status

    Posted 06-05-2025 18:05

    Girish_Nalawadi | 2019-06-10 05:37:12 UTC | #1

    Hi, I am using GetRoutingQueueUsersAsync() method from .Net SDK to get the users information. I get the routing status and user presence correctly. But to get the start time the user is in a particular routing status, I used the "StartTime" property on the "RoutingStatus " property of the QueueMemberModel type. The property XML comment says that it gives "The timestamp when the agent went into this state". It is returning a time stamp, but the value remains the same even in the subscription notifications. I am subscribing to this api to get continous updates: $"v2.users.{userId}.activity".

    Please let me know if I am using the right method to calculate the start time of the the user when user went into that state? Also If anybody has information on this kindly share it.

    Thanks & Regards, Girish


    tim.smith | 2019-06-10 23:00:33 UTC | #2

    The activity topic is an aggregate topic and will be generated by triggers other than presence change, so you may get a notification and see the same presence timestamp as a previous notification. If you have verified that the timestamp is not getting updated when the presence changes, please open a case with PureCloud Care to investigate.


    Girish_Nalawadi | 2019-06-13 00:10:00 UTC | #3

    Thank you Tim Smith. I see the pure cloud apps in the agent tab shows the time. URL at : https://apps.mypurecloud.com.au/directory/#/analytics/agents. This is shown in the image below as "Time in Status". Do you know how is it calculated?


    tim.smith | 2019-06-14 17:19:43 UTC | #4

    The columns in each view are described in the documentation for the view on the Resource Center: https://help.mypurecloud.com/articles/new-agents-performance-views/.


    system | 2019-07-15 17:19:48 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: 5317