POST api/ITILAuditModel/PageList

Request Information

URI Parameters

None.

Body Parameters

ITILAuditModelWhereDOM
NameDescriptionTypeAdditional information
Account

string

None.

UserLevel

string

None.

ApplyProject

string

None.

OrgCode

string

None.

PageNum

integer

None.

NumPerPage

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Account": "sample string 1",
  "UserLevel": "sample string 2",
  "ApplyProject": "sample string 3",
  "OrgCode": "sample string 4",
  "PageNum": 1,
  "NumPerPage": 1
}

application/xml, text/xml

Sample:
<ITILAuditModelWhereDOM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOM">
  <NumPerPage>1</NumPerPage>
  <PageNum>1</PageNum>
  <Account>sample string 1</Account>
  <ApplyProject>sample string 3</ApplyProject>
  <OrgCode>sample string 4</OrgCode>
  <UserLevel>sample string 2</UserLevel>
</ITILAuditModelWhereDOM>

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

Response Information

Resource Description

IViewPageListOfITILAuditModelDTO
NameDescriptionTypeAdditional information
data

Collection of ITILAuditModelDTO

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-12T01:48:32.3409113+08:00",
      "UserLevel": "sample string 5",
      "ApplyProject": "sample string 6"
    },
    {
      "ModelId": 1,
      "ModelName": "sample string 2",
      "Account": "sample string 3",
      "CreateDate": "2018-12-12T01:48:32.3409113+08:00",
      "UserLevel": "sample string 5",
      "ApplyProject": "sample string 6"
    }
  ],
  "total": 1,
  "pageSize": 2,
  "pageNum": 3,
  "code": 4,
  "message": "sample string 5"
}

application/xml, text/xml

Sample:
<IViewPageListOfITILAuditModelDTOpv1JTFkd 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:ITILAuditModelDTO>
      <d2p1:Account>sample string 3</d2p1:Account>
      <d2p1:ApplyProject>sample string 6</d2p1:ApplyProject>
      <d2p1:CreateDate>2018-12-12T01:48:32.3409113+08:00</d2p1:CreateDate>
      <d2p1:ModelId>1</d2p1:ModelId>
      <d2p1:ModelName>sample string 2</d2p1:ModelName>
      <d2p1:UserLevel>sample string 5</d2p1:UserLevel>
    </d2p1:ITILAuditModelDTO>
    <d2p1:ITILAuditModelDTO>
      <d2p1:Account>sample string 3</d2p1:Account>
      <d2p1:ApplyProject>sample string 6</d2p1:ApplyProject>
      <d2p1:CreateDate>2018-12-12T01:48:32.3409113+08:00</d2p1:CreateDate>
      <d2p1:ModelId>1</d2p1:ModelId>
      <d2p1:ModelName>sample string 2</d2p1:ModelName>
      <d2p1:UserLevel>sample string 5</d2p1:UserLevel>
    </d2p1:ITILAuditModelDTO>
  </data>
  <message>sample string 5</message>
  <pageNum>3</pageNum>
  <pageSize>2</pageSize>
  <total>1</total>
</IViewPageListOfITILAuditModelDTOpv1JTFkd>