PUT api/v1/Locks
Updates existing lock
Request Information
URI Parameters
None.
Body Parameters
UpdateLockParamName | Description | Type | Additional information |
---|---|---|---|
Lock |
Lock information |
LockUpdate |
None. |
Request Formats
application/json, text/json
Sample:
{ "Lock": { "ClockInstalled": true, "ClockInstalledDateUtc": "2025-05-20T13:04:37.7667095+03:00", "Description": "sample string 2", "Direction": "sample string 3", "DoorThickness": "sample string 4", "DoorType": "sample string 5", "Ext": 6, "ExtDescription": "sample string 7", "ExtentionPiece": "sample string 8", "Handed": "sample string 9", "KeyChamber": "sample string 10", "LocationCode": "sample string 11", "LockFramework": "sample string 12", "LockFrameworkDepth": "sample string 13", "FLock_ID": "a3446478-bae3-4916-9c4a-698faa57d7a3", "LockingObject": "sample string 15", "LockType": 16, "Mounting": "sample string 17", "OtherEquipment": "sample string 18", "State": 19, "Stamp": "sample string 20", "Zone_ID": "867cf9b2-596e-46ce-a19f-60121047e4f0", "DefaultProgramStationFProgKey_ID": "44f8f297-f7b7-4132-9258-429acc7d44d9" } }
application/xml, text/xml
Sample:
<LockParams.UpdateLockParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iloq.manager.server.ws.WebApi.Params"> <Lock xmlns:d2p1="http://schemas.datacontract.org/2004/07/iloq.manager.server.bus"> <d2p1:ClockInstalled>true</d2p1:ClockInstalled> <d2p1:ClockInstalledDateUtc>2025-05-20T13:04:37.7667095+03:00</d2p1:ClockInstalledDateUtc> <d2p1:DefaultProgramStationFProgKey_ID>44f8f297-f7b7-4132-9258-429acc7d44d9</d2p1:DefaultProgramStationFProgKey_ID> <d2p1:Description>sample string 2</d2p1:Description> <d2p1:Direction>sample string 3</d2p1:Direction> <d2p1:DoorThickness>sample string 4</d2p1:DoorThickness> <d2p1:DoorType>sample string 5</d2p1:DoorType> <d2p1:Ext>6</d2p1:Ext> <d2p1:ExtDescription>sample string 7</d2p1:ExtDescription> <d2p1:ExtentionPiece>sample string 8</d2p1:ExtentionPiece> <d2p1:FLock_ID>a3446478-bae3-4916-9c4a-698faa57d7a3</d2p1:FLock_ID> <d2p1:Handed>sample string 9</d2p1:Handed> <d2p1:KeyChamber>sample string 10</d2p1:KeyChamber> <d2p1:LocationCode>sample string 11</d2p1:LocationCode> <d2p1:LockFramework>sample string 12</d2p1:LockFramework> <d2p1:LockFrameworkDepth>sample string 13</d2p1:LockFrameworkDepth> <d2p1:LockType>16</d2p1:LockType> <d2p1:LockingObject>sample string 15</d2p1:LockingObject> <d2p1:Mounting>sample string 17</d2p1:Mounting> <d2p1:OtherEquipment>sample string 18</d2p1:OtherEquipment> <d2p1:Stamp>sample string 20</d2p1:Stamp> <d2p1:State>19</d2p1:State> <d2p1:Zone_ID>867cf9b2-596e-46ce-a19f-60121047e4f0</d2p1:Zone_ID> </Lock> </LockParams.UpdateLockParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.