application.event(1).action=udpto/10.0.0.100/20000/Message&200 OK
When alarm output is specified, pinout, distinction between make/break (m1 or b1) and output time (millisecond) will be returned. Segments are indicated by /.
Example of Response application.event(1).action=pinout/m1/1500&200 OK
When preset position is specified, position number will be returned.
Example of Response when position number is 2
application.event(1).action=camera.position(2).status/goto&200 OK
When B&W mode is specified, true_daynight/bw, true_daynight/color, true_daynight/autoH, true_daynight/autoM or true_daynight/autoL will be returned.
Example of Response when B&W mode is bw
application.event(1).action=camera.image.true_daynight/bw&200 OK
Alarm action of event number 6 is periodic FTP. Response to the API has ftpto, FTP number, and the attached object number. Segments are indicated by /. The FTP number is fixed as ftp01 at all times. The object number is fixed as object01. Parameters of FTP can be gotten by another API, application.ftp.
Example of Response application.event(6).action=ftpto/ftp01/object01&200 OK
Allowed users admin, operator
Setting Alarm Action for VN-V686
Format /api/param?application.event(Number).action=Data
Example When setting action of Alarm No. 1
/api/param?application.event(1).action=mailto/somebody@somecompany.com/none/Me
ssage
Example of Response
application.event(1).action&202 Accepted(application.event(1).status=restart)
Interpretation Set the alarm action of the specified alarm number. Up to 5 alarm actions can be specified, and therefore the number of alarm(number) can also be set between the range of 1 to 5. Note that alarm numbers are different from the alarm input pin numbers. A separate API (/api/param?application.event(Number).status=off) is used to set the alarm action to off.
The action will be activated by setting the alarm trigger. The API for setting the alarm trigger is /api/param?application.event(Number).trigger.
The changes to settings of alarm action become valid by /api/param?application.event(Number).status=restart.
38