Toshiba Toshiba Manual Do Utilizador

Página de 149
  TOSHIBA Network Camera - IK-WB15A -      SDK (Ver 1.00.SC) 
 
©TOSHIBA Corp. 
109 
(1) List item number 
(2)  Type of alarm list 
exalarm … Alarm In 
motion …. Motion Detection 
(3)  List recoding date/time (ASCII time) 
 
 
When a list is to be output or when a list is being output, an error may occur and the list output may be stopped halfway. In this case, a status 
to notify the error is output after the last list. 
A) case 1 
20 OK\r\n 
\r\n 
alarmlist-1\r\n 
alarmlist-2\r\n 
\r\n 
60 FailAction\r\n 
B) case 2 
20 OK\r\n 
\r\n 
\r\n 
60 FailAction\r\n 
* In both cases of success and failure, the format is not the HTML format. 
 
2)  When at type=RemoveAll/RemoveSpan 
Code 
Status 
Code
Status
20 OK 
60
FailAction
31 InvalidEntry 
32 InvalidValue 
 
15.1.4 Example 
1) http://10.1.0.1/api/wblistalarm.cgi?type=Show 
2) http://10.1.0.1/api/wblistalarm.cgi?type=RemoveAll 
3) http://10.1.0.1/api/wblistalarm.cgi?type=RemoveSpan&StartDT=20050112000000&EndDT=20050124235959 
 
15.1.5 Notes 
1)  The relation between StartDT and EndDT at type= RemoveSpan should be (StartDT <= EndDT) and both should be of the 
yyymmddHHMMSS format. 
2)  At type=RemoveAll and type=RemoveSpan, the corresponding list is immediately deleted without confirmation. 
3)  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. 
4)  This API does not check type=<value> and any argument other than StartDT=<value> and EndDT=<value> at type=RemoveSpan.  
Accordingly, if there are illegal arguments other than these, they are ignored.