Get the settings for all locks
Get the settings for all locks
- Not available on CR-02BD
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- open_all_dtmf stringPossible values: Value must match regular expression ^[\d*#ABCD]{0,4}$Default value: *dtmf value that is used to open all locks 
- use_old_sh42 booleanDefault value: trueUse compatibility mode with the SH-42 firmware version before the 04.08.2022 
- settings object[]- array of settings applied to locks dtmf lock_number integer- Possible values: - >= 1and- <= 8- lock number timeout integer- Possible values: - >= 1and- <= 40- Time after opening until locking delay integer- Possible values: - <= 9- Delay before unlocking type string- Possible values: [ - electromagnetic,- electromechanical]- Type of the lock pulse_on integer- Possible values: - >= 1and- <= 300- Power on duration in seconds for electromechanical lock pulse_off integer- Possible values: - >= 1and- <= 300- Time between swithcing on the electromechanical lock dtmf_code string- Possible values: Value must match regular expression - ^[\d*#ABCD]{0,4}$- dtmf code value 
{
  "open_all_dtmf": "*",
  "use_old_sh42": true,
  "settings": [
    {
      "lock_number": 2,
      "timeout": 10,
      "delay": 0,
      "type": "electromagnetic",
      "pulse_on": 3,
      "pulse_off": 10,
      "dtmf_code": "8A"
    }
  ]
}
{
  "use_old_sh42": true,
  "open_all_dtmf": "*",
  "settings": [
    {
      "lock_number": 1,
      "type": "electromagnetic",
      "timeout": 10,
      "delay": 0,
      "dtmf_code": "#"
    },
    {
      "lock_number": 2,
      "type": "electromechanical",
      "pulse_on": 1,
      "pulse_off": 2,
      "timeout": 10,
      "delay": 0,
      "dtmf_code": "0"
    },
    {
      "lock_number": 8,
      "type": "electromagnetic",
      "timeout": 1,
      "delay": 0,
      "dtmf_code": "8A"
    }
  ]
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error stringerror message 
{
  "error": "Log In"
}
{
  "error": "Log In"
}