Getting access interval unit of ntp from vn-v686, Setting access interval unit of sntp for vn-v686, Getting time from vn-v686 – JVC VN-V686UAPI User Manual

Page 91: Setting time for vn-v686, Getting timezone from vn-v686

Advertising
background image

Getting Access Interval Unit of NTP from VN-V686

Format

/api/param?network.ntp.unit

Example of Response

network.ntp.unit=hour&200 OK

Interpretation Acquire the unit of interval for accessing the NTP server. "min", "hour" or "day" is returned.

Allowed users admin, operator, user

Setting Access Interval Unit of SNTP for VN-V686

Format

/api/param?network.ntp.unit=data

Example

/api/param?network.ntp.unit=day

Example of Response

network.ntp.unit&202 Accepted(network.ntp.status=restart)

Interpretation Change the unit of interval for accessing the NTP server. Specify "min", "hour" or "day". To

validate the change, use "network.ntp.status=restart" API.

Allowed users admin, operator

Getting Time from VN-V686

Format

/api/param?system.date

Example of Response

system.date=20050614171537&200 OK

Interpretation Acquire the time from the built-in clock of VN-V686. Time is arranged in the order of year, month,

day, hour, minute and second. Year is denoted in a 4-digit decimal number, and month, day, hour, minute and second

are denoted in 2-digit decimal numbers.

Allowed users admin, operator, user

Setting Time for VN-V686

Format

/api/param?system.date=data

Example

/api/param?system.date=20050614171537

Example of Response

system.date&200 OK

Interpretation Change the time of the built-in clock in VN-V686. Specify in the order of year, month, day, hour,

minute and second. Specify year in a 4-digit decimal number, and month, day, hour, minute and second in 2-digit

decimal numbers.

Allowed user admin

Getting Timezone from VN-V686

Format

/api/param?system.timezone

Example of Response

system.timezone=Pacific&200 OK

Interpretation Acquire the timezone from VN-V686. Character strings in the following table will be returned.

91

Advertising