GET api/Values/GetCommentsListVersion2?StoryId={StoryId}&PageNumber={PageNumber}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
StoryId

integer

Required

PageNumber

integer

Required

Body Parameters

None.

Response Information

Resource Description

VMCommentListVersion2
NameDescriptionTypeAdditional information
IsData

boolean

None.

commentList

Collection of VMCommentList

None.

Response Formats

application/json, text/json

Sample:
{
  "IsData": true,
  "commentList": [
    {
      "$id": "2",
      "CommentId": 1,
      "UserId": 2,
      "StoryId": 3,
      "AuthorId": 4,
      "Comment": "sample string 5",
      "Name": "sample string 6",
      "ProfilePath": "sample string 7",
      "CommentDate": "sample string 8"
    },
    {
      "$ref": "2"
    }
  ]
}