User detail query endpoint

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

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,

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.