POST api/access/Device/Update

Request Information

URI Parameters

None.

Body Parameters

Device
NameDescriptionTypeAdditional information
Id

string

None.

Code

string

None.

Name

string

None.

Ip

string

None.

IpPort

integer

None.

DoorCount

integer

None.

Brand

string

None.

Remark

string

None.

Doors

Collection of Door

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "code": "sample string 2",
  "name": "sample string 3",
  "ip": "sample string 4",
  "ipPort": 5,
  "doorCount": 6,
  "brand": "sample string 7",
  "remark": "sample string 8",
  "doors": [
    {
      "id": "sample string 1",
      "deviceId": "sample string 2",
      "code": 3,
      "name": "sample string 4",
      "delay": 5,
      "online": 6,
      "password": "sample string 7",
      "remark": "sample string 8"
    },
    {
      "id": "sample string 1",
      "deviceId": "sample string 2",
      "code": 3,
      "name": "sample string 4",
      "delay": 5,
      "online": 6,
      "password": "sample string 7",
      "remark": "sample string 8"
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResultOfBoolean
NameDescriptionTypeAdditional information
code

integer

None.

message

string

None.

result

boolean

None.

Response Formats

application/json, text/json

Sample:

Sample not available.