Get current door sensor status
Returns info about door sensor status
Responses
- 200
 - 400
 - 401
 - 403
 
OK
- application/json
 
- Schema
 - Example (from schema)
 - Example
 
Schema
- is_timeout_exceed boolean
If door open timeout is exceeded
 - status string
Possible values: [
open,closed]Door status
 - opentime integer
Door opening time in seconds
 mode object
Door mode
anyOf- MOD1
 - MOD2
 
stringPossible values: [
door_sensor,enter_button,concierge]The model represents available door access modes
stringPossible values: [
door_sensor,enter_button]Params that available only on individual panels
{
  "is_timeout_exceed": false,
  "status": "open",
  "opentime": 0,
  "mode": "enter_button"
}
{
  "is_timeout_exceed": false,
  "status": "open",
  "opentime": 0,
  "mode": "door_sensor"
}
Door sensor mode is not activated
- application/json
 
- Schema
 - Example (from schema)
 - Door sensor mode is not activated
 
Schema
- error string
Error message
 
{
  "error": "Wrong JSON body"
}
{
  "error": "Door sensor mode is not activated"
}
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...