# Range

## Function

This API is used to get the parameter range of Alarm > IO Alarm.

## Request Message

### Parameter Description

###### Table 1

Parameter | Range | Type | Description
--- | --- | --- | ---
alarm_in | "Local<-1"..."Local<-x" "IP_CH1<-1"..."IP_CHx<-x" The number of channels depends on the functionality of the device. | string array | Each array bit represents a channel with a string.

Sample:

    POST /API/AlarmConfig/IO/Range HTTP/1.1

    {
        "version":"1.0",
        "data":{}
    }

## Response Message

### Parameter Description

###### Table 2

Parameter | Range | Type | Description
--- | --- | --- | ---
channel_info |  | Json Object | Channel information see Table 3 for more information
channel_max |  | int | The total number of channels in the current device

###### Table 3

Parameter | Range | Type | Description
--- | --- | --- | ---
Local<-1 |  | Json Object | Json object see Table 4 for more information
... |  | Json Object |
IP_CH1<-1 |  | Json Object |
... |  | Json Object |

###### Table 4

Parameter | Range | Type | Description
--- | --- | --- | ---
alarm_type | "NormallyOpen", "NormallyClose", "Off" | string | I/O status alarm
latch_time | "10","20","40","60"or“5”“10”“20”“30” | string | Alarm output time
buzzer | "0","10","20","40","60" | string | Buzzer beep time (NVR/DVR dedicated)
alarm_out | “Local->1” ”Local->x” “IP_CH1->1” “IP_CH1->2” ” IP_CHx->1” ”IP_CHx->2” The number of channels depends on the functionality of the device. | array | Alarm output channel Each array bit is represented by a string representing the alarm output channel.
post_recording | "30","60","120","300"or“0”“5”“10”“20”“30” | string | Recording delay time
send_email |  | bool | Send email switch
ftp_picture_upload |  | bool | Channel video FTP upload switch
picture_to_cloud |  | bool | Image upload switch
video_to_cloud |  | bool | Video cloud upload switch (dedicated to NVR/DVR)
ftp_video_upload |  | bool | Channel video FTP upload switch (dedicated to NVR/DVR)
show_message |  | bool | Display message switch (dedicated to NVR/DVR)
full_screen |  | bool | Full screen switch (dedicated to NVR/DVR)
channel | “CH1” ”CH1x” “IP_CH1” ” IP_CH1x”“WIFI_CH1”…” WIFI_CH1x” | array | Channel alarm linkage switch Channel alarm linkage switch, each value represents a channel switch.
voice_prompts_index | 0~4294967295 | int | File index (0~4294967295, where 0 is None, meaning no audio file has been selected). Each file is named "index_filename" (1ui will try), and when displayed on the page, "index_" should be hidden, such as "1ui will try" and only "i will try" should be displayed
voice_prompts_select |  | array | Playback channel, calculated by bit (bit0 is local, bit1 corresponds to front-end channel 1, and bit2 corresponds to channel 2)
voice_prompts_time |  | array | Time period, there cannot be time conflicts among 12 time periods
record_enable |  | bool | record switch
light_linkage |  | bool | White light linkage switch
enforcerlight_linkage |  | bool | Alarm light linkage switch
siren_linkage |  | bool | Alarm linkage switch
http_listening |  | bool | eventpush linkage switch
schedule |  | Json array | Json See Table 5.
ptz_linkage_disable |  | bool | disable the ptzlinkage page
ptz_linkage_settings |  | object | Json See Table 7.
voice_prompts_speaker_select |  | array | Playback ip speaker, calculated by bit (bit0 is ip speaker 1, bit1 corresponds to front-end ip speaker 2)

###### Table 5

Parameter | Range | Type | Description
--- | --- | --- | ---
schedule_type | "IO" | string | IO Linkage schedule
week |  | Json array | WeekJson See Table 6

###### Table 6

Parameter | Range | Type | Description
--- | --- | --- | ---
day | "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" | string |
time | 0:Disable Time range 1: The time range is enabled | array | Each array bit (int) identifies half an hour.

#### Table 7

Parameter | Range | Type | Description
--- | --- | --- | ---
ptz_linkage_chn |  | array | ptz linkage channel.
ptz_linkage_data |  | array | ptz linkage data.
preset_dwell_time | [min:max] | int | preset dwell time minimum time 1(min),maximum time 20(max)。
preset_num | [min:max] | int | preset num minimum 1(min),maximum 255(max).
trace_num | [min:max] | int | trace num minimum1(min),maximum 4(max)。
pattern_scan_num | [min:max] | int | pattern scan num minimum 1(min),maximum 4(max).
ptz_linkage_name | "Mode_Preset", "Mode_Trace", "Mode_Pattern_Scan" | array | preset name.

Sample:

    HTTP/1.1 200 OK
    Content-Type: application/json

    {
        "result": "success",
        "data": {
            "channel_max": 16,
            "support_copy": true,
            "channel_info": {
                "type": "object",
                "items": {
                    "Local<-1": {
                        "type": "object",
                        "items": {
                            "alarm_type": {
                                "type": "string",
                                "items": [
                                    "NormallyOpen",
                                    "NormallyClose",
                                    "Off"
                                ]
                            },
                            "buzzer": {
                                "type": "string",
                                "items": [
                                    "0",
                                    "10",
                                    "20",
                                    "40",
                                    "60"
                                ]
                            },
                            "alarm_out": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 33,
                                "items": {
                                    "type": "string",
                                    "items": [
                                        "Local->1",
                                        "IP_CH1->1"
                                    ]
                                }
                            },
                            "latch_time": {
                                "type": "string",
                                "items": [
                                    "10",
                                    "20",
                                    "40",
                                    "60"
                                ]
                            },
                            "post_recording": {
                                "type": "string",
                                "items": [
                                    "30",
                                    "60",
                                    "120",
                                    "300"
                                ]
                            },
                            "show_message": {"type": "bool"},
                            "send_email": {"type": "bool"},
                            "full_screen": {"type": "bool"},
                            "ftp_picture_upload": {"type": "bool"},
                            "ftp_video_upload": {"type": "bool"},
                            "http_listening": {"type": "bool"},
                            "picture_to_cloud": {"type": "bool"},
                            "video_to_cloud": {"type": "bool"},
                            "voice_prompts_index": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_select": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_speaker_select": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_time": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "channel": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 16,
                                "items": {
                                    "type": "string",
                                    "items": [
                                        "CH1",
                                        "CH2",
                                        "CH3",
                                        "CH4",
                                        "CH5",
                                        "CH6",
                                        "CH7",
                                        "CH8",
                                        "CH9",
                                        "CH10",
                                        "CH11",
                                        "CH12",
                                        "CH13",
                                        "CH14",
                                        "CH15",
                                        "CH16"
                                    ]
                                }
                            },
                            "copy_ch": {
                                "type": "string",
                                "items": [
                                    "digit",
                                    "analog",
                                    "wifi",
                                    "local",
                                    "all"
                                ]
                            },
                            "ptz_linkage": {
                                "type": "object",
                                "items": {"CH8": {
                                    "type": "object",
                                    "items": {
                                        "ptz_linkage_chn": {
                                            "type": "array",
                                            "min_size": 0,
                                            "max_size": 32,
                                            "items": {
                                                "type": "string",
                                                "items": ["CH8"]
                                            }
                                        },
                                        "ptz_linkage_name": {
                                            "type": "array",
                                            "min_size": 0,
                                            "max_size": 3,
                                            "items": {
                                                "type": "string",
                                                "items": [
                                                    "Mode_Preset",
                                                    "Mode_Trace",
                                                    "Mode_Pattern_Scan"
                                                ]
                                            }
                                        },
                                        "preset_dwell_time": {
                                            "type": "int32",
                                            "min": 1,
                                            "max": 20,
                                            "default_value": 5
                                        },
                                        "preset_num": {
                                            "type": "int32",
                                            "items": [
                                                1,
                                                2,
                                                3,
                                                4,
                                                5,
                                                6,
                                                7,
                                                8,
                                                9,
                                                10,
                                                11,
                                                12,
                                                13,
                                                14,
                                                15,
                                                16,
                                                17,
                                                18,
                                                19,
                                                20,
                                                21,
                                                22,
                                                23,
                                                24,
                                                25,
                                                26,
                                                27,
                                                28,
                                                29,
                                                30,
                                                31,
                                                32,
                                                33,
                                                34,
                                                35,
                                                36,
                                                37,
                                                38,
                                                39,
                                                40,
                                                41,
                                                42,
                                                43,
                                                44,
                                                45,
                                                46,
                                                47,
                                                48,
                                                49,
                                                50,
                                                51,
                                                52,
                                                53,
                                                54,
                                                55,
                                                56,
                                                57,
                                                58,
                                                59,
                                                60,
                                                61,
                                                62,
                                                63,
                                                64,
                                                65,
                                                66,
                                                67,
                                                68,
                                                69,
                                                70,
                                                71,
                                                72,
                                                73,
                                                74,
                                                75,
                                                76,
                                                77,
                                                78,
                                                79,
                                                80,
                                                81,
                                                82,
                                                83,
                                                84,
                                                85,
                                                86,
                                                87,
                                                88,
                                                89,
                                                90,
                                                91,
                                                92,
                                                93,
                                                94,
                                                95,
                                                96,
                                                97,
                                                98,
                                                99,
                                                100,
                                                101,
                                                102,
                                                103,
                                                104,
                                                105,
                                                106,
                                                107,
                                                108,
                                                109,
                                                110,
                                                111,
                                                112,
                                                113,
                                                114,
                                                115,
                                                116,
                                                117,
                                                118,
                                                119,
                                                120,
                                                121,
                                                122,
                                                123,
                                                124,
                                                125,
                                                126,
                                                127,
                                                128,
                                                129,
                                                130,
                                                131,
                                                132,
                                                133,
                                                134,
                                                135,
                                                136,
                                                137,
                                                138,
                                                139,
                                                140,
                                                141,
                                                142,
                                                143,
                                                144,
                                                145,
                                                146,
                                                147,
                                                148,
                                                149,
                                                150,
                                                151,
                                                152,
                                                153,
                                                154,
                                                155,
                                                156,
                                                157,
                                                158,
                                                159,
                                                160,
                                                161,
                                                162,
                                                163,
                                                164,
                                                165,
                                                166,
                                                167,
                                                168,
                                                169,
                                                170,
                                                171,
                                                172,
                                                173,
                                                174,
                                                175,
                                                176,
                                                177,
                                                178,
                                                179,
                                                180,
                                                181,
                                                182,
                                                183,
                                                184,
                                                185,
                                                186,
                                                187,
                                                188,
                                                189,
                                                190,
                                                191,
                                                192,
                                                193,
                                                194,
                                                195,
                                                196,
                                                197,
                                                198,
                                                199,
                                                200,
                                                201,
                                                202,
                                                203,
                                                204,
                                                205,
                                                206,
                                                207,
                                                208,
                                                209,
                                                210,
                                                211,
                                                212,
                                                213,
                                                214,
                                                215,
                                                216,
                                                217,
                                                218,
                                                219,
                                                220,
                                                221,
                                                222,
                                                223,
                                                224,
                                                225,
                                                226,
                                                227,
                                                228,
                                                229,
                                                230,
                                                231,
                                                232,
                                                233,
                                                234,
                                                235,
                                                236,
                                                237,
                                                238,
                                                239,
                                                240,
                                                241,
                                                242,
                                                243,
                                                244,
                                                245,
                                                246,
                                                247,
                                                248,
                                                249,
                                                250,
                                                251,
                                                252,
                                                253,
                                                254,
                                                255
                                            ]
                                        },
                                        "trace_num": {
                                            "type": "int32",
                                            "items": [
                                                1,
                                                2,
                                                3,
                                                4
                                            ]
                                        },
                                        "pattern_scan_num": {
                                            "type": "int32",
                                            "items": [
                                                1,
                                                2,
                                                3,
                                                4
                                            ]
                                        }
                                    }
                                }}
                            },
                            "ptz_linkage_disable": false
                        }
                    },
                    "Local<-2": {
                        "type": "object",
                        "items": {
                            "alarm_type": {
                                "type": "string",
                                "items": [
                                    "NormallyOpen",
                                    "NormallyClose",
                                    "Off"
                                ]
                            },
                            "buzzer": {
                                "type": "string",
                                "items": [
                                    "0",
                                    "10",
                                    "20",
                                    "40",
                                    "60"
                                ]
                            },
                            "alarm_out": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 33,
                                "items": {
                                    "type": "string",
                                    "items": [
                                        "Local->1",
                                        "IP_CH1->1"
                                    ]
                                }
                            },
                            "latch_time": {
                                "type": "string",
                                "items": [
                                    "10",
                                    "20",
                                    "40",
                                    "60"
                                ]
                            },
                            "post_recording": {
                                "type": "string",
                                "items": [
                                    "30",
                                    "60",
                                    "120",
                                    "300"
                                ]
                            },
                            "show_message": {"type": "bool"},
                            "send_email": {"type": "bool"},
                            "full_screen": {"type": "bool"},
                            "ftp_picture_upload": {"type": "bool"},
                            "ftp_video_upload": {"type": "bool"},
                            "http_listening": {"type": "bool"},
                            "picture_to_cloud": {"type": "bool"},
                            "video_to_cloud": {"type": "bool"},
                            "voice_prompts_index": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_select": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_speaker_select": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_time": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "channel": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 16,
                                "items": {
                                    "type": "string",
                                    "items": [
                                        "CH1",
                                        "CH2",
                                        "CH3",
                                        "CH4",
                                        "CH5",
                                        "CH6",
                                        "CH7",
                                        "CH8",
                                        "CH9",
                                        "CH10",
                                        "CH11",
                                        "CH12",
                                        "CH13",
                                        "CH14",
                                        "CH15",
                                        "CH16"
                                    ]
                                }
                            },
                            "copy_ch": {
                                "type": "string",
                                "items": [
                                    "digit",
                                    "analog",
                                    "wifi",
                                    "local",
                                    "all"
                                ]
                            }
                        }
                    },
                    "Local<-3": {
                        "type": "object",
                        "items": {
                            "alarm_type": {
                                "type": "string",
                                "items": [
                                    "NormallyOpen",
                                    "NormallyClose",
                                    "Off"
                                ]
                            },
                            "buzzer": {
                                "type": "string",
                                "items": [
                                    "0",
                                    "10",
                                    "20",
                                    "40",
                                    "60"
                                ]
                            },
                            "alarm_out": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 33,
                                "items": {
                                    "type": "string",
                                    "items": [
                                        "Local->1",
                                        "IP_CH1->1"
                                    ]
                                }
                            },
                            "latch_time": {
                                "type": "string",
                                "items": [
                                    "10",
                                    "20",
                                    "40",
                                    "60"
                                ]
                            },
                            "post_recording": {
                                "type": "string",
                                "items": [
                                    "30",
                                    "60",
                                    "120",
                                    "300"
                                ]
                            },
                            "show_message": {"type": "bool"},
                            "send_email": {"type": "bool"},
                            "full_screen": {"type": "bool"},
                            "ftp_picture_upload": {"type": "bool"},
                            "ftp_video_upload": {"type": "bool"},
                            "http_listening": {"type": "bool"},
                            "picture_to_cloud": {"type": "bool"},
                            "video_to_cloud": {"type": "bool"},
                            "voice_prompts_index": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_select": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_speaker_select": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_time": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "channel": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 16,
                                "items": {
                                    "type": "string",
                                    "items": [
                                        "CH1",
                                        "CH2",
                                        "CH3",
                                        "CH4",
                                        "CH5",
                                        "CH6",
                                        "CH7",
                                        "CH8",
                                        "CH9",
                                        "CH10",
                                        "CH11",
                                        "CH12",
                                        "CH13",
                                        "CH14",
                                        "CH15",
                                        "CH16"
                                    ]
                                }
                            },
                            "copy_ch": {
                                "type": "string",
                                "items": [
                                    "digit",
                                    "analog",
                                    "wifi",
                                    "local",
                                    "all"
                                ]
                            }
                        }
                    },
                    "Local<-4": {
                        "type": "object",
                        "items": {
                            "alarm_type": {
                                "type": "string",
                                "items": [
                                    "NormallyOpen",
                                    "NormallyClose",
                                    "Off"
                                ]
                            },
                            "buzzer": {
                                "type": "string",
                                "items": [
                                    "0",
                                    "10",
                                    "20",
                                    "40",
                                    "60"
                                ]
                            },
                            "alarm_out": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 33,
                                "items": {
                                    "type": "string",
                                    "items": [
                                        "Local->1",
                                        "IP_CH1->1"
                                    ]
                                }
                            },
                            "latch_time": {
                                "type": "string",
                                "items": [
                                    "10",
                                    "20",
                                    "40",
                                    "60"
                                ]
                            },
                            "post_recording": {
                                "type": "string",
                                "items": [
                                    "30",
                                    "60",
                                    "120",
                                    "300"
                                ]
                            },
                            "show_message": {"type": "bool"},
                            "send_email": {"type": "bool"},
                            "full_screen": {"type": "bool"},
                            "ftp_picture_upload": {"type": "bool"},
                            "ftp_video_upload": {"type": "bool"},
                            "http_listening": {"type": "bool"},
                            "picture_to_cloud": {"type": "bool"},
                            "video_to_cloud": {"type": "bool"},
                            "voice_prompts_index": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_select": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_speaker_select": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_time": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "channel": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 16,
                                "items": {
                                    "type": "string",
                                    "items": [
                                        "CH1",
                                        "CH2",
                                        "CH3",
                                        "CH4",
                                        "CH5",
                                        "CH6",
                                        "CH7",
                                        "CH8",
                                        "CH9",
                                        "CH10",
                                        "CH11",
                                        "CH12",
                                        "CH13",
                                        "CH14",
                                        "CH15",
                                        "CH16"
                                    ]
                                }
                            },
                            "copy_ch": {
                                "type": "string",
                                "items": [
                                    "digit",
                                    "analog",
                                    "wifi",
                                    "local",
                                    "all"
                                ]
                            }
                        }
                    },
                    "Local<-5": {
                        "type": "object",
                        "items": {
                            "alarm_type": {
                                "type": "string",
                                "items": [
                                    "NormallyOpen",
                                    "NormallyClose",
                                    "Off"
                                ]
                            },
                            "buzzer": {
                                "type": "string",
                                "items": [
                                    "0",
                                    "10",
                                    "20",
                                    "40",
                                    "60"
                                ]
                            },
                            "alarm_out": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 33,
                                "items": {
                                    "type": "string",
                                    "items": [
                                        "Local->1",
                                        "IP_CH1->1"
                                    ]
                                }
                            },
                            "latch_time": {
                                "type": "string",
                                "items": [
                                    "10",
                                    "20",
                                    "40",
                                    "60"
                                ]
                            },
                            "post_recording": {
                                "type": "string",
                                "items": [
                                    "30",
                                    "60",
                                    "120",
                                    "300"
                                ]
                            },
                            "show_message": {"type": "bool"},
                            "send_email": {"type": "bool"},
                            "full_screen": {"type": "bool"},
                            "ftp_picture_upload": {"type": "bool"},
                            "ftp_video_upload": {"type": "bool"},
                            "http_listening": {"type": "bool"},
                            "picture_to_cloud": {"type": "bool"},
                            "video_to_cloud": {"type": "bool"},
                            "voice_prompts_index": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_select": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_speaker_select": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_time": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "channel": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 16,
                                "items": {
                                    "type": "string",
                                    "items": [
                                        "CH1",
                                        "CH2",
                                        "CH3",
                                        "CH4",
                                        "CH5",
                                        "CH6",
                                        "CH7",
                                        "CH8",
                                        "CH9",
                                        "CH10",
                                        "CH11",
                                        "CH12",
                                        "CH13",
                                        "CH14",
                                        "CH15",
                                        "CH16"
                                    ]
                                }
                            },
                            "copy_ch": {
                                "type": "string",
                                "items": [
                                    "digit",
                                    "analog",
                                    "wifi",
                                    "local",
                                    "all"
                                ]
                            }
                        }
                    },
                    "Local<-6": {
                        "type": "object",
                        "items": {
                            "alarm_type": {
                                "type": "string",
                                "items": [
                                    "NormallyOpen",
                                    "NormallyClose",
                                    "Off"
                                ]
                            },
                            "buzzer": {
                                "type": "string",
                                "items": [
                                    "0",
                                    "10",
                                    "20",
                                    "40",
                                    "60"
                                ]
                            },
                            "alarm_out": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 33,
                                "items": {
                                    "type": "string",
                                    "items": [
                                        "Local->1",
                                        "IP_CH1->1"
                                    ]
                                }
                            },
                            "latch_time": {
                                "type": "string",
                                "items": [
                                    "10",
                                    "20",
                                    "40",
                                    "60"
                                ]
                            },
                            "post_recording": {
                                "type": "string",
                                "items": [
                                    "30",
                                    "60",
                                    "120",
                                    "300"
                                ]
                            },
                            "show_message": {"type": "bool"},
                            "send_email": {"type": "bool"},
                            "full_screen": {"type": "bool"},
                            "ftp_picture_upload": {"type": "bool"},
                            "ftp_video_upload": {"type": "bool"},
                            "http_listening": {"type": "bool"},
                            "picture_to_cloud": {"type": "bool"},
                            "video_to_cloud": {"type": "bool"},
                            "voice_prompts_index": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_select": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_speaker_select": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_time": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "channel": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 16,
                                "items": {
                                    "type": "string",
                                    "items": [
                                        "CH1",
                                        "CH2",
                                        "CH3",
                                        "CH4",
                                        "CH5",
                                        "CH6",
                                        "CH7",
                                        "CH8",
                                        "CH9",
                                        "CH10",
                                        "CH11",
                                        "CH12",
                                        "CH13",
                                        "CH14",
                                        "CH15",
                                        "CH16"
                                    ]
                                }
                            },
                            "copy_ch": {
                                "type": "string",
                                "items": [
                                    "digit",
                                    "analog",
                                    "wifi",
                                    "local",
                                    "all"
                                ]
                            }
                        }
                    },
                    "Local<-7": {
                        "type": "object",
                        "items": {
                            "alarm_type": {
                                "type": "string",
                                "items": [
                                    "NormallyOpen",
                                    "NormallyClose",
                                    "Off"
                                ]
                            },
                            "buzzer": {
                                "type": "string",
                                "items": [
                                    "0",
                                    "10",
                                    "20",
                                    "40",
                                    "60"
                                ]
                            },
                            "alarm_out": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 33,
                                "items": {
                                    "type": "string",
                                    "items": [
                                        "Local->1",
                                        "IP_CH1->1"
                                    ]
                                }
                            },
                            "latch_time": {
                                "type": "string",
                                "items": [
                                    "10",
                                    "20",
                                    "40",
                                    "60"
                                ]
                            },
                            "post_recording": {
                                "type": "string",
                                "items": [
                                    "30",
                                    "60",
                                    "120",
                                    "300"
                                ]
                            },
                            "show_message": {"type": "bool"},
                            "send_email": {"type": "bool"},
                            "full_screen": {"type": "bool"},
                            "ftp_picture_upload": {"type": "bool"},
                            "ftp_video_upload": {"type": "bool"},
                            "http_listening": {"type": "bool"},
                            "picture_to_cloud": {"type": "bool"},
                            "video_to_cloud": {"type": "bool"},
                            "voice_prompts_index": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_select": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_speaker_select": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_time": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "channel": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 16,
                                "items": {
                                    "type": "string",
                                    "items": [
                                        "CH1",
                                        "CH2",
                                        "CH3",
                                        "CH4",
                                        "CH5",
                                        "CH6",
                                        "CH7",
                                        "CH8",
                                        "CH9",
                                        "CH10",
                                        "CH11",
                                        "CH12",
                                        "CH13",
                                        "CH14",
                                        "CH15",
                                        "CH16"
                                    ]
                                }
                            },
                            "copy_ch": {
                                "type": "string",
                                "items": [
                                    "digit",
                                    "analog",
                                    "wifi",
                                    "local",
                                    "all"
                                ]
                            }
                        }
                    },
                    "Local<-8": {
                        "type": "object",
                        "items": {
                            "alarm_type": {
                                "type": "string",
                                "items": [
                                    "NormallyOpen",
                                    "NormallyClose",
                                    "Off"
                                ]
                            },
                            "buzzer": {
                                "type": "string",
                                "items": [
                                    "0",
                                    "10",
                                    "20",
                                    "40",
                                    "60"
                                ]
                            },
                            "alarm_out": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 33,
                                "items": {
                                    "type": "string",
                                    "items": [
                                        "Local->1",
                                        "IP_CH1->1"
                                    ]
                                }
                            },
                            "latch_time": {
                                "type": "string",
                                "items": [
                                    "10",
                                    "20",
                                    "40",
                                    "60"
                                ]
                            },
                            "post_recording": {
                                "type": "string",
                                "items": [
                                    "30",
                                    "60",
                                    "120",
                                    "300"
                                ]
                            },
                            "show_message": {"type": "bool"},
                            "send_email": {"type": "bool"},
                            "full_screen": {"type": "bool"},
                            "ftp_picture_upload": {"type": "bool"},
                            "ftp_video_upload": {"type": "bool"},
                            "http_listening": {"type": "bool"},
                            "picture_to_cloud": {"type": "bool"},
                            "video_to_cloud": {"type": "bool"},
                            "voice_prompts_index": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_select": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_speaker_select": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_time": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "channel": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 16,
                                "items": {
                                    "type": "string",
                                    "items": [
                                        "CH1",
                                        "CH2",
                                        "CH3",
                                        "CH4",
                                        "CH5",
                                        "CH6",
                                        "CH7",
                                        "CH8",
                                        "CH9",
                                        "CH10",
                                        "CH11",
                                        "CH12",
                                        "CH13",
                                        "CH14",
                                        "CH15",
                                        "CH16"
                                    ]
                                }
                            },
                            "copy_ch": {
                                "type": "string",
                                "items": [
                                    "digit",
                                    "analog",
                                    "wifi",
                                    "local",
                                    "all"
                                ]
                            }
                        }
                    },
                    "IP_CH1<-1": {
                        "type": "object",
                        "items": {
                            "alarm_type": {
                                "type": "string",
                                "items": [
                                    "NormallyOpen",
                                    "NormallyClose",
                                    "Off"
                                ]
                            },
                            "buzzer": {
                                "type": "string",
                                "items": [
                                    "0",
                                    "10",
                                    "20",
                                    "40",
                                    "60"
                                ]
                            },
                            "alarm_out": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 33,
                                "items": {
                                    "type": "string",
                                    "items": [
                                        "Local->1",
                                        "IP_CH1->1"
                                    ]
                                }
                            },
                            "latch_time": {
                                "type": "string",
                                "items": [
                                    "10",
                                    "20",
                                    "40",
                                    "60"
                                ]
                            },
                            "post_recording": {
                                "type": "string",
                                "items": [
                                    "30",
                                    "60",
                                    "120",
                                    "300"
                                ]
                            },
                            "show_message": {"type": "bool"},
                            "send_email": {"type": "bool"},
                            "full_screen": {"type": "bool"},
                            "ftp_picture_upload": {"type": "bool"},
                            "ftp_video_upload": {"type": "bool"},
                            "http_listening": {"type": "bool"},
                            "picture_to_cloud": {"type": "bool"},
                            "video_to_cloud": {"type": "bool"},
                            "voice_prompts_index": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_select": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_speaker_select": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "voice_prompts_time": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 12,
                                "items": []
                            },
                            "channel": {
                                "type": "array",
                                "min_size": 0,
                                "max_size": 16,
                                "items": {
                                    "type": "string",
                                    "items": [
                                        "CH1",
                                        "CH2",
                                        "CH3",
                                        "CH4",
                                        "CH5",
                                        "CH6",
                                        "CH7",
                                        "CH8",
                                        "CH9",
                                        "CH10",
                                        "CH11",
                                        "CH12",
                                        "CH13",
                                        "CH14",
                                        "CH15",
                                        "CH16"
                                    ]
                                }
                            },
                            "copy_ch": {
                                "type": "string",
                                "items": [
                                    "digit",
                                    "analog",
                                    "wifi",
                                    "local",
                                    "all"
                                ]
                            }
                        }
                    }
                }
            }
        }
    }

## Error Code

See Response Messages Body and Common error_code for more information.