Henry.Zambrano | 2020-09-13 21:29:15 UTC | #1
Hi, I have understood that the response when making a user status detail query always shows for the primaryPresence the elements: startTime, endTime, systemPresence and organizationPresenceId. I noticed that in one of those responses when iterating through pages I get a response like this: { "userDetails": [ { "userId": "d80c2776-8b9a-43d9-93bb-174242984264", "primaryPresence": [ { "startTime": "2020-08-22T23:54:52.513Z", "systemPresence": "ON_QUEUE", "organizationPresenceId": "e08eaf1b-ee47-4fa9-a231-1200e284798f" },...
As you can see, the first element of the primaryPresence array is missing the endTime key-value pair.
I get that response when making a query with a long "interval": "2020-08-01T04:00:00.000Z/2020-09-01T04:00:00.000Z" and it's shown in the page 209.
However when I make a narrow query for that same user: "interval": "2020-08-22T23:00:00.000Z/2020-08-23T04:00:00.000Z", I do get the endTime key-value pair for that specific time range. ... { "startTime": "2020-08-22T23:54:52.513Z", "endTime": "2020-08-23T00:15:05.316Z", "systemPresence": "ON_QUEUE", "organizationPresenceId": "e08eaf1b-ee47-4fa9-a231-1200e284798f" },...
This is causing problems when displaying info in custom reports depending on the date/time interval selected.
Thanks.
tim.smith | 2020-09-14 16:07:41 UTC | #2
Please open a case with Genesys Cloud Care to report missing data. Investigation org-specific data cannot be done via the forum.
Henry.Zambrano | 2020-09-14 17:08:09 UTC | #3
Thank you Tim, I will do it.
system | 2020-10-14 17:08:09 UTC | #4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 8812