JVC VN-E4U API Guide - Page 35

Acquiring FTP Server User Name Setting from VN-E4, Setting FTP Server User Name for VN-E4

Page 35 highlights

5. API for Acquiring/Changing Parameters of VN-E4 _ 5.5. Alarm Environment Setting Acquiring FTP Server User Name Setting from VN-E4 Format /api/param?application.ftp.user Example of Response application.ftp.user=somename&200 OK Response example when setting field is left blank application.ftp.user=&200 OK Interpretation Acquire the FTP server user name setting used for FTP transmission via alarm. Allowed users admin, operator Setting FTP Server User Name for VN-E4 Format /api/param?application.ftp.user=data Example /api/param?application.ftp.user=somename Example of Response application.ftp.user&200 OK Interpretation Change the FTP server user name setting used for FTP transmission via alarm. The maximum user name size is 60 bytes. Set as follows when this setting is to be left blank. /api/param?application.ftp.user=%00 Allowed users admin, operator Setting FTP Server Password for VN-E4 Format /api/param?application.ftp.password=data Example /api/param?application.ftp.password=someword Example of Response application.ftp.password&200 OK Interpretation Change the FTP server password setting used for FTP transmission via alarm. The maximum password size is 60 bytes. Set as follows when this setting is to be left blank. /api/param?application.ftp.password=%00 Allowed users admin, operator (There is no API for acquiring passwords.) Note Refer to Section 5.4 for details on transmission of JPEG input channel, frame size, prerec and postrec via FTP. Acquiring Chattering Guard Time Setting of Alarm Input from VN-E4 Format /api/param?peripheral.input_pin.pin(Number).chatter Example When acquiring chattering guard time of alarm input 1 /api/param?peripheral.input_pin.pin(1).chatter Example of response peripheral.input_pin.pin(1).chatter=100&200 OK Interpretation Acquire the time setting to prevent chattering in the alarm input. Specify a number between 1 to 4 as VN-E4 has 4 alarm inputs. Unit of the response value is in msec. Allowed users admin, operator, user 35

  • 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

35
5. API for Acquiring/Changing Parameters of VN-E4 _
5.5. Alarm Environment Setting
Acquiring FTP Server User Name Setting from VN-E4
Format
/api/param?application.ftp.user
Example of Response
application.ftp.user=somename&200 OK
Response example
when setting field is
left blank
application.ftp.user=&200 OK
Interpretation
Acquire the FTP server user name setting used for FTP transmission via alarm.
Allowed users
admin, operator
Setting FTP Server User Name for VN-E4
Format
/api/param?application.ftp.user=data
Example
/api/param?application.ftp.user=somename
Example of Response
application.ftp.user&200 OK
Interpretation
Change the FTP server user name setting used for FTP transmission via alarm. The maximum user name size
is 60 bytes.
Set as follows when this setting is to be left blank.
/api/param?application.ftp.user=%00
Allowed users
admin, operator
Setting FTP Server Password for VN-E4
Format
/api/param?application.ftp.password=data
Example
/api/param?application.ftp.password=someword
Example of Response
application.ftp.password&200 OK
Interpretation
Change the FTP server password setting used for FTP transmission via alarm. The maximum password size is
60 bytes. Set as follows when this setting is to be left blank.
/api/param?application.ftp.password=%00
Allowed users
admin, operator
(There is no API for acquiring passwords.)
Note
Refer to Section 5.4 for details on transmission of JPEG input channel, frame size, prerec and postrec via FTP.
Acquiring Chattering Guard Time Setting of Alarm Input from VN-E4
Format
/api/param?peripheral.input_pin.pin(Number).chatter
Example
When acquiring chattering guard time of alarm input 1
/api/param?peripheral.input_pin.pin(1).chatter
Example of response
peripheral.input_pin.pin(1).chatter=100&200 OK
Interpretation
Acquire the time setting to prevent chattering in the alarm input. Specify a number between 1 to 4 as VN-E4
has 4 alarm inputs. Unit of the response value is in msec.
Allowed users
admin, operator, user