POST api/News/ProcessNewsComment
Request Information
URI Parameters
None.
Body Parameters
NewsCommentReqName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
Required |
|
NewsId | integer |
Required |
|
QuotedCommentId | integer |
None. |
|
NewsComment | string |
Required |
|
username | string |
Required |
|
accesskey | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "NewsId": 2, "QuotedCommentId": 3, "NewsComment": "sample string 4", "username": "sample string 5", "accesskey": "sample string 6" }
text/html
Sample:
{"Id":1,"NewsId":2,"QuotedCommentId":3,"NewsComment":"sample string 4","username":"sample string 5","accesskey":"sample string 6"}
application/xml, text/xml
Sample:
<NewsCommentReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SchoolDockAPI.Models.RequestModel"> <Id>1</Id> <NewsComment>sample string 4</NewsComment> <NewsId>2</NewsId> <QuotedCommentId>3</QuotedCommentId> <accesskey>sample string 6</accesskey> <username>sample string 5</username> </NewsCommentReq>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.