Set the settings for all locks
Set the settings for all locks
- Not available on CR-02BD
- The DTMF value for elevator calling and lock opening cannot be the same
- application/json
Request Body
- 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 required- 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 
- 200
- 400
- 401
OK
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
- error stringerror type/info 
{
  "error": "Wrong JSON body"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error stringerror message 
{
  "error": "Log In"
}
{
  "error": "Log In"
}