JVC VN-E4U API Guide - Page 31

Alarm Environment Setting, Acquiring SMTP Server Address Setting from VN-E4

Page 31 highlights

5. API for Acquiring/Changing Parameters of VN-E4 _ 5.5. Alarm Environment Setting 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 31

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80

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