GET api/Post/GetCommentList?postid={postid}

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
postid
No documentation available.

Define this parameter in the request URI.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "list": [
    {
      "commentid": "sample string 1",
      "comment": "sample string 2",
      "createAt": "sample string 3",
      "fromUserId": "sample string 4",
      "username": "sample string 5",
      "userimage": "sample string 6",
      "no_of_reviews": 7,
      "no_of_followers": 8,
      "no_of_images": 9
    },
    {
      "commentid": "sample string 1",
      "comment": "sample string 2",
      "createAt": "sample string 3",
      "fromUserId": "sample string 4",
      "username": "sample string 5",
      "userimage": "sample string 6",
      "no_of_reviews": 7,
      "no_of_followers": 8,
      "no_of_images": 9
    },
    {
      "commentid": "sample string 1",
      "comment": "sample string 2",
      "createAt": "sample string 3",
      "fromUserId": "sample string 4",
      "username": "sample string 5",
      "userimage": "sample string 6",
      "no_of_reviews": 7,
      "no_of_followers": 8,
      "no_of_images": 9
    }
  ],
  "response": "sample string 1",
  "message": "sample string 2",
  "addedId": "sample string 3"
}

text/xml

Sample:
<PostsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webapishopinbelgium.Models">
  <addedId>sample string 3</addedId>
  <message>sample string 2</message>
  <response>sample string 1</response>
  <list>
    <PostsModel>
      <comment>sample string 2</comment>
      <commentid>sample string 1</commentid>
      <createAt>sample string 3</createAt>
      <fromUserId>sample string 4</fromUserId>
      <no_of_followers>8</no_of_followers>
      <no_of_images>9</no_of_images>
      <no_of_reviews>7</no_of_reviews>
      <userimage>sample string 6</userimage>
      <username>sample string 5</username>
    </PostsModel>
    <PostsModel>
      <comment>sample string 2</comment>
      <commentid>sample string 1</commentid>
      <createAt>sample string 3</createAt>
      <fromUserId>sample string 4</fromUserId>
      <no_of_followers>8</no_of_followers>
      <no_of_images>9</no_of_images>
      <no_of_reviews>7</no_of_reviews>
      <userimage>sample string 6</userimage>
      <username>sample string 5</username>
    </PostsModel>
    <PostsModel>
      <comment>sample string 2</comment>
      <commentid>sample string 1</commentid>
      <createAt>sample string 3</createAt>
      <fromUserId>sample string 4</fromUserId>
      <no_of_followers>8</no_of_followers>
      <no_of_images>9</no_of_images>
      <no_of_reviews>7</no_of_reviews>
      <userimage>sample string 6</userimage>
      <username>sample string 5</username>
    </PostsModel>
  </list>
</PostsResponse>