POST api/ITILOperateRoomModel/PageList

Request Information

URI Parameters

None.

Body Parameters

ITILOperateRoomModelWhereDOM
NameDescriptionTypeAdditional information
ApplyUser

string

None.

PageNum

integer

None.

NumPerPage

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ApplyUser": "sample string 1",
  "PageNum": 1,
  "NumPerPage": 1
}

application/xml, text/xml

Sample:
<ITILOperateRoomModelWhereDOM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOM">
  <NumPerPage>1</NumPerPage>
  <PageNum>1</PageNum>
  <ApplyUser>sample string 1</ApplyUser>
</ITILOperateRoomModelWhereDOM>

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

Response Information

Resource Description

IViewPageListOfITILOperateRoomModelDTO
NameDescriptionTypeAdditional information
data

Collection of ITILOperateRoomModelDTO

None.

total

integer

None.

pageSize

integer

None.

pageNum

integer

None.

code

integer

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "ModelId": 1,
      "ModelName": "sample string 2",
      "Account": "sample string 3",
      "CreateDate": "2018-12-11T22:59:00.2158402+08:00"
    },
    {
      "ModelId": 1,
      "ModelName": "sample string 2",
      "Account": "sample string 3",
      "CreateDate": "2018-12-11T22:59:00.2158402+08:00"
    }
  ],
  "total": 1,
  "pageSize": 2,
  "pageNum": 3,
  "code": 4,
  "message": "sample string 5"
}

application/xml, text/xml

Sample:
<IViewPageListOfITILOperateRoomModelDTOpv1JTFkd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CommonTool">
  <code>4</code>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DTO">
    <d2p1:ITILOperateRoomModelDTO>
      <d2p1:Account>sample string 3</d2p1:Account>
      <d2p1:CreateDate>2018-12-11T22:59:00.2158402+08:00</d2p1:CreateDate>
      <d2p1:ModelId>1</d2p1:ModelId>
      <d2p1:ModelName>sample string 2</d2p1:ModelName>
    </d2p1:ITILOperateRoomModelDTO>
    <d2p1:ITILOperateRoomModelDTO>
      <d2p1:Account>sample string 3</d2p1:Account>
      <d2p1:CreateDate>2018-12-11T22:59:00.2158402+08:00</d2p1:CreateDate>
      <d2p1:ModelId>1</d2p1:ModelId>
      <d2p1:ModelName>sample string 2</d2p1:ModelName>
    </d2p1:ITILOperateRoomModelDTO>
  </data>
  <message>sample string 5</message>
  <pageNum>3</pageNum>
  <pageSize>2</pageSize>
  <total>1</total>
</IViewPageListOfITILOperateRoomModelDTOpv1JTFkd>