http://<servername>/cgi-bin/admin/lsctrl.cgi?cmd=search&triggerType='motion'+OR+'di'+OR+'seq'&tr
iggerTime='2008-01-01 00:00:00'+TO+'2008-01-01 23:59:59'
Command: delete
PARAMETER
VALUE
label
<integer primary key>
Ex. Delete records whose key numbers are 1, 4, and 8.
http://<servername>/cgi-bin/admin/lsctrl.cgi?cmd=delete&label=1&label=4&label=8
Command: update
PARAMETER
VALUE
label
<integer primary key>
isLocked
<boolean>
Ex. Update records whose key numbers are 1 and 5 to be locked status.
http://<servername>/cgi-bin/admin/lsctrl.cgi?cmd=update&isLocked=1&label=1&label=5
Ex. Update records whose key numbers are 2 and 3 to be unlocked status.
http://<servername>/cgi-bin/admin/lsctrl.cgi?cmd=update&isLocked=0&label=2&label=3
Command: queryStatus
PARAMETER
VALUE
retType
xml or javascript
Ex. Query local storage status and call for javascript format return message.
http://<servername>/cgi-bin/admin/lsctrl.cgi?cmd=queryStatus&retType=javascript
DESCRIPTION
Required.
Identify the designated record. Ex.
label=1
DESCRIPTION
Required.
Identify the designated record. Ex.
label=1
Required.
Indicate if the file is locked or not.
DESCRIPTION
Optional.
Ex. retype=javascript
The default return message is in XML format.
335