Skip to main content
Skip table of contents

Camera view. VMS Billing API

GET/api/v1/billing/cameras

Headers

Accept

application/json

Body

macrequired

string

Camera MAC address

Response

200

Successful response

JSON
{
    "id": 1,
    "status": "empty",
    "name": "Camera 1",
    "is_archive_recording": true,
    "archive_storage_days": 90,
    "group_type": "private",
    "is_user_owner": true,
    "is_need_replace": false,
    "latitude": 53.145212,
    "longitude": 25.274193,
    "network_device": {
        "mac": "D4:E8:53:7C:42:31",
        "serial_number": "G98474831"
    },
    "folder": null
}
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 GET 'https://vms.local/api/v1/billing/cameras' \
--header 'Accept:application/json'
JavaScript errors detected

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

If this problem persists, please contact our support.