POST api/ITILOperateRoomModelList/AddOperateRoomModelList

Request Information

URI Parameters

None.

Body Parameters

ITILOperateRoomModelListWhereDOM
NameDescriptionTypeAdditional information
ModelID

string

None.

CreateDate

date

None.

ParentCode

string

None.

OrgCode

string

None.

listDto

Collection of ITILOperateRoomModelListDTO

None.

PageNum

integer

None.

NumPerPage

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ModelID": "sample string 1",
  "CreateDate": "2018-12-12T01:39:36.5908485+08:00",
  "ParentCode": "sample string 3",
  "OrgCode": "sample string 4",
  "listDto": [
    {
      "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-12T01:39:36.5908485+08:00",
      "IsReside": "sample string 8",
      "Tel": "sample string 9",
      "OpeationRoom": true,
      "AutoDoor": true
    },
    {
      "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-12T01:39:36.5908485+08:00",
      "IsReside": "sample string 8",
      "Tel": "sample string 9",
      "OpeationRoom": true,
      "AutoDoor": true
    }
  ],
  "PageNum": 1,
  "NumPerPage": 1
}

application/xml, text/xml

Sample:
<ITILOperateRoomModelListWhereDOM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOM">
  <NumPerPage>1</NumPerPage>
  <PageNum>1</PageNum>
  <CreateDate>2018-12-12T01:39:36.5908485+08:00</CreateDate>
  <ModelID>sample string 1</ModelID>
  <OrgCode>sample string 4</OrgCode>
  <ParentCode>sample string 3</ParentCode>
  <listDto xmlns:d2p1="http://schemas.datacontract.org/2004/07/DTO">
    <d2p1:ITILOperateRoomModelListDTO>
      <d2p1:AutoDoor>true</d2p1:AutoDoor>
      <d2p1:CardNum>sample string 3</d2p1:CardNum>
      <d2p1:CreateDate>2018-12-12T01:39:36.5908485+08:00</d2p1:CreateDate>
      <d2p1:Depatment>sample string 6</d2p1:Depatment>
      <d2p1:IDCard>sample string 7</d2p1:IDCard>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsReside>sample string 8</d2p1:IsReside>
      <d2p1:ModelID>sample string 2</d2p1:ModelID>
      <d2p1:OpeationRoom>true</d2p1:OpeationRoom>
      <d2p1:StaffName>sample string 4</d2p1:StaffName>
      <d2p1:Tel>sample string 9</d2p1:Tel>
      <d2p1:Type>sample string 5</d2p1:Type>
    </d2p1:ITILOperateRoomModelListDTO>
    <d2p1:ITILOperateRoomModelListDTO>
      <d2p1:AutoDoor>true</d2p1:AutoDoor>
      <d2p1:CardNum>sample string 3</d2p1:CardNum>
      <d2p1:CreateDate>2018-12-12T01:39:36.5908485+08:00</d2p1:CreateDate>
      <d2p1:Depatment>sample string 6</d2p1:Depatment>
      <d2p1:IDCard>sample string 7</d2p1:IDCard>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsReside>sample string 8</d2p1:IsReside>
      <d2p1:ModelID>sample string 2</d2p1:ModelID>
      <d2p1:OpeationRoom>true</d2p1:OpeationRoom>
      <d2p1:StaffName>sample string 4</d2p1:StaffName>
      <d2p1:Tel>sample string 9</d2p1:Tel>
      <d2p1:Type>sample string 5</d2p1:Type>
    </d2p1:ITILOperateRoomModelListDTO>
  </listDto>
</ITILOperateRoomModelListWhereDOM>

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

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>