POST api/newsbar/mbl/news/comment
Request Information
URI Parameters
None.
Body Parameters
NewsCommentRqst| Name | Description | Type | Additional information |
|---|---|---|---|
| news_id | integer |
None. |
|
| usr_id | integer |
None. |
|
| comment | string |
None. |
|
| is_private | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"news_id": 1,
"usr_id": 2,
"comment": "sample string 3",
"is_private": true
}
application/xml, text/xml
Sample:
<NewsCommentRqst xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aplikacija_za_prijavu_Evenata.Models"> <comment>sample string 3</comment> <is_private>true</is_private> <news_id>1</news_id> <usr_id>2</usr_id> </NewsCommentRqst>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.