PUT api/v1/Locks
Updates existing lock
Request Information
URI Parameters
None.
Body Parameters
UpdateLockParam| Name | Description | Type | Additional information |
|---|---|---|---|
| Lock |
Lock information |
LockUpdate |
None. |
Request Formats
application/json, text/json
Sample:
{
"Lock": {
"ClockInstalled": true,
"ClockInstalledDateUtc": "2025-10-30T06:01:46.9359053+02: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": "2c1bfbb4-0175-473a-8800-a27ecde88e21",
"LockingObject": "sample string 15",
"LockType": 16,
"Mounting": "sample string 17",
"OtherEquipment": "sample string 18",
"State": 19,
"Stamp": "sample string 20",
"Zone_ID": "232f7632-2e9e-4789-9adf-8b1c0edb50c9",
"DefaultProgramStationFProgKey_ID": "005a3086-10e6-4d78-9c5a-a60f95d9b342"
}
}
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-10-30T06:01:46.9359053+02:00</d2p1:ClockInstalledDateUtc>
<d2p1:DefaultProgramStationFProgKey_ID>005a3086-10e6-4d78-9c5a-a60f95d9b342</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>2c1bfbb4-0175-473a-8800-a27ecde88e21</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>232f7632-2e9e-4789-9adf-8b1c0edb50c9</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.