18
6. API for Getting/Changing Parameters of VN-V685/686/686B
This section provides description of APIs for getting/changing parameters of VN-V685/686/686B. 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-V685/686/686B.
/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-V685/686/686B.
/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
An error code will be returned when setting is not properly performed. Example:
ParamA.ParamB.ParamC&401 Unauthorized

6.2. Camera

These APIs are related to camera settings. Same functions are shown on the Camera page of the WEB setting page and