JSON message about results of searching for waiting time detection report details
{ "PersonQueueTimeResult": { /*required, search results of waiting time detection report*/ "RuleList" : [{ /*required, array, waiting time of all time periods under multiple rules, up to 3 rules are supported*/ "ruleID": , /*required, integer, rule ID, which corresponds to the time period ID when configuring rules*/ "WaitTimeRangeList" : [{ /*required, array, waiting time of all time periods under a single rule, up to 3 time periods are supported*/ "minWaitTime": , /*Optional, integer, minimum waiting time, range: from 0 to 3600s*/ "maxWaitTime": 600, /*Optional, integer, maximum waiting time, range: from 0 to 3600s*/ "TimeInfoList": [{ /*required, waiting time detection report details*/ "startTime": "", /*required, IOS8601 time, start time of the time period, e.g., 2004-05-03T00:00:00+08:00 or 2004-05-03T00:00:00.000Z*/ "endTime": "", /*required, IOS8601 time, end time of the time period, e.g., 2004-05-03T00:00:00+08:00 or 2004-05-03T00:00:00.000Z*/ "time": 60 /*required, integer, waiting time: from 0 to 3600s*/ }] }] }] } }
At least one of minWaitTime and maxWaitTime fields is required, if only minWaitTime is configured, it indicates no upper-limit, e.g., minWaitTime=600, maxWaitTime is reserved, the waiting time which is longer than 600s will be searched; if only maxWaitTime is configured, it indicates no lower-limit, e.g., maxWaitTime=600, minWaitTime is reserved, the waiting time which is shorter than 600s will be searched.
For daily report, one result will be returned at each hour, total 24 results; for weekly report, one result will be returned at each day, total 7 results; for monthly report, one result will be returned at each day, total 30 results.
{ "PersonQueueTimeResult": { "RuleList": [{ "ruleID": 1, "CountRangeList": [{ "minCount": 0, "maxCount": 20, "TimeInfoList": [{ "time": 0, "startTime": "2017-01-14T00:00:00", "endTime": "2017-01-14T00:59:59" }, { "time": 0, "startTime": "2017-01-14T01:00:00", "endTime": "2017-01-14T01:59:59" }, { "time": 0, "startTime": "2017-01-14T02:00:00", "endTime": "2017-01-14T02:59:59" }, { "time": 0, "startTime": "2017-01-14T03:00:00", "endTime": "2017-01-14T03:59:59" }, { "time": 0, "startTime": "2017-01-14T04:00:00", "endTime": "2017-01-14T04:59:59" }, { "time": 0, "startTime": "2017-01-14T05:00:00", "endTime": "2017-01-14T05:59:59" }, { "time": 0, "startTime": "2017-01-14T06:00:00", "endTime": "2017-01-14T06:59:59" }, { "time": 0, "startTime": "2017-01-14T07:00:00", "endTime": "2017-01-14T07:59:59" }, { "time": 0, "startTime": "2017-01-14T08:00:00", "endTime": "2017-01-14T08:59:59" }, { "time": 0, "startTime": "2017-01-14T09:00:00", "endTime": "2017-01-14T09:59:59" }, { "time": 0, "startTime": "2017-01-14T10:00:00", "endTime": "2017-01-14T10:59:59" }, { "time": 0, "startTime": "2017-01-14T11:00:00", "endTime": "2017-01-14T11:59:59" }, { "time": 0, "startTime": "2017-01-14T12:00:00", "endTime": "2017-01-14T12:59:59" }, { "time": 0, "startTime": "2017-01-14T13:00:00", "endTime": "2017-01-14T13:59:59" }, { "time": 0, "startTime": "2017-01-14T14:00:00", "endTime": "2017-01-14T14:59:59" }, { "time": 0, "startTime": "2017-01-14T15:00:00", "endTime": "2017-01-14T15:59:59" }, { "time": 0, "startTime": "2017-01-14T16:00:00", "endTime": "2017-01-14T16:59:59" }, { "time": 0, "startTime": "2017-01-14T17:00:00", "endTime": "2017-01-14T17:59:59" }, { "time": 0, "startTime": "2017-01-14T18:00:00", "endTime": "2017-01-14T18:59:59" }, { "time": 0, "startTime": "2017-01-14T19:00:00", "endTime": "2017-01-14T19:59:59" }, { "time": 0, "startTime": "2017-01-14T20:00:00", "endTime": "2017-01-14T20:59:59" }, { "time": 0, "startTime": "2017-01-14T21:00:00", "endTime": "2017-01-14T21:59:59" }, { "time": 0, "startTime": "2017-01-14T22:00:00", "endTime": "2017-01-14T22:59:59" }, { "time": 0, "startTime": "2017-01-14T23:00:00", "endTime": "2017-01-14T23:59:59" }] }] }] } }