Receiving apartment settings Intersvyaz
The possible settings of the intercom will be provided depending on the type of connection.
GET/api/admin/v1/intercoms/{intercom}/get-flats-settingsHeaders |
Authorization | Bearer token |
Accept | application/json |
X-Client | ios-cctv|android-cctv|thick-legal|web |
X-UUID | unique device id |
Body |
intercomoptional | int | Unique identifier of the intercom |
Response |
200 | Successful response |
JSON
{
"answer_resistance": 255,
"quiescent_resistance": 255,
"break_resistance": 255,
"error_resistance": 255,
"panel_system_volumes": 25,
"handset_ring_analog_volumes": 25,
"handset_talk_analog_volumes": 251,
"panel_talk_analog_volumes": 22,
"panel_talk_mobile_volumes": 248,
"gail_panel_micro_mobile_volumes": 250
}
|
401 | Authorization token is not provided or is invalid. Obtaining a token |
422 | Returns a JSON object with an error. Validation |
JSON
{
"message": "There will be no informative message here",
"errors": {
"any_key": [
"The reason for the error will be described here"
]
}
}
|
Example |
JSON
curl -k --location --request GET 'https://vms.local/api/admin/v1/intercoms/{intercom}/get-flats-settings' \
--header 'Authorization:Bearer token' \
--header 'Accept:application/json' \
--header 'X-Client:ios-cctv|android-cctv|thick-legal|web' \
--header 'X-UUID:unique device id'
|