POST api/AdminUpdatePost
Request Information
URI Parameters
None.
Body Parameters
UpdatePost| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
None. |
|
| post_id | integer |
None. |
|
| channel_id | integer |
None. |
|
| type | integer |
None. |
|
| img | Collection of byte |
None. |
|
| text | string |
None. |
|
| is_visible | boolean |
None. |
|
| title | string |
None. |
|
| airline | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"token": "sample string 1",
"post_id": 2,
"channel_id": 3,
"type": 4,
"img": "QEA=",
"text": "sample string 5",
"is_visible": true,
"title": "sample string 7",
"airline": "sample string 8"
}
application/xml, text/xml
Sample:
<UpdatePost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChannelAPI.Classes"> <airline>sample string 8</airline> <channel_id>3</channel_id> <img>QEA=</img> <is_visible>true</is_visible> <post_id>2</post_id> <text>sample string 5</text> <title>sample string 7</title> <token>sample string 1</token> <type>4</type> </UpdatePost>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of ObjectNone.
Response Formats
application/json, text/json
Sample:
Sample not available.