Skip to main content
Skip table of contents

Diagnostics

Line resistance diagnostics for the apartment

POST/api/v1/admin/intercoms/{intercom}/flats/{flat}/check-resist

Headers

Authorization

Bearer token

Accept

application/json

X-Client

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

X-UUID

unique device id

Body

intercomoptional

int

Unique identifier of the intercom

flatoptional

int

Unique identifier of the apartment (flat from the intercom key)

Response

204

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 POST 'https://vms.local/api/v1/admin/intercoms/{intercom}/flats/{flat}/check-resist' \
--header 'Authorization:Bearer token' \
--header 'Accept:application/json' \
--header 'X-Client:ios-cctv|android-cctv|thick-legal|web' \
--header 'X-UUID:unique device id'
JavaScript errors detected

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

If this problem persists, please contact our support.