PUT api/v1/Hardwares/UpdateIlock

Request Information

URI Parameters

None.

Body Parameters

ILock
NameDescriptionTypeAdditional information
_IlockID

integer

None.

_Name

string

None.

_Description

string

None.

_LockModels

byte

None.

_FireRegulationTime

integer

None.

_OpeningTime

byte

None.

_ExtendedOpeningTime

byte

None.

_EnableFireRegulation

integer

None.

_Wireless

FEATURE

None.

_Rfid

byte

None.

_Nfc

byte

None.

_Ble

byte

None.

_Pir

byte

None.

_Doorcontact

Door_ContactEnum

None.

_InsideButton

InsideButton

None.

_FreePassage

FEATURE

None.

_SysNumber

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "_IlockID": 1,
  "_Name": "sample string 2",
  "_Description": "sample string 3",
  "_LockModels": 64,
  "_FireRegulationTime": 5,
  "_OpeningTime": 64,
  "_ExtendedOpeningTime": 64,
  "_EnableFireRegulation": 8,
  "_Wireless": 0,
  "_Rfid": 64,
  "_Nfc": 64,
  "_Ble": 64,
  "_Pir": 64,
  "_Doorcontact": 0,
  "_InsideButton": 0,
  "_FreePassage": 0,
  "_SysNumber": 13
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.