POST api/ITILComSystemsOrList/PageList

Request Information

URI Parameters

None.

Body Parameters

ITILComSystemsOrListWhereDOM
NameDescriptionTypeAdditional information
StaffID

integer

None.

Type

integer

None.

searchWhere

string

None.

dtoList

Collection of ITILComSystemsOrListDTO

None.

PageNum

integer

None.

NumPerPage

integer

None.

PageIndex

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "StaffID": 1,
  "Type": 1,
  "searchWhere": "sample string 2",
  "dtoList": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "SystemUrl": "sample string 3",
      "ListUrl": "sample string 4",
      "Type": 5,
      "CreatedBy": 6,
      "StaffID": 7,
      "CreateTime": "2019-05-20T08:29:21.463959+08:00"
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "SystemUrl": "sample string 3",
      "ListUrl": "sample string 4",
      "Type": 5,
      "CreatedBy": 6,
      "StaffID": 7,
      "CreateTime": "2019-05-20T08:29:21.463959+08:00"
    }
  ],
  "PageNum": 1,
  "NumPerPage": 1,
  "PageIndex": 1,
  "PageSize": 1
}

application/xml, text/xml

Sample:
<ITILComSystemsOrListWhereDOM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOM">
  <NumPerPage>1</NumPerPage>
  <PageNum>1</PageNum>
  <StaffID>1</StaffID>
  <Type>1</Type>
  <dtoList xmlns:d2p1="http://schemas.datacontract.org/2004/07/DTO">
    <d2p1:ITILComSystemsOrListDTO>
      <d2p1:CreateTime>2019-05-20T08:29:21.463959+08:00</d2p1:CreateTime>
      <d2p1:CreatedBy>6</d2p1:CreatedBy>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ListUrl>sample string 4</d2p1:ListUrl>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:StaffID>7</d2p1:StaffID>
      <d2p1:SystemUrl>sample string 3</d2p1:SystemUrl>
      <d2p1:Type>5</d2p1:Type>
    </d2p1:ITILComSystemsOrListDTO>
    <d2p1:ITILComSystemsOrListDTO>
      <d2p1:CreateTime>2019-05-20T08:29:21.463959+08:00</d2p1:CreateTime>
      <d2p1:CreatedBy>6</d2p1:CreatedBy>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ListUrl>sample string 4</d2p1:ListUrl>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:StaffID>7</d2p1:StaffID>
      <d2p1:SystemUrl>sample string 3</d2p1:SystemUrl>
      <d2p1:Type>5</d2p1:Type>
    </d2p1:ITILComSystemsOrListDTO>
  </dtoList>
  <searchWhere>sample string 2</searchWhere>
</ITILComSystemsOrListWhereDOM>

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

Response Information

Resource Description

IViewPageListOfITILComSystemsOrListDTO
NameDescriptionTypeAdditional information
data

Collection of ITILComSystemsOrListDTO

None.

total

integer

None.

pageSize

integer

None.

pageNum

integer

None.

code

integer

None.

message

string

None.

HasNextPage

boolean

None.

ColumnsList

Collection of Columns

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "SystemUrl": "sample string 3",
      "ListUrl": "sample string 4",
      "Type": 5,
      "CreatedBy": 6,
      "StaffID": 7,
      "CreateTime": "2019-05-20T08:29:21.463959+08:00"
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "SystemUrl": "sample string 3",
      "ListUrl": "sample string 4",
      "Type": 5,
      "CreatedBy": 6,
      "StaffID": 7,
      "CreateTime": "2019-05-20T08:29:21.463959+08:00"
    }
  ],
  "total": 1,
  "pageSize": 2,
  "pageNum": 3,
  "code": 4,
  "message": "sample string 5",
  "HasNextPage": true,
  "ColumnsList": [
    {
      "key": "sample string 1",
      "title": "sample string 2",
      "type": "sample string 3",
      "width": 4,
      "align": "sample string 5",
      "value": "sample string 6"
    },
    {
      "key": "sample string 1",
      "title": "sample string 2",
      "type": "sample string 3",
      "width": 4,
      "align": "sample string 5",
      "value": "sample string 6"
    }
  ]
}

application/xml, text/xml

Sample:
<IViewPageListOfITILComSystemsOrListDTOpv1JTFkd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CommonTool">
  <ColumnsList>
    <Columns>
      <align>sample string 5</align>
      <key>sample string 1</key>
      <title>sample string 2</title>
      <type>sample string 3</type>
      <value>sample string 6</value>
      <width>4</width>
    </Columns>
    <Columns>
      <align>sample string 5</align>
      <key>sample string 1</key>
      <title>sample string 2</title>
      <type>sample string 3</type>
      <value>sample string 6</value>
      <width>4</width>
    </Columns>
  </ColumnsList>
  <HasNextPage>true</HasNextPage>
  <code>4</code>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DTO">
    <d2p1:ITILComSystemsOrListDTO>
      <d2p1:CreateTime>2019-05-20T08:29:21.463959+08:00</d2p1:CreateTime>
      <d2p1:CreatedBy>6</d2p1:CreatedBy>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ListUrl>sample string 4</d2p1:ListUrl>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:StaffID>7</d2p1:StaffID>
      <d2p1:SystemUrl>sample string 3</d2p1:SystemUrl>
      <d2p1:Type>5</d2p1:Type>
    </d2p1:ITILComSystemsOrListDTO>
    <d2p1:ITILComSystemsOrListDTO>
      <d2p1:CreateTime>2019-05-20T08:29:21.463959+08:00</d2p1:CreateTime>
      <d2p1:CreatedBy>6</d2p1:CreatedBy>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ListUrl>sample string 4</d2p1:ListUrl>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:StaffID>7</d2p1:StaffID>
      <d2p1:SystemUrl>sample string 3</d2p1:SystemUrl>
      <d2p1:Type>5</d2p1:Type>
    </d2p1:ITILComSystemsOrListDTO>
  </data>
  <message>sample string 5</message>
  <pageNum>3</pageNum>
  <pageSize>2</pageSize>
  <total>1</total>
</IViewPageListOfITILComSystemsOrListDTOpv1JTFkd>