POST api/Values/AddCommentVersion2

Request Information

URI Parameters

None.

Body Parameters

VMComment
NameDescriptionTypeAdditional information
UserId

integer

None.

StoryId

integer

None.

Comment

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "StoryId": 2,
  "Comment": "sample string 3"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VMAddCommentResponse
NameDescriptionTypeAdditional information
CommentId

integer

None.

UserId

integer

None.

StoryId

integer

None.

AuthorId

integer

None.

Comment

string

None.

Name

string

None.

ProfilePath

string

None.

CommentDate

string

None.

Status

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "CommentId": 1,
  "UserId": 2,
  "StoryId": 3,
  "AuthorId": 4,
  "Comment": "sample string 5",
  "Name": "sample string 6",
  "ProfilePath": "sample string 7",
  "CommentDate": "sample string 8",
  "Status": true
}