Time, Acquiring ntp server address from vn-e4, Setting ntp server address for vn-e4 – JVC 4ch Network Encoder VN-E4 User Manual
Page 56: Acquiring access interval to ntp server from vn-e4, Api for acquiring/changing parameters of vn-e4
56
5. API for Acquiring/Changing Parameters of VN-E4 _
The APIs below are related to time. These are equivalent to the features on the Time page of the WEB setting page. Refer to the instruction
manual for details on the Time page.
Acquiring NTP Client Feature On/Off Status from VN-E4
Format
/api/param?network.ntp.status
Example of Response
network.ntp.status=off&200 OK
Interpretation
Acquire the on/off status of NTP client. Either on or off will be returned.
Allowed users
admin, operator, user
Setting NTP Client Feature Status to On/Off for VN-E4
Format
/api/param?network.ntp.status=data
Example
/api/param?network.ntp.status=on
Example of Response
network.ntp.status&200 OK
Interpretation
Change the on/off status of NTP client. Specify as on or off. Upon setting this API, execute the
"network.interface.status=restart" API for enabling network setting changes to enable the new settings.
Allowed users
admin, operator
Acquiring NTP Server Address from VN-E4
Format
/api/param?network.ntp.host
Example of Response
network.ntp.host=10.0.0.100&200 OK
Interpretation
Acquire the address of the NTP server. Either the IP address or FQDN will be returned.
Allowed users
admin, operator, user
Setting NTP Server Address for VN-E4
Format
/api/param?network.ntp.host=data
Example
/api/param?network.ntp.host=10.0.0.100
Example of Response
network.ntp.host&200 OK
Interpretation
Change the address of the NTP server. Specify the IP address or FQDN. Upon setting this API, execute the
"network.interface.status=restart" API for enabling network setting changes to enable the new settings.
Allowed users
admin, operator
Acquiring Access Interval to NTP Server from VN-E4
Format
/api/param?network.ntp.interval
Example of Response
network.ntp.interval=100&200 OK
Interpretation
Acquire the interval for accessing the NTP server. Unit is in minutes.
Allowed users
admin, operator, user
5.12. Time