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

2.3Auto Patrol Settings

wbsetptautopatrol.cgi

2.3.1Syntax

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

2)http://<camip>/api/wbsetptautopatrol.cgi?type=StayTime[&StayTime=<value>]

3)http://<camip>/api/wbsetptautopatrol.cgi?type=AutoPatrolStopNumber[&PresetNumber-1=<value>][&PresetNumber-2=<value>][&…]

2.3.2Input

Item

Type

Entry name

 

Entry value

Std.val

Unit

Reset to Default

type=Default

-

-

 

-

-

Auto patrol stop time

type=StayTime

StayTime

1/2/5/10

 

1

minute

Preset number -1

type=AutoPatrolStopNumber

PresetNumber-1

1:OFF

2:Checked

1

-

………

 

 

 

………

 

 

Preset number -64

 

PresetNumber-64

1:OFF

2:Checked

1

-

Log output control of cgi common to all types

OpeLog

No/Yes [default: Yes] (omissible)

-

-

2.3.3Output

Code

Status

20

OK

30InvalidType

31InvalidEntry

Code

Status

32InvalidValue

33InvalidOperand

34NoEntryData

Code

Status

92

CriticalError

2.3.4Example

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

2)http://10.1.0.1/api/wbsetptautopatrol.cgi?type=StayTime&StayTime=10

3)http://10.1.0.1/api/wbsetptautopatrol.cgi?type=AutoPatrolStopNumber&PresetNumber-1=2&PresetNumber-33=2

2.3.5Note

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

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.

34

Page 39
Image 39
Toshiba Toshiba manual Wbsetptautopatrol.cgi