31
5. API for Acquiring/Changing Parameters of VN-E4 _
5.5. Alarm Environment Setting
The APIs below are related to alarm environment setting. These are equivalent to the features on the Alarm Environment page of the WEB
setting page. Refer to the instruction manual for details on the Alarm Environment page.
Acquiring SMTP Server Address Setting from VN-E4
Format
/api/param?application.smtp.host
Example of Response
application.smtp.host=10.0.0.200&200 OK
Response example
when setting field is
left blank
application.smtp.host=&200 OK
Interpretation
Acquire the address setting of the SMTP server.
Allowed users
admin, operator, user
Setting SMTP Server Address for VN-E4
Format
/api/param?application.smtp.host=data
Example
/api/param?application.smtp.host=10.0.0.200
Example of Response
application.smtp.host&200 OK
Interpretation
Change the address setting of the SMTP server. Specify the IP address or FQDN. The maximum FQDN size is
60 bytes. Specify as 0.0.0.0 when the SMTP server is not set. It is also possible to leave the setting field blank
as follows.
/api/param?application.smtp.host=%00
Allowed users
admin, operator
Acquiring SMTP Server Port Number Setting from VN-E4
Format
/api/param?application.smtp.port
Example of Response
application.smtp.port=25&200 OK
Interpretation
Acquire the port number setting of the SMTP server.
Allowed users
admin, operator, user
Setting SMTP Server Port Number for VN-E4
Format
/api/param?application.smtp.port=data
Example
/api/param?application.smtp.port=25
Example of Response
application.smtp.port&200 OK
Interpretation
Change the port number setting of the SMTP server.
Allowed users
admin, operator
5.5. Alarm Environment Setting