Api for getting/changing parameters of vn-v686, General – JVC VN-V686UAPI User Manual

Page 17

Advertising
background image

Date: Fri, 13 MAY 2005 07:33:12 GMT<CRLF>

Server: JVC VN-V686 API Server<CRLF>

network.interface.subnetmask=255.0.0.0&200 OK<CRLF>

4) The client disconnects TCP80 to end the use of API.

Note: APIs for getting/setting parameters are not restricted by the access restriction function.

6. API for Getting/Changing Parameters of VN-V686

This section provides description of APIs for getting/changing parameters of VN-V686. Make use of the API

explained in this section in the way as mentioned in Section 5

.

6.1. General

(1) Getting parameter

● Specify API in GET line according to the format below when getting a parameter from VN-V686.

/api/param?ParamA.ParamB.ParamC

The upper limit of this character string is 1024 bytes.

● When acquisition is successfully completed, values will be shown in the body of HTTP response, followed by

"&200 OK" message.

Example:

ParamA.ParamB.ParamC=Data&200 OK

When an error occurs, an error code will be returned instead of indicating a value in the body of HTTP response.

Example:

ParamA.ParamB.ParamC&401 Unauthorized

(2) Setting parameter

● Specify API in GET line according to the format below when setting a parameter for VN-V686.

/api/param?ParamA.ParamB.ParamC=Data

Parameter values are indicated using =. Do not insert space before and after =.

The upper limit of this character string is 1024 bytes.

● Response will be in the following format.

ParamA.ParamB.ParamC&200 OK

17

Advertising