POST api/1/CommentFlags

Posts a flag about a comment.

Request Information

URI Parameters

None.

Body Parameters

CommentFlagPostDTO
NameDescriptionTypeAdditional information
CommentID

The ID of the commnt to flag

integer

Required

UserToken

The Auth UserToken issued by the server.

string

Required

Request Formats

application/json, text/json

Sample:
{
  "CommentID": 1,
  "UserToken": "sample string 2"
}

application/xml, text/xml

Sample:
<CommentFlagPostDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RCS.Web.api._1.DTO">
  <CommentID>1</CommentID>
  <UserToken>sample string 2</UserToken>
</CommentFlagPostDTO>

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 'CommentFlagPostDTO'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.