Skip to main content
Skip table of contents

Get the settings for apartments with Intersvyaz intercoms

Getting apartment settings Intersvyaz

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

GET /api/admin/v1/intercoms/{intercom}/get-flats-settings

Parameters

int intercom, Unique identifier of the intercom

200 OK

Successful response. 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,
    "panel_talk_mobile_volumes": 248,
    "gail_panel_micro_mobile_volumes": 250
}

200 OK

Successful response. Connection type - fixed

JSON
{
    "panel_system_volumes": 8
}

200 OK

Successful response. Connection type - smart

JSON
{
    "panel_system_volumes": 8,
    "panel_talk_mobile_volumes": 248,
    "gail_panel_micro_mobile_volumes": 250
}

200 OK

Successful response. Connection type - Combined 1

JSON
{
    "answer_resistance": 255,
    "quiescent_resistance": 255,
    "break_resistance": 255,
    "error_resistance": 255,
    "panel_system_volumes": 8,
    "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
}

200 OK

Successful response. Connection type - Combined 2

JSON
{
    "panel_system_volumes": 8,
    "panel_talk_mobile_volumes": 248,
    "gail_panel_micro_mobile_volumes": 250
}

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}/get-flats-settings' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '{
    "intercom": 0
}'
PHP
PHP
$data = array (
  'intercom' => 0,
);
$context = stream_context_create([
	'ssl'=>['verify_peer' => false],
	'http' => [
		'method' => 'GET',
		'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}/get-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.