GET Article/{id}/Comment?UserId={UserId}&ParentId={ParentId}&Offset={Offset}&Limit={Limit}&Sort={Sort}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

UserId

string

None.

ParentId

integer

None.

Offset

integer

Range: inclusive between 0 and 2147483647

Limit

integer

Range: inclusive between 0 and 1500

Sort

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ArticleCommentDto
NameDescriptionTypeAdditional information
CommentId

integer

None.

AuthorId

string

Required

String length: inclusive between 0 and 128

ParentId

integer

None.

Text

string

Required

ArticleId

integer

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "CommentId": 1,
    "AuthorId": "sample string 2",
    "ParentId": 1,
    "Text": "sample string 3",
    "ArticleId": 4
  },
  {
    "CommentId": 1,
    "AuthorId": "sample string 2",
    "ParentId": 1,
    "Text": "sample string 3",
    "ArticleId": 4
  }
]

application/xml, text/xml

Sample:
<ArrayOfArticleCommentDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PackageSite.Models.Dto">
  <ArticleCommentDto>
    <ArticleId>4</ArticleId>
    <AuthorId>sample string 2</AuthorId>
    <CommentId>1</CommentId>
    <ParentId>1</ParentId>
    <Text>sample string 3</Text>
  </ArticleCommentDto>
  <ArticleCommentDto>
    <ArticleId>4</ArticleId>
    <AuthorId>sample string 2</AuthorId>
    <CommentId>1</CommentId>
    <ParentId>1</ParentId>
    <Text>sample string 3</Text>
  </ArticleCommentDto>
</ArrayOfArticleCommentDto>