POST api/ITILAnnouncementArticle/PageList

Request Information

URI Parameters

None.

Body Parameters

ITILAnnouncementArticleWhereDOM
NameDescriptionTypeAdditional information
Type

integer

None.

OrgCode

string

None.

PageNum

integer

None.

NumPerPage

integer

None.

PageIndex

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Type": 1,
  "OrgCode": "sample string 2",
  "PageNum": 1,
  "NumPerPage": 1,
  "PageIndex": 1,
  "PageSize": 1
}

application/xml, text/xml

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

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

Response Information

Resource Description

IViewPageListOfITILAnnouncementArticleDTO
NameDescriptionTypeAdditional information
data

Collection of ITILAnnouncementArticleDTO

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",
      "ArticleContents": "sample string 3",
      "Type": 4,
      "ReleaseRange": "sample string 5",
      "AdImage": "sample string 6",
      "ImgLinkUrl": "sample string 7",
      "ValidTime": "2019-03-20T11:17:31.9969408+08:00",
      "CreateTime": "2019-03-20T11:17:31.9969408+08:00",
      "CreateTimeTxt": "2019-03-20",
      "Creater": "sample string 9",
      "ModifyTime": "2019-03-20T11:17:31.9969408+08:00",
      "Modifier": "sample string 10"
    },
    {
      "Id": 1,
      "Title": "sample string 2",
      "ArticleContents": "sample string 3",
      "Type": 4,
      "ReleaseRange": "sample string 5",
      "AdImage": "sample string 6",
      "ImgLinkUrl": "sample string 7",
      "ValidTime": "2019-03-20T11:17:31.9969408+08:00",
      "CreateTime": "2019-03-20T11:17:31.9969408+08:00",
      "CreateTimeTxt": "2019-03-20",
      "Creater": "sample string 9",
      "ModifyTime": "2019-03-20T11:17:31.9969408+08:00",
      "Modifier": "sample string 10"
    }
  ],
  "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:
<IViewPageListOfITILAnnouncementArticleDTOpv1JTFkd 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:ITILAnnouncementArticleDTO>
      <d2p1:AdImage>sample string 6</d2p1:AdImage>
      <d2p1:ArticleContents>sample string 3</d2p1:ArticleContents>
      <d2p1:CreateTime>2019-03-20T11:17:31.9969408+08:00</d2p1:CreateTime>
      <d2p1:Creater>sample string 9</d2p1:Creater>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ImgLinkUrl>sample string 7</d2p1:ImgLinkUrl>
      <d2p1:Modifier>sample string 10</d2p1:Modifier>
      <d2p1:ModifyTime>2019-03-20T11:17:31.9969408+08:00</d2p1:ModifyTime>
      <d2p1:ReleaseRange>sample string 5</d2p1:ReleaseRange>
      <d2p1:Title>sample string 2</d2p1:Title>
      <d2p1:Type>4</d2p1:Type>
      <d2p1:ValidTime>2019-03-20T11:17:31.9969408+08:00</d2p1:ValidTime>
    </d2p1:ITILAnnouncementArticleDTO>
    <d2p1:ITILAnnouncementArticleDTO>
      <d2p1:AdImage>sample string 6</d2p1:AdImage>
      <d2p1:ArticleContents>sample string 3</d2p1:ArticleContents>
      <d2p1:CreateTime>2019-03-20T11:17:31.9969408+08:00</d2p1:CreateTime>
      <d2p1:Creater>sample string 9</d2p1:Creater>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ImgLinkUrl>sample string 7</d2p1:ImgLinkUrl>
      <d2p1:Modifier>sample string 10</d2p1:Modifier>
      <d2p1:ModifyTime>2019-03-20T11:17:31.9969408+08:00</d2p1:ModifyTime>
      <d2p1:ReleaseRange>sample string 5</d2p1:ReleaseRange>
      <d2p1:Title>sample string 2</d2p1:Title>
      <d2p1:Type>4</d2p1:Type>
      <d2p1:ValidTime>2019-03-20T11:17:31.9969408+08:00</d2p1:ValidTime>
    </d2p1:ITILAnnouncementArticleDTO>
  </data>
  <message>sample string 5</message>
  <pageNum>3</pageNum>
  <pageSize>2</pageSize>
  <total>1</total>
</IViewPageListOfITILAnnouncementArticleDTOpv1JTFkd>