POST api/ITILStaffReside/EditITILStaffResideSubmit

Request Information

URI Parameters

None.

Body Parameters

ITILStaffResideDTO
NameDescriptionTypeAdditional information
ID

integer

None.

CardNum

string

None.

StaffName

string

None.

Type

string

None.

Depatment

string

None.

Tel

string

None.

OpeationRoom

boolean

None.

AutoDoor

boolean

None.

IDCard

string

None.

OrgName

string

None.

UpdateTime

date

None.

IsRun

boolean

None.

OrgCode

string

None.

ParentCode

string

None.

Account

string

None.

Id

编号

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "CardNum": "sample string 2",
  "StaffName": "sample string 3",
  "Type": "sample string 4",
  "Depatment": "sample string 5",
  "Tel": "sample string 6",
  "OpeationRoom": true,
  "AutoDoor": true,
  "IDCard": "sample string 9",
  "OrgName": "sample string 10",
  "UpdateTime": "2018-12-15T10:02:09.4971803+08:00",
  "IsRun": true,
  "OrgCode": "sample string 13",
  "ParentCode": "sample string 14",
  "Account": "sample string 15",
  "Id": 16
}

application/xml, text/xml

Sample:
<ITILStaffResideDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <CreateBy>sample string 18</CreateBy>
  <CreateId>1</CreateId>
  <CreateTime>2018-12-15T10:02:09.4971803+08:00</CreateTime>
  <Id>16</Id>
  <IsObsoleted>true</IsObsoleted>
  <ModifyBy>sample string 17</ModifyBy>
  <ModifyId>1</ModifyId>
  <ModifyTime>2018-12-15T10:02:09.4971803+08:00</ModifyTime>
  <Account>sample string 15</Account>
  <AutoDoor>true</AutoDoor>
  <CardNum>sample string 2</CardNum>
  <Depatment>sample string 5</Depatment>
  <ID>1</ID>
  <IDCard>sample string 9</IDCard>
  <IsRun>true</IsRun>
  <OpeationRoom>true</OpeationRoom>
  <OrgCode>sample string 13</OrgCode>
  <OrgName>sample string 10</OrgName>
  <ParentCode>sample string 14</ParentCode>
  <StaffName>sample string 3</StaffName>
  <Tel>sample string 6</Tel>
  <Type>sample string 4</Type>
  <UpdateTime>2018-12-15T10:02:09.4971803+08:00</UpdateTime>
</ITILStaffResideDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ITILStaffResideDTO'.

Response Information

Resource Description

StatusDTO
NameDescriptionTypeAdditional information
Status

状态

integer

None.

StatusMessage

消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "StatusMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<StatusDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <Status>1</Status>
  <StatusMessage>sample string 1</StatusMessage>
</StatusDTO>