zhaohuil | 2018-06-18 12:24:23 UTC | #1
https://developer.mypurecloud.com/api/rest/v2/analytics/conversation.html
The example query state that
"interval": "2015-11-01T00:00:00.000Z/2015-11-02T00:00:00.000Z"
- Can I confirm that we are searching the interval of when the conversations are created?
- I have some sample conversation data
["conversationId"]=> string(36) "blablabla" ["conversationStart"]=> string(24) "2018-06-15T04:48:28.380Z" ["participants"]=> array(2) { [0]=> array(4) { ["participantId"]=> string(36) "blablabla" ["participantName"]=> string(12) "Apps-Testing" ["purpose"]=> string(8) "external" ["sessions"]=> array(1) { [0]=> array(10) { ["mediaType"]=> string(8) "callback" ["sessionId"]=> string(36) "blabla" ["direction"]=> string(7) "inbound" ["callbackUserName"]=> string(12) "Apps-Testing" ["callbackNumbers"]=> array(1) { [0]=> string(5) "xyz" } ["callbackScheduledTime"]=> string(20) "2018-07-01T11:33:46Z" ["scriptId"]=> string(36) "blablabla" ["skipEnabled"]=> bool(true) ["timeoutSeconds"]=> int(0) ["segments"]=> array(1) { [0]=> array(3) { ["segmentStart"]=> string(24) "blabla" ["segmentType"]=> string(9) "scheduled" ["conference"]=> bool(false) } } } } }
I want to search based on callbackScheduledTime, similar to what the interval does. i.e. specify a range of callbackScheduleTime and return some of them. Is it possible?
tim.smith | 2018-06-18 13:49:48 UTC | #2
The interval will retrieve results where some part of the conversation happened during it.
specify a range of callbackScheduleTime and return some of them. Is it possible?
No. Ranges can only be applied to metrics, and callbackScheduledTime is a dimension.
system | 2018-07-19 13:49:51 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: 3021