POST api/ITILOperateRoomModelList/AddITILOperateRoomModelListSubmit

Request Information

URI Parameters

None.

Body Parameters

ITILOperateRoomModelListDTO
NameDescriptionTypeAdditional information
Id

integer

None.

ModelID

string

None.

CardNum

string

None.

StaffName

string

None.

Type

string

None.

Depatment

string

None.

IDCard

string

None.

CreateDate

date

None.

IsReside

string

None.

Tel

string

None.

OpeationRoom

boolean

None.

AutoDoor

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ModelID": "sample string 2",
  "CardNum": "sample string 3",
  "StaffName": "sample string 4",
  "Type": "sample string 5",
  "Depatment": "sample string 6",
  "IDCard": "sample string 7",
  "CreateDate": "2018-12-12T03:03:57.1689936+08:00",
  "IsReside": "sample string 8",
  "Tel": "sample string 9",
  "OpeationRoom": true,
  "AutoDoor": true
}

application/xml, text/xml

Sample:
<ITILOperateRoomModelListDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <AutoDoor>true</AutoDoor>
  <CardNum>sample string 3</CardNum>
  <CreateDate>2018-12-12T03:03:57.1689936+08:00</CreateDate>
  <Depatment>sample string 6</Depatment>
  <IDCard>sample string 7</IDCard>
  <Id>1</Id>
  <IsReside>sample string 8</IsReside>
  <ModelID>sample string 2</ModelID>
  <OpeationRoom>true</OpeationRoom>
  <StaffName>sample string 4</StaffName>
  <Tel>sample string 9</Tel>
  <Type>sample string 5</Type>
</ITILOperateRoomModelListDTO>

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 'ITILOperateRoomModelListDTO'.

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>