Toshiba Toshiba Security Camera User Manual


 
TOSHIBA Network Camera - IK-WB15A - SDK (Ver 1.00.SC)
©TOSHIBA Corp.
36
2.5 Easy Preset Deletion
wbpresetapi.cgi
2.5.1 Syntax
1) http://<camip>/api/wbpresetapi.cgi?cont 4=<PresetID>&savesysvar
2) http://<camip>/api/wbpresetapi.cgi?cont 4=<PresetID>&<presetnameID>=<value>&savesysvar
2.5.2 Input
Item Entr
y
name Entr
y
value Std.val Uni
t
Preset ID for deletion cont_4 <presetID> --
Preset name for deletion <presetnameID> any (max. 12 bytes) - -
Save this preset information savesysva
r
- - -
Log output control of cgi common to all types OpeLog No/Yes [default: Yes] (omissible) - -
<presetID> is determined by the following method:
<presetID> = 768 + <PresetNumber>
For example, to delete Preset Number 1, the parameter would be ‘cont_4=769
Next, indication of the <presetnameID> is shown.
presetname_n where n is the Preset Number. (n :1-64)
When deleting “Position Name” of Preset Number-2, the parameter of ‘presetname_2=’ has to be given.
2.5.3 Output
Code Status Code Status Code Status
20 OK 32 InvalidValue 92 CriticalErro
r
30 InvalidType 33 InvalidOperand
31 InvalidEntr
y
34 NoEntryData
2.5.4 Example
1) http://10.1.0.1/api/wbpresetapi.cgi?cont 4=769&savesysvar
2) http://10.1.0.1/api/wbpresetapi.cgi?cont 4=769&presetname_1=&savesysvar
2.5.5 Note
1) This API deletes assigned “Preset Number” and/or “Position Name” without giving caution.
2) If given such as ‘http://10.1.0.1/api/wbpresetapi.cgi?cont_4=770&presetname_9=&savesysvar’, the position of preset #2 will be deleted,
and “Position Name” of preset #9 will be gone.