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
| Parameter | Range | Type | Description |
|---|---|---|---|
| enable | bool | disarming enable. | |
| bool | Disarming email enable. | ||
| mobilepush | bool | Disarming mobile push enable. | |
| audio_and_lightalarm | bool | Disarming audio and lightalarm enable. | |
| privacymode_enable | bool | Disarming privacy mode enable. | |
| alarmio_enable | bool | Disarming alarm IO enable. | |
| alarmio_channel | "Local->1"…"CHx" The channel supported by the device. | string array | The 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 array | The 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.