JSON message about results of searching for people queuing-up report details
{ "PersonQueueCountingResult": { /*required, search result of people queuing-up detection report*/ "RuleList" : [{ /*required, array, people queuing-up detection reports of all regions under multiple rules, up to 3 rules are supported*/ "ruleID": , /*required, integer, rule ID, which corresponds to the region ID when configuring rules*/ "CountRangeList" : [{ /*required, array, people queuing-up data of all regions under a single rule, up to 3 regions are supported*/ "minCount": , /*optional, integer, minimum number of queuing-up people, range: from 0 to 60*/ "maxCount": , /*optional, integer, maximum number of queuing-up people, range: from 0 to 60*/ "CountingInfoList": [{ /*required, people queuing-up 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*/ "count": /*required, integer, number of queuing-up persons: between 0 to 60*/ }] }] }] } }
At least one of the minCount and maxCount fields is required, if only minCount is configured, it indicates no upper-limit, e.g., minCount = 10, maxCount is reserved, the statistics data more than 10 persons will be searched; if only maxCount is configured, it indicates no lower-limit, e.g., maxCount = 10, minCount is reserved, the statistics data less than 10 persons 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.
{ "PersonQueueCountingDescription":{ "reportType":"daily", "startTime":"2017-12-21T00:00:00Z", "searchType":"rule", "RuleList":[{ "ruleID":1 }], "WaitTimeList":[{ "minWaitTime":600, "maxWaitTime":1000 }] } }