Get the type of lock used
Gets the type of lock used:
- electromagnetic
- electromechanical
Responses
- 200
- 401
- 403
OK
- application/json
- Schema
- Example (from schema)
- Electromagnetic and Electromechanical
Schema
- locks object[]
Lock type settings
{
"locks": [
{
"lock_number": 1,
"type": "electromagnetic"
},
{
"lock_number": 1,
"type": "electromechanical",
"pulse_on": 5,
"pulse_off": 1
}
]
}
{
"locks": [
{
"lock_number": 1,
"type": "electromagnetic"
},
{
"lock_number": 2,
"type": "electromechanical",
"pulse_on": 1,
"pulse_off": 2
}
]
}
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...