This resource sends a broadcast lock control command to all locks in the linkList that support the lock control command issued. This command puts the edge device into the commanded state until a recalculation of state event occurs (unless the commanded state is a frozen state). This recalculation of state event occurs whenever a special credential (lockdown, toggle, etc.) is presented or a holiday, auto-unlock, or time change is sent to the edge device.
The body of the command is the JSON object lockControl as defined in the ENGAGE - JSON Data Structures document.
Gateway FW versions: Prior to 1.24: If the edge devices are configured with their own access control database and they are not wirelessly connected to the Gateway when this command is issued, the Gateway does not store the lock control command.
Gateway FW versions: 1.24 to latest: Lock state change commands are now cached in the Gateway and delivered upon reconnect to the edge device. Exception: Momentary unlock commands are not cached in the Gateway. Momentary unlock messages can only be delivered when edge device is connected to the Gateway.
Basic: Unique credentials defined and accepted during setup.
URI Parameters: None
Body: <missing body or should this be 'None'?>
Type: application/json
Example:
{"lockControl":{"lockState":{"nextLockState":"frozenSecure"}}}
HTTP status code: 200
Response parameters: None
HTTP status code: 202
Type: application/json
HTTP status code: 400
Response parameters: <missing or should this be 'None'?>
Type: application/json
statusMessage = multiple detailed status message, value(s) defined below
“Relock delay out of bounds” indicates, relock delay sent in JSON body is out of bounds
“Invalid JSON tag” indicates, invalid tag name sent in JSON body
“Invalid JSON tag value”, indicates, invalid tag value in JSON body
HTTP status code: 409
Response parameters: <missing or should this be 'None'?>
Type: application/json
Last Modified: October 15, 2019