POST api/Cnawebeng/GetNewsList

'GetNewsList' 的文件。

Request Information

Parameters

NameDescriptionAdditional information
oQuery
'oQuery' 的文件。

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "iPageNumber": 1,
  "iNumInPage": 2,
  "source": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "category": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "daterange": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "search": "sample string 3"
}

application/xml, text/xml

Sample:
<CNA_webEng.QueryNewsList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CnaWebBackendApi.Models">
  <category xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </category>
  <daterange xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </daterange>
  <iNumInPage>2</iNumInPage>
  <iPageNumber>1</iPageNumber>
  <search>sample string 3</search>
  <source xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </source>
</CNA_webEng.QueryNewsList>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>