POST api/ITILPushNotifications/PageList

Request Information

URI Parameters

None.

Body Parameters

ITILPushNotificationsWhereDOM
NameDescriptionTypeAdditional information
Type

integer

None.

IsPush

boolean

None.

IsRead

boolean

None.

StaffID

integer

None.

ListDto

Collection of ITILPushNotificationsDTO

None.

PageNum

integer

None.

NumPerPage

integer

None.

PageIndex

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Type": 1,
  "IsPush": true,
  "IsRead": true,
  "StaffID": 1,
  "ListDto": [
    {
      "Id": 1,
      "Title": "sample string 2",
      "Context": "sample string 3",
      "StaffID": 4,
      "Type": 1,
      "IsRead": true,
      "IsPush": true,
      "ReadTime": "2019-03-24T06:37:38.02752+08:00",
      "PushTime": "2019-03-24T06:37:38.02752+08:00",
      "CreateTime": "2019-03-24T06:37:38.02752+08:00",
      "ModifyTime": "2019-03-24T06:37:38.02752+08:00"
    },
    {
      "Id": 1,
      "Title": "sample string 2",
      "Context": "sample string 3",
      "StaffID": 4,
      "Type": 1,
      "IsRead": true,
      "IsPush": true,
      "ReadTime": "2019-03-24T06:37:38.02752+08:00",
      "PushTime": "2019-03-24T06:37:38.02752+08:00",
      "CreateTime": "2019-03-24T06:37:38.02752+08:00",
      "ModifyTime": "2019-03-24T06:37:38.02752+08:00"
    }
  ],
  "PageNum": 1,
  "NumPerPage": 1,
  "PageIndex": 1,
  "PageSize": 1
}

application/xml, text/xml

Sample:
<ITILPushNotificationsWhereDOM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOM">
  <NumPerPage>1</NumPerPage>
  <PageNum>1</PageNum>
  <IsPush>true</IsPush>
  <IsRead>true</IsRead>
  <ListDto xmlns:d2p1="http://schemas.datacontract.org/2004/07/DTO">
    <d2p1:ITILPushNotificationsDTO>
      <d2p1:Context>sample string 3</d2p1:Context>
      <d2p1:CreateTime>2019-03-24T06:37:38.02752+08:00</d2p1:CreateTime>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsPush>true</d2p1:IsPush>
      <d2p1:IsRead>true</d2p1:IsRead>
      <d2p1:ModifyTime>2019-03-24T06:37:38.02752+08:00</d2p1:ModifyTime>
      <d2p1:PushTime>2019-03-24T06:37:38.02752+08:00</d2p1:PushTime>
      <d2p1:ReadTime>2019-03-24T06:37:38.02752+08:00</d2p1:ReadTime>
      <d2p1:StaffID>4</d2p1:StaffID>
      <d2p1:Title>sample string 2</d2p1:Title>
      <d2p1:Type>1</d2p1:Type>
    </d2p1:ITILPushNotificationsDTO>
    <d2p1:ITILPushNotificationsDTO>
      <d2p1:Context>sample string 3</d2p1:Context>
      <d2p1:CreateTime>2019-03-24T06:37:38.02752+08:00</d2p1:CreateTime>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsPush>true</d2p1:IsPush>
      <d2p1:IsRead>true</d2p1:IsRead>
      <d2p1:ModifyTime>2019-03-24T06:37:38.02752+08:00</d2p1:ModifyTime>
      <d2p1:PushTime>2019-03-24T06:37:38.02752+08:00</d2p1:PushTime>
      <d2p1:ReadTime>2019-03-24T06:37:38.02752+08:00</d2p1:ReadTime>
      <d2p1:StaffID>4</d2p1:StaffID>
      <d2p1:Title>sample string 2</d2p1:Title>
      <d2p1:Type>1</d2p1:Type>
    </d2p1:ITILPushNotificationsDTO>
  </ListDto>
  <StaffID>1</StaffID>
  <Type>1</Type>
</ITILPushNotificationsWhereDOM>

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

Response Information

Resource Description

IViewPageListOfITILPushNotificationsDTO
NameDescriptionTypeAdditional information
data

Collection of ITILPushNotificationsDTO

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,
      "Title": "sample string 2",
      "Context": "sample string 3",
      "StaffID": 4,
      "Type": 1,
      "IsRead": true,
      "IsPush": true,
      "ReadTime": "2019-03-24T06:37:38.02752+08:00",
      "PushTime": "2019-03-24T06:37:38.02752+08:00",
      "CreateTime": "2019-03-24T06:37:38.02752+08:00",
      "ModifyTime": "2019-03-24T06:37:38.02752+08:00"
    },
    {
      "Id": 1,
      "Title": "sample string 2",
      "Context": "sample string 3",
      "StaffID": 4,
      "Type": 1,
      "IsRead": true,
      "IsPush": true,
      "ReadTime": "2019-03-24T06:37:38.02752+08:00",
      "PushTime": "2019-03-24T06:37:38.02752+08:00",
      "CreateTime": "2019-03-24T06:37:38.02752+08:00",
      "ModifyTime": "2019-03-24T06:37:38.02752+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:
<IViewPageListOfITILPushNotificationsDTOpv1JTFkd 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:ITILPushNotificationsDTO>
      <d2p1:Context>sample string 3</d2p1:Context>
      <d2p1:CreateTime>2019-03-24T06:37:38.02752+08:00</d2p1:CreateTime>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsPush>true</d2p1:IsPush>
      <d2p1:IsRead>true</d2p1:IsRead>
      <d2p1:ModifyTime>2019-03-24T06:37:38.02752+08:00</d2p1:ModifyTime>
      <d2p1:PushTime>2019-03-24T06:37:38.02752+08:00</d2p1:PushTime>
      <d2p1:ReadTime>2019-03-24T06:37:38.02752+08:00</d2p1:ReadTime>
      <d2p1:StaffID>4</d2p1:StaffID>
      <d2p1:Title>sample string 2</d2p1:Title>
      <d2p1:Type>1</d2p1:Type>
    </d2p1:ITILPushNotificationsDTO>
    <d2p1:ITILPushNotificationsDTO>
      <d2p1:Context>sample string 3</d2p1:Context>
      <d2p1:CreateTime>2019-03-24T06:37:38.02752+08:00</d2p1:CreateTime>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsPush>true</d2p1:IsPush>
      <d2p1:IsRead>true</d2p1:IsRead>
      <d2p1:ModifyTime>2019-03-24T06:37:38.02752+08:00</d2p1:ModifyTime>
      <d2p1:PushTime>2019-03-24T06:37:38.02752+08:00</d2p1:PushTime>
      <d2p1:ReadTime>2019-03-24T06:37:38.02752+08:00</d2p1:ReadTime>
      <d2p1:StaffID>4</d2p1:StaffID>
      <d2p1:Title>sample string 2</d2p1:Title>
      <d2p1:Type>1</d2p1:Type>
    </d2p1:ITILPushNotificationsDTO>
  </data>
  <message>sample string 5</message>
  <pageNum>3</pageNum>
  <pageSize>2</pageSize>
  <total>1</total>
</IViewPageListOfITILPushNotificationsDTOpv1JTFkd>