matthew | 2020-05-13 19:23:11 UTC | #1
In the conversations aggregate query the interval seems to apply to conversations that had any kind of event during the requested interval - regardless of when the conversation started.
But the conversations details query seems to bring back only conversations that started within in the requested interval. Conversations that had an event during the interval, but started outside don't seem to be included.
Can anyone confirm this is the expected behaviour?
Jerome.Saint-Marc | 2020-05-17 05:53:24 UTC | #2
Hello,
No, the interval in the conversation details query works a bit differently.
In the Request Schema description of the "POST /api/v2/analytics/conversations/details/query" - on this page: https://developer.mypurecloud.com/api/rest/v2/analytics/index.html The Interval is described as follows: Specifies the date and time range of data being queried. Results will include conversations that both started on a day touched by the interval AND either started, ended, or any activity during the interval. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss.
There are additional details on this page (which also explains the why of the day touched by the interval): https://developer.mypurecloud.com/api/rest/v2/analytics/query_syntax_detail.html
The conversation doesn't need to start in the interval but on a day touched by the interval. And the conversation needs to be started, ended or be active during the request interval.
Hope this clarifies.
Regards,
matthew | 2020-05-19 18:15:28 UTC | #3
Thanks for the clarification.
system | 2020-06-19 18:15:29 UTC | #4
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: 7773