JVC VN-E4U API Guide - Page 56

Time, Acquiring NTP Client Feature On/Off Status from VN-E4

Page 56 highlights

5. API for Acquiring/Changing Parameters of VN-E4 _ 5.12. Time 5.12. Time 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 56

  • 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

56
5. API for Acquiring/Changing Parameters of VN-E4 _
5.12. Time
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