Range

Function

This API is used to get Alarm > IPCDisarming > IPCDisarming parameter range.

Request Message

Parameter Description

None.

Sample:

POST /API/AlarmConfig/IPCDisarming/Range HTTP/1.1
{
    "version": "1.0",
    "data": {}
}

Response Message

Parameter Description

Table 1
ParameterRangeTypeDescription
enablebooldisarming enable.
emailboolDisarming email enable.
mobilepushboolDisarming mobile push enable.
audio_and_lightalarmboolDisarming audio and lightalarm enable.
privacymode_enableboolDisarming privacy mode enable.
alarmio_enableboolDisarming alarm IO enable.
alarmio_channel"Local->1"…"CHx"
The channel supported by the device.
string arrayThe channel whose parameters correspond to the alarmio_enable field needs to be synchronized(cloud only).
privacy_channel"CH1"…"CHx"
The channel supported by the device.
string arrayThe channel whose parameters the privacymode_enable field corresponds to needs to be synchronized (cloud only).

Sample:

HTTP/1.1 200 OK
Content-Type: application/json
{
    "result": "success",
    "data": {
        "enable": {"type": "bool"},
        "email": {"type": "bool"},
        "mobilepush": {"type": "bool"},
        "audio_and_lightalarm": {"type": "bool"},
        "privacymode_enable": {"type": "bool"},
        "alarmio_enable": {"type": "bool"},
        "alarmio_channel": {
            "type": "array",
            "min_size": 0,
            "max_size": 1,
            "items": {
                "type": "string",
                "items": ["Local->1"]
            }
        },
        "privacy_channel": {
            "type": "array",
            "min_size": 0,
            "max_size": 1,
            "items": {
                "type": "string",
                "items": ["CH1"]
            }
        }
    }
}

Error Code

See Response Messages Body and Common error_code for more information.