Intercom settings (v2)
|
PATCH /api/v2/billing/intercoms/{intercom}/settings |
Updates panel settings directly on the device. Only specified fields are sent. A field not supported by the panel is rejected with 422 and the field key (for sip_options the key is sip_options); supported fields are listed in features in the "Intercom capabilities (v2)" response.
{
"collecting_keys": true,
"door_open_time_general": 5,
"sip_options": {
"talk_duration": 120,
"ring_duration": 30,
"dtmf": [
{
"id": 1,
"value": "1"
}
]
}
}
Method parameters
int intercom required , Intercom ID (in the URL)
boolean collecting_keys, Automatic key collection (capability `collecting_keys`)
integer door_open_time_general, Door opening time in seconds: 1 to 60; 4 to 10 for Intersvyaz; 5 to 10 for Beward (capability `door_open_time`)
array sip_options, Additional SIP settings
|
204 |
|
Successful response |
|
404 |
|
Intercom not found |
|
422 |
|
Returns a JSON error object. For more information, see General information > Validation. JSON
|