Get DTMF settings
Returns DTMF settings used for opening lock during call
First key is always available, second key might be disabled. First key has value by default. If 'default_value' is disabled, key uses data from 'value' field.
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
first_key object
First key settings
name stringKey name
default_value booleanDetermines whether the default DTMF is enabled
value stringPossible values:
non-empty
and<= 4 characters
, Value must match regular expression^[\d*#A-D]{1,4}$
Custom DTMF value
second_key object
Second key settings
enabled booleanDetermines whether the second DTMF key is enabled
name stringKey name
value stringPossible values:
non-empty
and<= 4 characters
, Value must match regular expression^[\d*#A-D]{1,4}$
Custom DTMF value
elevator object
Possible values: Value must match regular expression
^[\d*#A-D]{1,4}$
DTMF code for calling lift. If 'default_value' is enabled device will use default 'DACB' DTMF value for elevator
value stringPossible values:
non-empty
and<= 4 characters
Custom DTMF value
default_value booleanDetermines whether the default DTMF is enabled
{
"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 information
{
"error": "Log In"
}
{
"error": "Log In"
}