POST api/Cnawebeng/AddTopStoryItem

'AddTopStoryItem' 的文件。

Request Information

Parameters

NameDescriptionAdditional information
lstSource
'lstSource' 的文件。

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
[
  {
    "GUID": "sample string 1",
    "SortOrder": 2,
    "FID": "sample string 3",
    "Category": "sample string 4",
    "CategoryName": "sample string 5",
    "headline": "sample string 6",
    "Meta": "sample string 7",
    "addtime": "sample string 8",
    "Topical_No": 9,
    "TopicTitle": "sample string 10",
    "urlImage": "sample string 11",
    "urlNews": "sample string 12",
    "urlNews_old": "sample string 13",
    "urlCategory": "sample string 14",
    "urlCategory_old": "sample string 15",
    "urlTopic": "sample string 16"
  },
  {
    "GUID": "sample string 1",
    "SortOrder": 2,
    "FID": "sample string 3",
    "Category": "sample string 4",
    "CategoryName": "sample string 5",
    "headline": "sample string 6",
    "Meta": "sample string 7",
    "addtime": "sample string 8",
    "Topical_No": 9,
    "TopicTitle": "sample string 10",
    "urlImage": "sample string 11",
    "urlNews": "sample string 12",
    "urlNews_old": "sample string 13",
    "urlCategory": "sample string 14",
    "urlCategory_old": "sample string 15",
    "urlTopic": "sample string 16"
  },
  {
    "GUID": "sample string 1",
    "SortOrder": 2,
    "FID": "sample string 3",
    "Category": "sample string 4",
    "CategoryName": "sample string 5",
    "headline": "sample string 6",
    "Meta": "sample string 7",
    "addtime": "sample string 8",
    "Topical_No": 9,
    "TopicTitle": "sample string 10",
    "urlImage": "sample string 11",
    "urlNews": "sample string 12",
    "urlNews_old": "sample string 13",
    "urlCategory": "sample string 14",
    "urlCategory_old": "sample string 15",
    "urlTopic": "sample string 16"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCNA_webEng.TopStoryItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CnaWebBackendApi.Models">
  <CNA_webEng.TopStoryItem>
    <Category>sample string 4</Category>
    <CategoryName>sample string 5</CategoryName>
    <FID>sample string 3</FID>
    <GUID>sample string 1</GUID>
    <Meta>sample string 7</Meta>
    <SortOrder>2</SortOrder>
    <TopicTitle>sample string 10</TopicTitle>
    <Topical_No>9</Topical_No>
    <addtime>sample string 8</addtime>
    <headline>sample string 6</headline>
    <urlCategory>sample string 14</urlCategory>
    <urlCategory_old>sample string 15</urlCategory_old>
    <urlImage>sample string 11</urlImage>
    <urlNews>sample string 12</urlNews>
    <urlNews_old>sample string 13</urlNews_old>
    <urlTopic>sample string 16</urlTopic>
  </CNA_webEng.TopStoryItem>
  <CNA_webEng.TopStoryItem>
    <Category>sample string 4</Category>
    <CategoryName>sample string 5</CategoryName>
    <FID>sample string 3</FID>
    <GUID>sample string 1</GUID>
    <Meta>sample string 7</Meta>
    <SortOrder>2</SortOrder>
    <TopicTitle>sample string 10</TopicTitle>
    <Topical_No>9</Topical_No>
    <addtime>sample string 8</addtime>
    <headline>sample string 6</headline>
    <urlCategory>sample string 14</urlCategory>
    <urlCategory_old>sample string 15</urlCategory_old>
    <urlImage>sample string 11</urlImage>
    <urlNews>sample string 12</urlNews>
    <urlNews_old>sample string 13</urlNews_old>
    <urlTopic>sample string 16</urlTopic>
  </CNA_webEng.TopStoryItem>
  <CNA_webEng.TopStoryItem>
    <Category>sample string 4</Category>
    <CategoryName>sample string 5</CategoryName>
    <FID>sample string 3</FID>
    <GUID>sample string 1</GUID>
    <Meta>sample string 7</Meta>
    <SortOrder>2</SortOrder>
    <TopicTitle>sample string 10</TopicTitle>
    <Topical_No>9</Topical_No>
    <addtime>sample string 8</addtime>
    <headline>sample string 6</headline>
    <urlCategory>sample string 14</urlCategory>
    <urlCategory_old>sample string 15</urlCategory_old>
    <urlImage>sample string 11</urlImage>
    <urlNews>sample string 12</urlNews>
    <urlNews_old>sample string 13</urlNews_old>
    <urlTopic>sample string 16</urlTopic>
  </CNA_webEng.TopStoryItem>
</ArrayOfCNA_webEng.TopStoryItem>

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>