TOSHIBA Network Camera - IK-WB15A - SDK (Ver 1.00.SC)

V. API Termination Status

Termination status classification >

This API group notifies ‘Termination code’ and ‘Termination status’ except where image/audio data is notified to the client in the specified format when the getstream type API is successful.

The API termination status is not notified in the HTML format but a message such as shown above is notified in units of lines. If there is data that is notified from the camera, the message is sent starting from the next line of this termination status.

IK-WB15A recommends the client who has executed this API to reference this termination status.

However, regarding termination status except ‘20 OK’, the API notifies only a single termination status even if multiple errors occur inside and outside the API. For this reason, there is a possibility that the client may receive a different status from the intended status.

Accordingly, we recommend checking the general-purpose termination status without expecting the status indicated by the output of each API.

Each termination status that is generally notified from the API group is shown below.

Terminate code

Meaning

 

Termination status

Details

20

Success

20

OK\r\n

Normal termination

30

Client Error

30

InvalidType\r\n

Illegal <type> was specified.

31

Client Error

31

InvalidEntry\r\n

Illegal <entry> name was specified.

32

Client Error

32

InvalidValue\r\n

Illegal <value> was set for <entry>.

33

Client Error

33

InvalidOperand\r\n

The argument format to the API is illegal.

34

Client Error

34

NoEntryData\r\n

<entry>=<value> is not specified.

35

Client Error

35 TooManyEntry\r\n

<entry>=<value> was specified exceeding the necessary number.

40

Server Error

40

FailToSave\r\n

Data registration failed.

41

Server Error

41

FailToGet\r\n

Data acquisition failed.

90

Server Error(Critical)

90

CriticalError\r\n

A fatal error occurred inside the camera.

91

Server Error(Critical)

91

FatalError\r\n

 

92

Server Error(Critical)

92

CriticalError\r\n

 

Next, the termination status limited to an API is shown below. This termination status may be notified by this API in addition to the above termination status.

©TOSHIBA Corp.

9

Page 14
Image 14
Toshiba Toshiba manual API Termination Status