beautypg.com

Setting access interval to ntp server for vn-e4, Acquiring time from vn-e4, Setting time for vn-e4 – JVC 4ch Network Encoder VN-E4 User Manual

Page 57: Acquiring timezone from vn-e4, Api for acquiring/changing parameters of vn-e4

background image

57

5. API for Acquiring/Changing Parameters of VN-E4 _

5.12. Time

Setting Access Interval to NTP Server for VN-E4

Format

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

Example

/api/param?network.ntp.interval=60

Example of Response

network.ntp.interval&200 OK

Interpretation

Change the interval for accessing the NTP server. Unit is in minutes. 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 Time from VN-E4

Format

/api/param?system.date

Example of Response

system.date=20050614171537&200 OK

Interpretation

Acquire the time from the built-in clock of VN-E4. 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-E4

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-E4. 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

Acquiring Timezone from VN-E4

Format

/api/param?system.timezone

Example of Response

system.timezone=Pacific&200 OK

Interpretation

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

Timezone Character String

Description

GMT-12

Timezone that is 12 hours earlier than the Greenwich Mean Time.

GMT-11

Timezone that is 11 hours earlier than the Greenwich Mean Time.

GMT-10

Timezone that is 10 hours earlier than the Greenwich Mean Time.

Hawaii

Same timezone as GMT-10

GMT-9

Timezone that is 9 hours earlier than the Greenwich Mean Time.

Alaska

Same timezone as GMT-9

GMT-8

Timezone that is 8 hours earlier than the Greenwich Mean Time.

Pacific

(GMT-8:00) US/Pacific Time

GMT-7

Timezone that is 7 hours earlier than the Greenwich Mean Time.

Arizona

Same timezone as GMT-7

Mountain

Same timezone as GMT-7