TOSHIBA Network Camera - IK-WB15A - SDK (Ver 1.00.SC)
5.1User Login Restriction
wbsetadminuserinfo.cgi
5.1.1Syntax
1)http://<camip>/api/wbsetadminuserinfo.cgi?type=Default[&Reboot=<value>]
2)http://<camip>/api/wbsetadminuserinfo.cgi?type=Set[&LoginRestriction=<value>]
5.1.2Input
Item | Type | Entry name | Entry value | Std.val | Unit |
Reset to Default | type=Default | - | - | - | - |
Login restriction | type=Set | LoginRestriction | 1:OFF 2:ON | 2 | - |
Camera rebooting control of cgi common to all types | Reboot | No/Yes [default: No] (omissible) | - | - | |
Log output control of cgi common to all types | OpeLog | No/Yes [default: Yes] (omissible) | - | - |
5.1.3Output
Code | Status |
20 | OK |
30InvalidType
31InvalidEntry
Code | Status |
32InvalidValue
33InvalidOperand
34NoEntryData
Code | Status |
92 | CriticalError |
5.1.4Example
1)http://10.1.0.1/api/wbsetadminuserinfo.cgi?type=Default&Reboot=Yes
2)http://10.1.0.1/api/wbsetadminuserinfo.cgi?type=Set&LoginRestriction=2&Reboot=Yes
5.1.5Notes
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.
5)To validate a setting by this API, the camera must be rebooted.
6)When Reboot=Yes is entered and setting can be performed according to other entered value, the camera performs reboot processing as it is. Accordingly, the client may not receive “20 OK\r\n” being a normal termination status.
7)When Reboot=No is entered, reboot the camera by wbsetcamreboot.cgi or turn on/off the power supply of the camera after starting this API.
©TOSHIBA Corp.
49