Get DTMF code settings
Get DTMF code setting for first and second locks
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
codes object
first object
use_default_value booleanDefault value:
false
custom_value stringPossible values: Value must match regular expression
^([0-9*#]{1,4})$
Default value:
#
second object
is_enabled booleanDefault value:
false
value stringPossible values: Value must match regular expression
^([0-9*#]{1,4})$
Default value:
0
{
"codes": {
"first": {
"use_default_value": false,
"custom_value": "#"
},
"second": {
"is_enabled": false,
"value": "0"
}
}
}
{
"codes": {
"first": {
"use_default_value": false,
"custom_value": "#"
},
"second": {
"is_enabled": false,
"value": "0"
}
}
}
Please log in
- application/json
- Schema
- Example (from schema)
- Example
Schema
error object
code stringPossible values: [
invalid_authentification
,permission_denied
,not_valid
,system_error
]Error code
message stringError message
data object
Did not pass validation parameters. Can be represented as an object, which can include field names, arrays, query parameters etc.
param string
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be an string"
}
}
}
{
"error": {
"code": "invalid_authentification",
"message": "Log In"
}
}
Loading...