JSON message about conditions of searching for waiting time detection reports
{ "PersonQueueTimeDescription": { /*required, search condition of waiting time detection report*/ "fileType": "", /*optional, string, file type, "excel, txt"*/ "reportType": "", /*required, string, report type, "daily, weekly, monthly, custom"*/ "startTime": "", /*required, IOS8601 time, start time of searching report, 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*/ }], "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": , /*Optional, integer, maximum waiting time, range: from 0 to 3600s*/ }] "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 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.
{ "PersonQueueTimeDescription":{ "reportType":"daily","startTime":"2017-1-14T00:00:00Z", "searchType":"rule", "RuleList":[{ "ruleID":1 }], "CountList":[{ "minCount":0, "maxCount":20 }] } }