JSON message about conditions of searching for people queuing-up reports
{ "PersonQueueCountingDescription": { /*required, search condition of people queuing-up report*/ "fileType": "", /*optional, string, file type, opt="excel, txt"*/ "reportType": "", /*required, string, report type, opt="daily, weekly, monthly, custom"*/ "startTime": "", /*required, IOS8601 time, search start time, e.g., "2004-05-03T00:00:00+08:00" or "2004-05-03T00:00:00.000Z"*/ "RuleList": [{ /*required, rule information, up to 3 rules can be supported*/ "ruleID": , /*required, integer, rule ID, which corresponds to the region ID when configuring rule*/ }], "CountRangeList" : [{ /*required, array, people queuing-up data of all regions under a 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*/ }] "endTime": "", /*dep, IOS8601t type, end time of report search, e.g., 2004-05-03T00:00:00+08:00, it is valid only when the reportType is "custom"*/ "customReportAccuracy": "day" /*dep, cuatom report accuracy, currently, it only corrects to day, and it is valid only when the reportType is "custom"*/ } }
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 people 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.
{ "PersonQueueTimeDescription":{ "fileType":"excel", "reportType":"daily", "startTime":"2017-1-14T00:00:00Z", "searchType":"rule", "RuleList":[{ "ruleID":1 }], "CountList":[{ "minCount":0, "maxCount":20 }, { "minCount":20, "maxCount":40 }] } }