Update settings for an intercom
Apartment update
{
"is_smartphone_sip_line_available": true,
"is_landline_sip_line_available": false,
"number": "91201692@vgw1.vms.local",
"landline_number": "+375292769284",
"users_to_attach": [
5,
6
],
"users_to_detach": [
6
],
"keys_to_attach": [
4
],
"keys_to_detach": [
3
],
"map_user_key": {
"user": 6,
"method": "select",
"keys": [
1,
2
]
}
}
PATCH /api/admin/v1/intercoms/{intercom}/flats/{flat} |
Parameters
int
intercom, Unique identifier of the intercom
int
flat, Unique apartment identifier
bool
is_smartphone_sip_line_available, Whether smartphone ringing is enabled
bool
is_landline_sip_line_available, Is calling to a landline phone number enabled?
bool
is_analog_line_available, Whether analog handset ringing is enabled
string
landline_number, Landline phone number
string
number, sip apartment number
array
users_to_attach, array of users that will be added to the apartment
array
users_to_detach, array of users who will be deleted from the apartment
array
keys_to_attach, an array of keys that will be added to the apartment
array
keys_to_detach, array of keys that will be deleted from the apartment
integer|null
panel_system_volumes, Panel system sounds
integer|null
handset_ring_analog_volumes, Analog handset melody volume
integer|null
handset_talk_analog_volumes, Analog handset speaker volume
integer|null
panel_talk_analog_volumes, Panel speaker volume when calling an analog handset
integer|null
panel_talk_mobile_volumes, Speaker volume decreased when using the mobile application
integer|null
gail_panel_micro_mobile_volumes, Gain the panel microphone when using a mobile application
integer|null
answer_resistance, Resistance level of the analog handset raised
integer|null
quiescent_resistance, On-hook resistance level
200 |
Successful response
JSON
|
401 |
Authorization token not sent or not valid |