GET api/News/GetCommentList/{id}?aid={aid}&pIndex={pIndex}&pageSize={pageSize}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
aid

string

Required

id

string

Required

pIndex

integer

Default value is 1

pageSize

integer

Default value is 12

Body Parameters

None.

Response Information

Resource Description

NewCommentDetail
NameDescriptionTypeAdditional information
NewInfoList

Collection of NewsDetails

None.

TotalPageCount

integer

None.

TotalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "NewInfoList": [
    {
      "id": "sample string 1",
      "NickName": "sample string 2",
      "AccountImage": "sample string 3",
      "Content": "sample string 4",
      "CreateTime": "sample string 5",
      "Replys": "sample string 6",
      "ReplyTime": "sample string 7",
      "url": "sample string 8",
      "NewTitle": "sample string 9",
      "Clicks": 10,
      "SearchTitle": "sample string 11",
      "IsOnlyShowContent": true,
      "NewContent": "sample string 13",
      "VideoUrl": "sample string 14",
      "VideoAutoPlay": true,
      "VideoImage": "sample string 15",
      "preImageText": {
        "url": "sample string 1",
        "img": "sample string 2",
        "text": "sample string 3",
        "description": "sample string 4",
        "isShowText": true,
        "type": 6,
        "createTime": "sample string 7"
      },
      "nextImageText": {
        "url": "sample string 1",
        "img": "sample string 2",
        "text": "sample string 3",
        "description": "sample string 4",
        "isShowText": true,
        "type": 6,
        "createTime": "sample string 7"
      },
      "LikeSum": 16,
      "Like": true,
      "IsNewsComment": true,
      "Useful": 19,
      "title": "sample string 20",
      "keywords": "sample string 21",
      "description": "sample string 22",
      "releaseDate": "sample string 23",
      "articleTitle": "sample string 24",
      "image": "sample string 25"
    },
    {
      "id": "sample string 1",
      "NickName": "sample string 2",
      "AccountImage": "sample string 3",
      "Content": "sample string 4",
      "CreateTime": "sample string 5",
      "Replys": "sample string 6",
      "ReplyTime": "sample string 7",
      "url": "sample string 8",
      "NewTitle": "sample string 9",
      "Clicks": 10,
      "SearchTitle": "sample string 11",
      "IsOnlyShowContent": true,
      "NewContent": "sample string 13",
      "VideoUrl": "sample string 14",
      "VideoAutoPlay": true,
      "VideoImage": "sample string 15",
      "preImageText": {
        "url": "sample string 1",
        "img": "sample string 2",
        "text": "sample string 3",
        "description": "sample string 4",
        "isShowText": true,
        "type": 6,
        "createTime": "sample string 7"
      },
      "nextImageText": {
        "url": "sample string 1",
        "img": "sample string 2",
        "text": "sample string 3",
        "description": "sample string 4",
        "isShowText": true,
        "type": 6,
        "createTime": "sample string 7"
      },
      "LikeSum": 16,
      "Like": true,
      "IsNewsComment": true,
      "Useful": 19,
      "title": "sample string 20",
      "keywords": "sample string 21",
      "description": "sample string 22",
      "releaseDate": "sample string 23",
      "articleTitle": "sample string 24",
      "image": "sample string 25"
    }
  ],
  "TotalPageCount": 1,
  "TotalCount": 2
}

application/xml, text/xml

Sample:
<NewsController.NewCommentDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Controllers">
  <NewInfoList>
    <NewsController.NewsDetails>
      <articleTitle xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 24</articleTitle>
      <description xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 22</description>
      <image xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 25</image>
      <keywords xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 21</keywords>
      <releaseDate xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 23</releaseDate>
      <title xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 20</title>
      <AccountImage>sample string 3</AccountImage>
      <Clicks>10</Clicks>
      <Content>sample string 4</Content>
      <CreateTime>sample string 5</CreateTime>
      <IsNewsComment>true</IsNewsComment>
      <IsOnlyShowContent>true</IsOnlyShowContent>
      <Like>true</Like>
      <LikeSum>16</LikeSum>
      <NewContent>sample string 13</NewContent>
      <NewTitle>sample string 9</NewTitle>
      <NickName>sample string 2</NickName>
      <ReplyTime>sample string 7</ReplyTime>
      <Replys>sample string 6</Replys>
      <SearchTitle>sample string 11</SearchTitle>
      <Useful>19</Useful>
      <VideoAutoPlay>true</VideoAutoPlay>
      <VideoImage>sample string 15</VideoImage>
      <VideoUrl>sample string 14</VideoUrl>
      <id>sample string 1</id>
      <nextImageText xmlns:d4p1="http://schemas.datacontract.org/2004/07/open.wst.com.Models">
        <d4p1:createTime>sample string 7</d4p1:createTime>
        <d4p1:description>sample string 4</d4p1:description>
        <d4p1:img>sample string 2</d4p1:img>
        <d4p1:isShowText>true</d4p1:isShowText>
        <d4p1:text>sample string 3</d4p1:text>
        <d4p1:type>6</d4p1:type>
        <d4p1:url>sample string 1</d4p1:url>
      </nextImageText>
      <preImageText xmlns:d4p1="http://schemas.datacontract.org/2004/07/open.wst.com.Models">
        <d4p1:createTime>sample string 7</d4p1:createTime>
        <d4p1:description>sample string 4</d4p1:description>
        <d4p1:img>sample string 2</d4p1:img>
        <d4p1:isShowText>true</d4p1:isShowText>
        <d4p1:text>sample string 3</d4p1:text>
        <d4p1:type>6</d4p1:type>
        <d4p1:url>sample string 1</d4p1:url>
      </preImageText>
      <url>sample string 8</url>
    </NewsController.NewsDetails>
    <NewsController.NewsDetails>
      <articleTitle xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 24</articleTitle>
      <description xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 22</description>
      <image xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 25</image>
      <keywords xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 21</keywords>
      <releaseDate xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 23</releaseDate>
      <title xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 20</title>
      <AccountImage>sample string 3</AccountImage>
      <Clicks>10</Clicks>
      <Content>sample string 4</Content>
      <CreateTime>sample string 5</CreateTime>
      <IsNewsComment>true</IsNewsComment>
      <IsOnlyShowContent>true</IsOnlyShowContent>
      <Like>true</Like>
      <LikeSum>16</LikeSum>
      <NewContent>sample string 13</NewContent>
      <NewTitle>sample string 9</NewTitle>
      <NickName>sample string 2</NickName>
      <ReplyTime>sample string 7</ReplyTime>
      <Replys>sample string 6</Replys>
      <SearchTitle>sample string 11</SearchTitle>
      <Useful>19</Useful>
      <VideoAutoPlay>true</VideoAutoPlay>
      <VideoImage>sample string 15</VideoImage>
      <VideoUrl>sample string 14</VideoUrl>
      <id>sample string 1</id>
      <nextImageText xmlns:d4p1="http://schemas.datacontract.org/2004/07/open.wst.com.Models">
        <d4p1:createTime>sample string 7</d4p1:createTime>
        <d4p1:description>sample string 4</d4p1:description>
        <d4p1:img>sample string 2</d4p1:img>
        <d4p1:isShowText>true</d4p1:isShowText>
        <d4p1:text>sample string 3</d4p1:text>
        <d4p1:type>6</d4p1:type>
        <d4p1:url>sample string 1</d4p1:url>
      </nextImageText>
      <preImageText xmlns:d4p1="http://schemas.datacontract.org/2004/07/open.wst.com.Models">
        <d4p1:createTime>sample string 7</d4p1:createTime>
        <d4p1:description>sample string 4</d4p1:description>
        <d4p1:img>sample string 2</d4p1:img>
        <d4p1:isShowText>true</d4p1:isShowText>
        <d4p1:text>sample string 3</d4p1:text>
        <d4p1:type>6</d4p1:type>
        <d4p1:url>sample string 1</d4p1:url>
      </preImageText>
      <url>sample string 8</url>
    </NewsController.NewsDetails>
  </NewInfoList>
  <TotalCount>2</TotalCount>
  <TotalPageCount>1</TotalPageCount>
</NewsController.NewCommentDetail>