POST api/News/IncreaseOrDecreaseNewsComments

Request Information

URI Parameters

None.

Body Parameters

IncreaseOrDecreaseNewsCommentsModel
NameDescriptionTypeAdditional information
artGuid

globally unique identifier

None.

value

integer

None.

type

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "artGuid": "e22e4fd0-29fe-48e9-b7da-4cce39d2bc56",
  "value": 2,
  "type": 3
}

text/plain, application/octet-stream

Sample:
{"artGuid":"e22e4fd0-29fe-48e9-b7da-4cce39d2bc56","value":2,"type":3}

application/xml, text/xml

Sample:
<IncreaseOrDecreaseNewsCommentsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RashakaApi.ApiRequestBody">
  <artGuid>e22e4fd0-29fe-48e9-b7da-4cce39d2bc56</artGuid>
  <type>3</type>
  <value>2</value>
</IncreaseOrDecreaseNewsCommentsModel>

multipart/form-data, application/form-data

Sample:
<IncreaseOrDecreaseNewsCommentsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RashakaApi.ApiRequestBody"><artGuid>e22e4fd0-29fe-48e9-b7da-4cce39d2bc56</artGuid><type>3</type><value>2</value></IncreaseOrDecreaseNewsCommentsModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/plain, application/octet-stream, application/xml, text/xml, multipart/form-data, application/form-data

Sample:

Sample not available.