Intersvyaz availability check
This request is executed before creation to ensure the correctness of the entered data before creating the intercom
POST/api/admin/v1/intercoms/check-availableHeaders | |||||||||
Authorization | Bearer token | ||||||||
Accept | application/json | ||||||||
X-Client | ios-cctv|android-cctv|thick-legal|web | ||||||||
X-UUID | unique device id |
Body | |||||||||
json |
JSON
| ||||||||
vendorrequired | string | Vendor | |||||||
schemarequired | string | Connection scheme to be used | |||||||
iprequired | string | IP address | |||||||
portrequired | integer | Port | |||||||
loginrequired | string | User login | |||||||
passwordrequired | string | User password |
Response | |||||||||
200 | Successful response: status 200 with an empty body | ||||||||
401 | Authorization token is not provided or is invalid. Obtaining a token | ||||||||
422 | Returns a JSON object with an error. Validation | ||||||||
JSON
|
Example | |||||||||
JSON
|