Range

Function

This API is used to get Access Control > Authentication Settings parameter range.

Request Message

Parameter Description

Table 1
ParameterRangeTypeDescription
channel"CH1"…"CHx"string arrayThe channels supported by the device.

Sample:

POST /API/AccessControl/AuthenticationSettings/Range HTTP/1.1
{
    "version": "1.0",
    "data": {}
}

Response Message

Parameter Description

Table 2
ParameterRangeTypeDescription
channel_infoobjectTotal channel information see Table 3.
channel_maxintThe maximum number of channels.
Table 3
ParameterRangeTypeDescription
CH1…CHxobjectSee Table 4
Table 4
ParameterRangeTypeDescription
recognition_interval1-10unsigned intRecognition Interval
authentication_interval0-600unsigned intAuthentication Interval
alarm_of_max_failed_attemptsboolMax. Failed Recognition Attempts
max_authentication_failed_attempts1-10unsigned intMax. Failed Authentication Attempts
tampering_detectionboolTamper Detection

Sample:

HTTP/1.1 200 OK
Content-Type: application/json
{
    "result": "success",
    "data": {
        "channel_max": 1,
        "channel_info": {
            "type": "object",
            "items": {"CH1": {
                "type": "object",
                "items": {
                    "recognition_interval": {
                        "type": "uint32",
                        "mode": "r",
                        "min": 1,
                        "max": 10,
                        "default_value": 1
                    },
                    "authentication_interval": {
                        "type": "uint32",
                        "mode": "r",
                        "min": 0,
                        "max": 600,
                        "default_value": 0
                    },
                    "alarm_of_max_failed_attempts": {"type": "bool"},
                    "max_authentication_failed_attempts": {
                        "type": "uint32",
                        "mode": "r",
                        "min": 1,
                        "max": 10,
                        "default_value": 5
                    },
                    "tampering_detection": {"type": "bool"}
                }
            }}
        }
    }
}

Error Code

See Response Messages Body and Common error_code for more information.