POST api/1/CommentFlags/Post
Posts a flag about a comment.
Request Information
URI Parameters
None.
Body Parameters
CommentFlagPostDTOName | Description | Type | Additional 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:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |