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.
Specify mailto, mail address, JPEG attach and the character string to be sent when sending via mail. Segments are indicated by /. The maximum number of characters for the mail address is 95. To attach JPEG, specify object01. If none is specified instead of object01, JPEG is not attached to the mail. Number of the character string is from 1 to 127 bytes. To use following characters, specify by hexadecimal number after %.
space
37