JSON_ApplyVideoTask

JSON message about the parameters of sending video analysis tasks

{
  "taskID":"", 
/*required, string, task ID, 64 bytes at most, managed and maintained by the platform, transparent transmission by the device*/
  "engine":1, 
/*required, int, for distinguishing models running in different engines*/
  "channel":[1, 2], 
/*required, int, device channel No., specified device channel No. for video analysis task*/
  "frameRate":2500, 
/*required, int, detection frame rate (frame rate*100)*/
  "alertInterval":1, 
/*optional, float, alert interval: 1(1 time per second), 0.5(2 times per second)*/
  "TimeRange":[{
/*optional,daily arming schedules of tasks(by week), 8 time periods per day is the default*/
    "week":1, 
/*required, int,week: 1(Monday), 2(Tuesday), 3(Wednsday), 4(Thursday), 5(Friday), 6(Saturday), 7(Sunday)*/
    "beginTime":"00:00", 
/*required, string,start time in ISO 8601 time format*/
    "endTime":"24:00"
/*required, string,end time in ISO 8601 time format*/
  }], 
  "alarmTargetOverlay":true, 
/*optional, boolean, whether to enable alarm target frame overlay*/
  "EventTrigger":[{
/*optional, linkage configurations for task, not sending this filed means not performing the configured linkage operations, sending null filed means deleting the linkage*/
    "notificationMethod":"", 
/*required, string, types of linkage: email(E-mail linkage), IM(IM linkage), IO(IO linkage),syslog(system log linkage), HTTP(HTTP linkage), FTP(FTP linkage),beep(buzzer linkage), ptz(PTZ linkage), record(record linkage), monitorAlarm, center(send to the center), LightAudioAlarm(light and audio alarm), focus(focus on), trace(trace), whiteLight(white light), audio(audio)*/
    "outputIOPortID":"", 
/*optional, string, linkage alarm output port No.*/
    "videoInputID":"", 
/*optional, string, analog channel No., indicates the channel for linkage operations*/
    "dynOutputIOPortID":""
/*optional, string, digital channel No.,indicates the channel for linkage operations*/
  }]
}