POST api/ITILAuditModelList/PageList

Request Information

URI Parameters

None.

Body Parameters

ITILAuditModelListWhereDOM
NameDescriptionTypeAdditional information
ModelId

string

None.

EquipIP

string

None.

EquipType

string

None.

CreateDate

date

None.

Status

integer

None.

StatusMessage

string

None.

data

Collection of ITILAuditModelListDTO

None.

listDto

Collection of ITILAuditModelListDTO

None.

PageNum

integer

None.

NumPerPage

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ModelId": "sample string 1",
  "EquipIP": "sample string 2",
  "EquipType": "sample string 3",
  "CreateDate": "2018-12-15T09:44:04.7005441+08:00",
  "Status": 5,
  "StatusMessage": "sample string 6",
  "data": [
    {
      "Id": 1,
      "ModelId": "sample string 2",
      "EquipName": "sample string 3",
      "EquipDesc": "sample string 4",
      "EquipIP": "sample string 5",
      "EquipUser": "sample string 6",
      "EquipDictate": "sample string 7",
      "EquipType": "sample string 8",
      "CreateDate": "2018-12-15T09:44:04.7005441+08:00"
    },
    {
      "Id": 1,
      "ModelId": "sample string 2",
      "EquipName": "sample string 3",
      "EquipDesc": "sample string 4",
      "EquipIP": "sample string 5",
      "EquipUser": "sample string 6",
      "EquipDictate": "sample string 7",
      "EquipType": "sample string 8",
      "CreateDate": "2018-12-15T09:44:04.7005441+08:00"
    }
  ],
  "listDto": [
    {
      "Id": 1,
      "ModelId": "sample string 2",
      "EquipName": "sample string 3",
      "EquipDesc": "sample string 4",
      "EquipIP": "sample string 5",
      "EquipUser": "sample string 6",
      "EquipDictate": "sample string 7",
      "EquipType": "sample string 8",
      "CreateDate": "2018-12-15T09:44:04.7005441+08:00"
    },
    {
      "Id": 1,
      "ModelId": "sample string 2",
      "EquipName": "sample string 3",
      "EquipDesc": "sample string 4",
      "EquipIP": "sample string 5",
      "EquipUser": "sample string 6",
      "EquipDictate": "sample string 7",
      "EquipType": "sample string 8",
      "CreateDate": "2018-12-15T09:44:04.7005441+08:00"
    }
  ],
  "PageNum": 1,
  "NumPerPage": 1
}

application/xml, text/xml

Sample:
<ITILAuditModelListWhereDOM 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-15T09:44:04.7005441+08:00</CreateDate>
  <EquipIP>sample string 2</EquipIP>
  <EquipType>sample string 3</EquipType>
  <ModelId>sample string 1</ModelId>
  <Status>5</Status>
  <StatusMessage>sample string 6</StatusMessage>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DTO">
    <d2p1:ITILAuditModelListDTO>
      <d2p1:CreateDate>2018-12-15T09:44:04.7005441+08:00</d2p1:CreateDate>
      <d2p1:EquipDesc>sample string 4</d2p1:EquipDesc>
      <d2p1:EquipDictate>sample string 7</d2p1:EquipDictate>
      <d2p1:EquipIP>sample string 5</d2p1:EquipIP>
      <d2p1:EquipName>sample string 3</d2p1:EquipName>
      <d2p1:EquipType>sample string 8</d2p1:EquipType>
      <d2p1:EquipUser>sample string 6</d2p1:EquipUser>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ModelId>sample string 2</d2p1:ModelId>
    </d2p1:ITILAuditModelListDTO>
    <d2p1:ITILAuditModelListDTO>
      <d2p1:CreateDate>2018-12-15T09:44:04.7005441+08:00</d2p1:CreateDate>
      <d2p1:EquipDesc>sample string 4</d2p1:EquipDesc>
      <d2p1:EquipDictate>sample string 7</d2p1:EquipDictate>
      <d2p1:EquipIP>sample string 5</d2p1:EquipIP>
      <d2p1:EquipName>sample string 3</d2p1:EquipName>
      <d2p1:EquipType>sample string 8</d2p1:EquipType>
      <d2p1:EquipUser>sample string 6</d2p1:EquipUser>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ModelId>sample string 2</d2p1:ModelId>
    </d2p1:ITILAuditModelListDTO>
  </data>
  <listDto xmlns:d2p1="http://schemas.datacontract.org/2004/07/DTO">
    <d2p1:ITILAuditModelListDTO>
      <d2p1:CreateDate>2018-12-15T09:44:04.7005441+08:00</d2p1:CreateDate>
      <d2p1:EquipDesc>sample string 4</d2p1:EquipDesc>
      <d2p1:EquipDictate>sample string 7</d2p1:EquipDictate>
      <d2p1:EquipIP>sample string 5</d2p1:EquipIP>
      <d2p1:EquipName>sample string 3</d2p1:EquipName>
      <d2p1:EquipType>sample string 8</d2p1:EquipType>
      <d2p1:EquipUser>sample string 6</d2p1:EquipUser>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ModelId>sample string 2</d2p1:ModelId>
    </d2p1:ITILAuditModelListDTO>
    <d2p1:ITILAuditModelListDTO>
      <d2p1:CreateDate>2018-12-15T09:44:04.7005441+08:00</d2p1:CreateDate>
      <d2p1:EquipDesc>sample string 4</d2p1:EquipDesc>
      <d2p1:EquipDictate>sample string 7</d2p1:EquipDictate>
      <d2p1:EquipIP>sample string 5</d2p1:EquipIP>
      <d2p1:EquipName>sample string 3</d2p1:EquipName>
      <d2p1:EquipType>sample string 8</d2p1:EquipType>
      <d2p1:EquipUser>sample string 6</d2p1:EquipUser>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ModelId>sample string 2</d2p1:ModelId>
    </d2p1:ITILAuditModelListDTO>
  </listDto>
</ITILAuditModelListWhereDOM>

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

Response Information

Resource Description

IViewPageListOfITILAuditModelListDTO
NameDescriptionTypeAdditional information
data

Collection of ITILAuditModelListDTO

None.

total

integer

None.

pageSize

integer

None.

pageNum

integer

None.

code

integer

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "Id": 1,
      "ModelId": "sample string 2",
      "EquipName": "sample string 3",
      "EquipDesc": "sample string 4",
      "EquipIP": "sample string 5",
      "EquipUser": "sample string 6",
      "EquipDictate": "sample string 7",
      "EquipType": "sample string 8",
      "CreateDate": "2018-12-15T09:44:04.7005441+08:00"
    },
    {
      "Id": 1,
      "ModelId": "sample string 2",
      "EquipName": "sample string 3",
      "EquipDesc": "sample string 4",
      "EquipIP": "sample string 5",
      "EquipUser": "sample string 6",
      "EquipDictate": "sample string 7",
      "EquipType": "sample string 8",
      "CreateDate": "2018-12-15T09:44:04.7005441+08:00"
    }
  ],
  "total": 1,
  "pageSize": 2,
  "pageNum": 3,
  "code": 4,
  "message": "sample string 5"
}

application/xml, text/xml

Sample:
<IViewPageListOfITILAuditModelListDTOpv1JTFkd 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:ITILAuditModelListDTO>
      <d2p1:CreateDate>2018-12-15T09:44:04.7005441+08:00</d2p1:CreateDate>
      <d2p1:EquipDesc>sample string 4</d2p1:EquipDesc>
      <d2p1:EquipDictate>sample string 7</d2p1:EquipDictate>
      <d2p1:EquipIP>sample string 5</d2p1:EquipIP>
      <d2p1:EquipName>sample string 3</d2p1:EquipName>
      <d2p1:EquipType>sample string 8</d2p1:EquipType>
      <d2p1:EquipUser>sample string 6</d2p1:EquipUser>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ModelId>sample string 2</d2p1:ModelId>
    </d2p1:ITILAuditModelListDTO>
    <d2p1:ITILAuditModelListDTO>
      <d2p1:CreateDate>2018-12-15T09:44:04.7005441+08:00</d2p1:CreateDate>
      <d2p1:EquipDesc>sample string 4</d2p1:EquipDesc>
      <d2p1:EquipDictate>sample string 7</d2p1:EquipDictate>
      <d2p1:EquipIP>sample string 5</d2p1:EquipIP>
      <d2p1:EquipName>sample string 3</d2p1:EquipName>
      <d2p1:EquipType>sample string 8</d2p1:EquipType>
      <d2p1:EquipUser>sample string 6</d2p1:EquipUser>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ModelId>sample string 2</d2p1:ModelId>
    </d2p1:ITILAuditModelListDTO>
  </data>
  <message>sample string 5</message>
  <pageNum>3</pageNum>
  <pageSize>2</pageSize>
  <total>1</total>
</IViewPageListOfITILAuditModelListDTOpv1JTFkd>