POST api/Cnawebeng/GetNewsDetail

'GetNewsDetail' 的文件。

Request Information

Parameters

NameDescriptionAdditional information
oQuery
'oQuery' 的文件。

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"
}

application/xml, text/xml

Sample:
<CnawebengController.QueryNews xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CnaWebBackendApi.Controllers">
  <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>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "NewsDetail": {
    "FID": "sample string 1",
    "Type": "sample string 2",
    "headline": "sample string 3",
    "Content": "sample string 4",
    "keywords": "sample string 5",
    "addtime": "sample string 6",
    "updatetime": "sample string 7",
    "NewsID": "sample string 8",
    "Meta": "sample string 9",
    "IsEditorsPicks": true,
    "Topical_No": 11,
    "LockUser": "sample string 12",
    "PhotoCover": "sample string 13",
    "PhotoOg": "sample string 14"
  },
  "SelectTopicList": [
    {
      "Topical_No": 1,
      "Title": "sample string 2"
    },
    {
      "Topical_No": 1,
      "Title": "sample string 2"
    },
    {
      "Topical_No": 1,
      "Title": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<CNA_webEng.NewsEditData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CnaWebBackendApi.Models">
  <NewsDetail>
    <Content>sample string 4</Content>
    <FID>sample string 1</FID>
    <IsEditorsPicks>true</IsEditorsPicks>
    <LockUser>sample string 12</LockUser>
    <Meta>sample string 9</Meta>
    <NewsID>sample string 8</NewsID>
    <PhotoCover>sample string 13</PhotoCover>
    <PhotoOg>sample string 14</PhotoOg>
    <Topical_No>11</Topical_No>
    <Type>sample string 2</Type>
    <addtime>sample string 6</addtime>
    <headline>sample string 3</headline>
    <keywords>sample string 5</keywords>
    <updatetime>sample string 7</updatetime>
  </NewsDetail>
  <SelectTopicList>
    <CNA_webEng.NewsEditTopicList>
      <Title>sample string 2</Title>
      <Topical_No>1</Topical_No>
    </CNA_webEng.NewsEditTopicList>
    <CNA_webEng.NewsEditTopicList>
      <Title>sample string 2</Title>
      <Topical_No>1</Topical_No>
    </CNA_webEng.NewsEditTopicList>
    <CNA_webEng.NewsEditTopicList>
      <Title>sample string 2</Title>
      <Topical_No>1</Topical_No>
    </CNA_webEng.NewsEditTopicList>
  </SelectTopicList>
</CNA_webEng.NewsEditData>