GET api/GetNewsReplay?newsid={newsid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
newsid

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

AngellAPIResultOfNewsReplayObject
NameDescriptionTypeAdditional information
Result

NewsReplayObject

None.

IsOperationSuccess

boolean

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": {
    "replays": [
      {
        "id": 1,
        "newsid": 2,
        "contents": "sample string 3",
        "time": "2017-06-25T16:45:19.2373046+08:00",
        "status": 5,
        "uid": 6,
        "username": "sample string 7",
        "userphoto": "sample string 8",
        "favcount": 9
      },
      {
        "id": 1,
        "newsid": 2,
        "contents": "sample string 3",
        "time": "2017-06-25T16:45:19.2373046+08:00",
        "status": 5,
        "uid": 6,
        "username": "sample string 7",
        "userphoto": "sample string 8",
        "favcount": 9
      }
    ]
  },
  "IsOperationSuccess": true,
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<AngellAPIResultOfNewsReplayObjectDH5CykXi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AK.WebApi.Api">
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsOperationSuccess>true</IsOperationSuccess>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/AK.WebApi.Model.AKServiceModel">
    <d2p1:replays xmlns:d3p1="http://schemas.datacontract.org/2004/07/AK.WebApi.Model">
      <d3p1:kkzb_newsreplay>
        <d3p1:contents>sample string 3</d3p1:contents>
        <d3p1:favcount>9</d3p1:favcount>
        <d3p1:id>1</d3p1:id>
        <d3p1:newsid>2</d3p1:newsid>
        <d3p1:status>5</d3p1:status>
        <d3p1:time>2017-06-25T16:45:19.2373046+08:00</d3p1:time>
        <d3p1:uid>6</d3p1:uid>
        <d3p1:username>sample string 7</d3p1:username>
        <d3p1:userphoto>sample string 8</d3p1:userphoto>
      </d3p1:kkzb_newsreplay>
      <d3p1:kkzb_newsreplay>
        <d3p1:contents>sample string 3</d3p1:contents>
        <d3p1:favcount>9</d3p1:favcount>
        <d3p1:id>1</d3p1:id>
        <d3p1:newsid>2</d3p1:newsid>
        <d3p1:status>5</d3p1:status>
        <d3p1:time>2017-06-25T16:45:19.2373046+08:00</d3p1:time>
        <d3p1:uid>6</d3p1:uid>
        <d3p1:username>sample string 7</d3p1:username>
        <d3p1:userphoto>sample string 8</d3p1:userphoto>
      </d3p1:kkzb_newsreplay>
    </d2p1:replays>
  </Result>
</AngellAPIResultOfNewsReplayObjectDH5CykXi>