Get DTMF settings
Returns DTMF settings used for opening lock during call
First key is always avaiable, second key might be disabled. First key has value by default. If 'default_value' is disabled, key uses data from 'value' field.
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
first_key object
name stringdefault_value booleanvalue stringPossible values:
non-empty
and<= 4 characters
, Value must match regular expression^[\d*#A-D]{1,4}$
second_key object
enabled booleanname stringvalue stringPossible values:
non-empty
and<= 4 characters
, Value must match regular expression^[\d*#A-D]{1,4}$
elevator object
Possible values: Value must match regular expression
^[\d*#A-D]{1,4}$
default_value - use default 'DACB' dtmf value for elevator. value - custom value
value stringPossible values:
non-empty
and<= 4 characters
default_value boolean
{
"first_key": {
"name": "key #1",
"default_value": true,
"value": "*"
},
"second_key": {
"enabled": true,
"name": "key #2",
"value": "0"
},
"elevator": {
"value": "DACB",
"default_value": true
}
}
{
"first_key": {
"name": "key #1",
"default_value": true,
"value": "*"
},
"second_key": {
"enabled": true,
"name": "key #2",
"value": "0"
},
"elevator": {
"value": 321,
"default_value": true
}
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...