Skip to main content
Skip table of contents

Setting up apartments Intersvyaz

The possible intercom settings will be configured based on the type of connection.

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

Headers

Authorization

Bearer token

Accept

application/json

X-Client

ios-cctv|android-cctv|thick-legal|web

X-UUID

unique device id

Body

json

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
}

intercomoptional

int

Unique identifier of the intercom

answer_resistancerequired

integer|null

Total lifting resistance of the handset

quiescent_resistancerequired

integer|null

Total resistance of the handset when placed

break_resistancerequired

integer|null

Resistance of the handset during malfunctions

error_resistancerequired

integer|null

Resistance level during disconnection

panel_system_volumesrequired

integer|null

System sounds of the panel

handset_ring_analog_volumesrequired

integer|null

Volume of the analog handset melody

handset_talk_analog_volumesrequired

integer|null

Volume of the analog handset

panel_talk_analog_volumesrequired

integer|null

Volume on the panel

panel_talk_mobile_volumesrequired

integer|null

Volume on the panel for mobile application

gail_panel_micro_mobile_volumesrequired

integer|null

Microphone amplification on the panel for mobile application

Response

200

Successful response

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 PATCH 'https://vms.local/api/admin/v1/intercoms/{intercom}/setup-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' \
--header 'Content-Type: application/json \
--data-raw '{
    "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
}'
JavaScript errors detected

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

If this problem persists, please contact our support.