POST api/Cnawebeng/SortNewsletterItem

'SortNewsletterItem' 的文件。

Request Information

Parameters

NameDescriptionAdditional information
lstQuery
'lstQuery' 的文件。

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
[
  {
    "sFID": "sample string 1",
    "sURL": "sample string 2",
    "iTopN": 3,
    "sSearch": "sample string 4",
    "sGUID": "sample string 5"
  },
  {
    "sFID": "sample string 1",
    "sURL": "sample string 2",
    "iTopN": 3,
    "sSearch": "sample string 4",
    "sGUID": "sample string 5"
  },
  {
    "sFID": "sample string 1",
    "sURL": "sample string 2",
    "iTopN": 3,
    "sSearch": "sample string 4",
    "sGUID": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCnawebengController.QueryNews xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CnaWebBackendApi.Controllers">
  <CnawebengController.QueryNews>
    <iTopN>3</iTopN>
    <sFID>sample string 1</sFID>
    <sGUID>sample string 5</sGUID>
    <sSearch>sample string 4</sSearch>
    <sURL>sample string 2</sURL>
  </CnawebengController.QueryNews>
  <CnawebengController.QueryNews>
    <iTopN>3</iTopN>
    <sFID>sample string 1</sFID>
    <sGUID>sample string 5</sGUID>
    <sSearch>sample string 4</sSearch>
    <sURL>sample string 2</sURL>
  </CnawebengController.QueryNews>
  <CnawebengController.QueryNews>
    <iTopN>3</iTopN>
    <sFID>sample string 1</sFID>
    <sGUID>sample string 5</sGUID>
    <sSearch>sample string 4</sSearch>
    <sURL>sample string 2</sURL>
  </CnawebengController.QueryNews>
</ArrayOfCnawebengController.QueryNews>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<WebMessage.ResponseMsg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CnaWebBackendApi.Models">
  <Code>1</Code>
  <Message>sample string 2</Message>
</WebMessage.ResponseMsg>