Adding an intercom. VMS Client API
This request is used to start the process of adding an intercom.
The user must enter a code, and then attach the key to the intercom (it should be compatible with this intercom).
After doing so, they will receive a push notification via WebSocket, and they will need to select the apartment, see Apartment selection
If such an intercom has already been added, a push notification will be sent with an error description.
POST/api/v1/intercomHeaders | |||||||||
Authorization | Bearer token | ||||||||
Accept | application/json | ||||||||
X-Client | ios-cctv|android-cctv|thick-legal|web | ||||||||
X-UUID | unique device id |
Response | |||||||||
200 | Successful response | ||||||||
JSON
| |||||||||
401 | Authorization token not provided or invalid, see Obtaining a token | ||||||||
422 | Returns a JSON object with an error, see Validation | ||||||||
JSON
|
Example | |||||||||
JSON
|