Get

Function

This API is used to get parameter for System > Record Information page.

Request Message

None.

Sample:

POST /API/SystemInfo/Record/Get HTTP/1.1
{
    "version": "1.0",
    "data": {}
}

Response Message

Parameter Description

Table 1

ParameterRangeTypeDescription
channel_infoobjectchannel_info object,see Table 2 for more information

Table 2

Channel info object

ParameterRangeTypeDescription
channelCH1
IP_CH1
WIFI_CH1
objectchannel Table 3 for more information

Table 3

Channel object

ParameterRangeTypeDescription
channelstringChannel Number
record_stateOn
Off
stringRecord State
record_switchboolRecord Switch
stream_typeMainstream
Substream
DualStream
stringVideo stream type
resolutionstringResolution:Format: “Main Stream Resolution / Sub Stream Resolution”
fpsstringIP Camera's mainstream frame rate.(/Fps)Format:”Main Stream FPS / Sub Stream FPS”
bitratestringIP Camera's mainstream bitrate rate.(/Kbps)Format:”Main Stream Bitrate / Sub Stream Bitrate”

Sample:

HTTP/1.1 200 OK
Content-Type: application/json
{
    "result": "success",
    "data": {
        "channel_info": {
            "CH5": {
                "record_state": "Off",
                "record_switch": "Enable"
            },
            "CH6": {
                "record_state": "Off",
                "record_switch": "Enable"
            },
            "CH7": {
                "record_state": "Off",
                "record_switch": "Enable"
            },
            "CH8": {
                "record_state": "On",
                "record_switch": "Enable",
                "stream_type": "DualStream",
                "resolution": "1920x1080 | 1280x720",
                "fps": "30Fps | 25Fps",
                "bitrate": "2Mbps | 1024Kbps"
            },
            "CH11": {
                "record_state": "Off",
                "record_switch": "Enable"
            },
            "CH14": {
                "record_state": "On",
                "record_switch": "Enable",
                "stream_type": "DualStream",
                "resolution": "1920x1080 | 1280x720",
                "fps": "25Fps | 25Fps",
                "bitrate": "1024Kbps | 1024Kbps"
            },
            "CH15": {
                "record_state": "Off",
                "record_switch": "Enable"
            },
            "CH16": {
                "record_state": "Off",
                "record_switch": "Enable"
            }
        },
        "channel_max": 16
    }
}

Error Code

See Response Messages Body and Common error_code for more information.