Vivotek IP8364-C user manual Return Message

Models: IP8364-C

1 196
Download 196 pages 36.28 Kb
Page 184
Image 184
8.13.1 Return Message

VIVOTEK

URL Command Document for All SeriesIP8364

Ex. label=1

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

 

DESCRIPTION

 

label

 

<integer primary key>

 

Required.

 

 

 

 

 

Identify the designated record.

 

 

 

 

 

Ex. label=1

 

 

 

 

 

 

 

isLocked

 

<boolean>

 

Required.

 

 

 

 

 

Indicate if the file is locked or not.

 

 

 

 

 

 

 

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

8.13.1 Return Message

The returned results are always in XML format, except for storage status related elements that can be returned in javascript format. (i.e. status, totalSize, freeSize, and usedSize.)

The elements are listed as follows. Group: stormgr

Element name

 

Type

 

Description

 

 

counts

 

<Positive Integer>

 

Total number of matched records.

 

limit

 

<Positive Integer>

 

Limit the maximum number of returned search records.

 

 

 

 

 

Could be empty if not specified.

 

offset

 

<Positive Integer>

 

Specifies how many rows to skip at the beginning of the

 

 

 

 

 

matched records.

 

 

 

 

 

 

Could be empty if not specified.

 

 

 

 

 

 

 

 

statusCode

 

<Integer>

 

The reply status (see table below)

 

 

 

 

 

Value of return-code

Description

 

 

 

 

 

200

OK

 

 

 

 

 

 

 

 

 

 

 

 

400

Unrecognized Message Type/Content

 

 

 

 

 

 

 

 

 

 

 

 

500

Server executes command error.

 

 

 

 

 

 

 

 

 

 

 

 

501

Parse Input Message Failed.

 

 

 

 

 

 

 

 

184 - User's Manual

72

 

 

Page 184
Image 184
Vivotek IP8364-C user manual Return Message