POST api/Admin

Request Information

URI Parameters

None.

Body Parameters

Admin
NameDescriptionTypeAdditional information
token

string

None.

post_id

integer

None.

type

integer

None.

text

string

None.

Request Formats

application/json, text/json

Sample:
{
  "token": "sample string 1",
  "post_id": 2,
  "type": 3,
  "text": "sample string 4"
}

application/xml, text/xml

Sample:
<Admin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChannelAPI.Classes">
  <post_id>2</post_id>
  <text>sample string 4</text>
  <token>sample string 1</token>
  <type>3</type>
</Admin>

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

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json

Sample:

Sample not available.