POST api/Comments/{commentID}/replies

Add Comment Reply

Request Information

Parameters

NameDescriptionAdditional information
reply
NewReplyInputModel

Define this parameter in the request body.

commentID
No documentation available.

Define this parameter in the request URI.

Request body formats

application/json, text/json

Sample:
{
  "CommentID": "1862d72c-796e-4f68-80d2-ab406c75f456",
  "UserID": "sample string 2",
  "ReplyText": "sample string 3",
  "UserName": "sample string 4"
}

text/javascript

Sample:
{"CommentID":"1862d72c-796e-4f68-80d2-ab406c75f456","UserID":"sample string 2","ReplyText":"sample string 3","UserName":"sample string 4"}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'NewReplyInputModel'.

Response Information

IHttpActionResult

Response body formats

application/json, text/json, text/javascript

Sample:

Sample not available.