Range

Function

This API is used to get IPC parameters range for [System > IPC Camera Maintain > Param Management* page.

Request Message

None.

Sample:

POST /API/IPCMaintaint/IPCParamManagement/Range HTTP/1.1
{
    "version":"1.0",
    "data":
    {
    }
}

Response Message

Table 1
ParameterRangeTypeDescription
channel_maxintThe maximum number of accessable channels.
passwordlen:0-16stringIPC authentication password.
channel_infoobject
Table 2
ParameterRangeTypeDescription
CH1objectA channel information object, see Table 3 for details.
...object
IP_CH1object
...object
WIFI_CH1object
...object
Table 3
ParameterRangeTypeDescription
ip_addressMax length:63stringIP address/domain name.
status"Offline","Online"stringIPC status.
software_versionMax length: 40stringFirmware version.

Sample:

HTTP/1.1 200 OK
Content-Type: application/json
{
    "result": "success",
    "data": {
        "channel_max": 16,
        "password": {
            "type": "string",
            "min_len": 0,
            "max_len": 16
        },
        "channel_info": {
            "type": "object",
            "items": {
                "CH14": {
                    "type": "object",
                    "items": {
                        "status": {
                            "type": "string",
                            "items": [
                                "Offline",
                                "Online"
                            ]
                        },
                        "ip_address": {
                            "type": "string",
                            "min_len": 0,
                            "max_len": 63
                        },
                        "software_version": {
                            "type": "string",
                            "min_len": 0,
                            "max_len": 40
                        }
                    }
                },
                "CH16": {
                    "type": "object",
                    "items": {
                        "status": {
                            "type": "string",
                            "items": [
                                "Offline",
                                "Online"
                            ]
                        },
                        "ip_address": {
                            "type": "string",
                            "min_len": 0,
                            "max_len": 63
                        },
                        "software_version": {
                            "type": "string",
                            "min_len": 0,
                            "max_len": 40
                        }
                    }
                }
            }
        }
    }
}

Error Code

See Response Messages Body and Common error_code for more information.