JSON message about the parameters of applying and getting the history video task
{ "Tasks":[{ "taskID":"", /*required, string, task ID, the maximum size is 64 bytes*/ "engine":1, /*required, int, engine ID which is used to distinguish models running in different engines*/ "channel":[1,2], /*required, int, device channel No. which is the video analysis channel No. of the device*/ "frameRate":2500, /*required, int, detection frame rate during protocol transmission is the actual frame rate multiplying 100*/ "alertInterval":1, /*optional, float, alarm interval. When it is 1, it means once each second; when it is 0.2, it meas twice each second*/ "pollingTime":60, /*required, int, polling time, which is the time interval switching among channels during polling, unit: second*/ "status":0, /*required, int, status information: 0 (not executed), 1 (executing), 2 (executing exception), 3 (waiting)*/ "recordTime":{ /*required, object, overall time period*/ "beginTime":"2020-02-17 10:00:00", /*required, string, start time*/ "endTime":"2020-03-18 10:00:00" /*required, string, end time*/ }, "TimeRange":[{ /*required, array of object, specific time period, e.g., from 7:00:00 to 9:00:00 each Monday, from 17:00:00 to 20:00:00 every Tuesday, etc.*/ "week":1, /*required, int, day of the week in ISO 8601 time format: 1-Monday...*/ "beginTime":"7:00:00", /*required, string, start time in ISO 8601 time format*/ "endTime":"9:00:00" /*required, string, end time in ISO 8601 time format*/ }], "drawFrame":0 /*optional, int, ratio of the frames extracted by the server sending the history stream, which is between 0 and 100, and 0 indicates extracting no frame*/ }] }