Skip to main content
Skip table of contents

Set up Intersvyaz intercoms

Setting up apartments Intersvyaz

Possible intercom settings will be configured depending on the type of connection

Example of intercom settings. Connection type - matrix-switching.

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
}

Example of intercom settings. Connection type - fixed.

JSON
{
    "panel_system_volumes": 25
}

Пример настроек домофона, при типе подключения - smart.

JSON
{
    "panel_system_volumes": 25,
    "panel_talk_mobile_volumes": 10,
    "gail_panel_micro_mobile_volumes": 10
}

Пример настроек домофона, при типе подключения - combined 1.

JSON
{
    "answer_resistance": 10,
    "quiescent_resistance": 20,
    "break_resistance": 30,
    "error_resistance": 40,
    "panel_system_volumes": 50,
    "handset_ring_analog_volumes": 60,
    "handset_talk_analog_volumes": 70,
    "panel_talk_analog_volumes": 80,
    "panel_talk_mobile_volumes": 90,
    "gail_panel_micro_mobile_volumes": 100
}

Пример настроек домофона, при типе подключения - combined 2.

JSON
{
    "panel_system_volumes": 25,
    "panel_talk_mobile_volumes": 10,
    "gail_panel_micro_mobile_volumes": 10
}

PATCH /api/admin/v1/intercoms/{intercom}/setup-flats-settings

Parameters

int intercom, Unique identifier of the intercom


integer|null answer_resistance, Total on-hook resistance


integer|null quiescent_resistance, Total on-hook resistance


integer|null break_resistance, Tube resistance during fault


integer|null error_resistance, Break resistance level


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 volume


integer|null panel_talk_analog_volumes, Panel volume


integer|null panel_talk_mobile_volumes, Volume on the panel for the mobile application


integer|null gail_panel_micro_mobile_volumes, Gain the panel microphone for a mobile application

200 OK

Successful response

401 Unauthorized

Authorization token not sent or not valid

422 Unprocessable Entity

Returns a JSON object with an error.

JSON
{
    "message": "There will be no informative message here",
    "errors": {
        "any_key": [
            "The cause of the error will be described here"
        ]
    }
}
cURL
BASH
curl -k --request POST \
	--url 'https://your-domain/api/admin/v1/intercoms/{intercom}/setup-flats-settings' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '{
    "intercom": 0,
    "answer_resistance": "integer|null",
    "quiescent_resistance": "integer|null",
    "break_resistance": "integer|null",
    "error_resistance": "integer|null",
    "panel_system_volumes": "integer|null",
    "handset_ring_analog_volumes": "integer|null",
    "handset_talk_analog_volumes": "integer|null",
    "panel_talk_analog_volumes": "integer|null",
    "panel_talk_mobile_volumes": "integer|null",
    "gail_panel_micro_mobile_volumes": "integer|null"
}'
PHP
PHP
$data = array (
  'intercom' => 0,
  'answer_resistance' => 'integer|null',
  'quiescent_resistance' => 'integer|null',
  'break_resistance' => 'integer|null',
  'error_resistance' => 'integer|null',
  'panel_system_volumes' => 'integer|null',
  'handset_ring_analog_volumes' => 'integer|null',
  'handset_talk_analog_volumes' => 'integer|null',
  'panel_talk_analog_volumes' => 'integer|null',
  'panel_talk_mobile_volumes' => 'integer|null',
  'gail_panel_micro_mobile_volumes' => 'integer|null',
);
$context = stream_context_create([
	'ssl'=>['verify_peer' => false],
	'http' => [
		'method' => 'PATCH',
		'header' => "Content-Type: application/json\r
Accept: application/json",
		'content'=>json_encode($data)
	]
]);
$result = file_get_contents('https://your-domain/api/admin/v1/intercoms/{intercom}/setup-flats-settings', false, $context);
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.