Setting On/Off of Alarm Action, or Enabling Changes to Alarm Action for
Format /api/param?application.event(Number).status=data
Example When setting alarm action No. 1 to off
/api/param?application.event(1).status=off
Example of response application.event(1).status&200 OK
Interpretation Set the alarm action of the specified alarm action number to on/off, or enable changes to the alarm action. 5 alarm actions and 1 periodic FTP assigned to No.6 are available, so alarm action number can be 1 to 6. Note that alarm numbers are different from the alarm input pin numbers. Either on or off will be returned.
Specify "on", "off" or "restart". By "restart", changes to alarm action and alarm trigger are enabled. By "on" after "restart", the alarm action starts working with the changed settings. If "restart" is not set after changes to alarm action and alarm trigger, APIs to get settings of alarm action and alarm trigger return previous values.
Allowed users admin, operator
Getting Alarm Action from VN-V685/686/686B
Format /api/param?application.event(Number).action
Example When Getting action of alarm action No. 1
/api/param?application.event(1).action
Example of Response
application.event(1).action=mailto/somebody@somecompany.com/none/Message&200 OK
Interpretation Acquire the alarm action of the specified alarm action number. 5 alarm actions and 1 periodic FTP assigned to No.6 are available, so alarm action number can be 1 to 6. Note that alarm numbers are different from the alarm input pin numbers. A separate API (/api/param?application.event(Number).status) is used to acquire the on/off status of the alarm action.
When no action is specified, response below is returned.
Example of Response application.event(1).action=&200 OK
When sending mail is specified, mailto, mail address, JPEG attaching and the character string to be sent will be returned. When spaces are included in the character string, the character string with spaces will be returned. Segments are indicated by /. If JPEG attaching is on, "object01" is returned, and if JPEG attaching is off, "none" is returned.
Example of Response
application.event(1).action=mailto/somebody@somecompany.com/object01/Message&2
00 OK
When "PrePostRecording + FTP" is specified, recftp, FTP number, and the attached object number will be returned. Segments are indicated by /. The FTP number is fixed as ftp01 at all times. The object number is fixed as object01.
38