Get DTMF code for door lock
Returns DTMF code used for opening lock during call
Path Parameters
- lock-number integer required
Possible values: [
0
,1
,2
]Lock number
Responses
- 200
- 401
- 403
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- dtmf_code string
Possible values:
non-empty
and<= 4 characters
, Value must match regular expression^[\d*#A-D]{1,4}$
DTMF code
{
"dtmf_code": "#"
}
{
"dtmf_code": "0"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
Error message
{
"error": "Log In"
}
{
"error": "Log In"
}
Administrator rights required. You are currently logged in with different user account. Log In with administrator rights
- application/json
- Schema
- Example (from schema)
- Admin Rights Required
Schema
- error string
Error message
{
"error": "Administrator rights required"
}
{
"error": "Administrator rights required"
}
Loading...