Set DMTF settings
Configures 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.
- application/json
Request Body
first_key object required
name stringdefault_value booleanvalue stringPossible values:
non-empty
and<= 4 characters
, Value must match regular expression^[\d*#A-D]{1,4}$
second_key object required
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
- 200
- 400
- 401
OK
- Wrong DTMF value
Validation error. Required fields are not provided.
- Missed json body or wrong param. Response sample:
"error": "Wrong JSON body"
- Required field is not provided. Response sample:
"error": "Wrong JSON body: no value for `param`"
where param
- is a required field that was not provided
- Field was of the wrong type. Response sample:
"error": "Wrong JSON body: value `param` was of the wrong type"
where param
- is a field of the wrong type
- application/json
- Schema
- Example (from schema)
- Wrong D T M F
- Base
- No value
- Wrong param type
Schema
- error string
{
"error": true
}
{
"error": "Wrong DTMF value"
}
{
"error": "Wrong JSON body"
}
{
"error": "Wrong JSON body: no value for `param`"
}
{
"error": "Wrong JSON body: value `param` was of the wrong type"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
{
"error": "Log In"
}
{
"error": "Log In"
}