Legacy Dev Forum Posts

 View Only

Sign Up

User detail query endpoint

  • 1.  User detail query endpoint

    Posted 06-05-2025 19:20

    Abhijeet | 2020-06-30 07:29:38 UTC | #1

    Hi Team,

    I am reading platform api end point " /api/v2/analytics/users/details/query" . One of the status is starting in one day and ending other day. So I wanted such records to be split into two separate response rows.

    For example: Status: "Interacting" starttime is "2020-06-23 23:59:48.490" and end time is "2020-06-24 00:22:50.273" Then the api should return two records like below,

    1. starttime is "2020-06-23 23:59:48.490" and end time is ""2020-06-24 00:00:00""
    2. starttime is "time is ""2020-06-24 00:00:00" and end time is "2020-06-23 23:59:48.490"

    What parameters should i pass to get such result.

    Thanks,

    Abhijeet Hivarkar


    Jerome.Saint-Marc | 2020-06-30 08:35:21 UTC | #2

    Hello,

    This is not possible. There are no parameters in the Users Details Query which allow to request PureCloud to send back the results in separate rows if they span over 2 different days.

    You would have to manage this in your code - I mean the one making the request to the Platform API endpoint. If the endTime is on a different day than startTime, then "split" the values in your code for your application processing.

    Regards,


    system | 2020-07-31 08:35:23 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: 8145