Skip to main content
Skip table of contents

Setting up apartments Sputnik

Possible intercom settings will be configured depending 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
{
    "quiescent_resistance": 10,
    "open_door_resistance": 10,
    "speak_sip_volumes": 53,
    "speak_loudspeaker_volumes": 56,
    "panel_micro_volumes": 70,
    "panel_system_volumes": 54
}

intercomoptional

int

Unique identifier of the intercom

quiescent_resistancerequired

integer

Overall door opening threshold

open_door_resistancerequired

integer

Overall handset removal threshold

speak_sip_volumesrequired

integer

SIP volume

speak_loudspeaker_volumesrequired

integer

Panel speaker volume

panel_micro_volumesrequired

integer

Microphone sensitivity

panel_system_volumesrequired

integer

Main operation volume

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 '{
    "quiescent_resistance": 10,
    "open_door_resistance": 10,
    "speak_sip_volumes": 53,
    "speak_loudspeaker_volumes": 56,
    "panel_micro_volumes": 70,
    "panel_system_volumes": 54
}'
JavaScript errors detected

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

If this problem persists, please contact our support.