POST api/newsbar/fnfct/comment

Request Information

URI Parameters

None.

Body Parameters

FunFactCommentRqst
NameDescriptionTypeAdditional information
fn_fct_id

integer

None.

usr_id

integer

None.

comment

string

None.

is_private

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "fn_fct_id": 1,
  "usr_id": 1,
  "comment": "sample string 2",
  "is_private": true
}

application/xml, text/xml

Sample:
<FunFactCommentRqst xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aplikacija_za_prijavu_Evenata.Models">
  <comment>sample string 2</comment>
  <fn_fct_id>1</fn_fct_id>
  <is_private>true</is_private>
  <usr_id>1</usr_id>
</FunFactCommentRqst>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.