TOSHIBA Network Camera - IK-WB15A - SDK (Ver 1.00.SC)

5.3NTP Settings

wbsetadminTaD.cgi

5.3.1Syntax

1)http://<camip>/api/wbsetadminTaD.cgi?type=Default

2)http://<camip>/api/wbsetadminTaD.cgi?type=TimeZone[&Location=<value>]

3)http://<camip>/api/wbsetadminTaD.cgi?type=NTP[&Mode=<value>][&Server=<value>][&AdjustingCycle=<value>]

4)http://<camip>/api/wbsetadminTaD.cgi?type=DaylightSaving[&Mode=<value>]

5.3.2Input

Item

Type

Entry name

 

Entry value

Std.val

Unit

Reset to Default

type=Default

-

-

 

-

-

Time zone

type=TimeZone

Location

-12 -

+12

-7

hour

Using NTP

type=NTP

Mode

1:OFF

2:ON

1

-

NTP Server name

 

Server

any (max.64 bytes)

 

-

Adjusting Cycle

 

AdjustingCycle

1:On camera boot and 24-hour priod

1

-

 

 

 

2:On camera boot and 12-hour priod

 

 

 

 

 

3:On camera boot and 6-hour priod

 

 

 

 

 

4:On camera boot and 1-hour priod

 

 

Daylight Saving

type=DaylightSaving

Mode

1:OFF

2:ON

1

-

Log output control of cgi common to all types

OpeLog

No/Yes [default: Yes] (omissible)

-

-

5.3.3Output

Code

Status

20

OK

30InvalidType

31InvalidEntry

Code

Status

32InvalidValue

33InvalidOperand

34NoEntryData

Code

Status

92

CriticalError

5.3.4Example

1)http://10.1.0.1/api/wbsetadminTaD.cgi?type=Default

2)http://10.1.0.1/api/wbsetadminTaD.cgi?type=TimeZone&Location=-8

3)http://10.1.0.1/api/wbsetadminTaD.cgi?type=NTP&Mode=2&Server=ntp.hoge.com&AdjustingCycle=2

4)http://10.1.0.1/api/wbsetadminTaD.cgi?type=DaylightSaving&Mode=2

5.3.5Notes

1)If only type=NTP is entered and then <entry>=<value> is not entered, no setting is performed.

2)Multiple type=<value> cannot be enumerated simultaneously. This API must be started for each type.

3)For only entered items, setting is performed. For the other items, their existing values are held.

4)When OpeLog=No is entered, a log related to API start/end is not output. When it is omitted, it is regarded as OpeLog=Yes.

©TOSHIBA Corp.

52

Page 57
Image 57
Toshiba Toshiba manual WbsetadminTaD.cgi