POST api/SCM/GetPost

获取帖子

Request Information

URI Parameters

None.

Body Parameters

请求数据

ScmPostRequest
NameDescriptionTypeAdditional information
data_type

全部-all 最新-new 待回复-wait 我回复-my

string

None.

post_title

标题内容

string

None.

start_time

开始时间

string

None.

end_time

结束时间

string

None.

page

页码

integer

None.

page_size

每页显示条数

integer

None.

user_id

当前登录者Id

string

None.

token

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "data_type": "sample string 1",
  "post_title": "sample string 2",
  "start_time": "sample string 3",
  "end_time": "sample string 4",
  "page": 5,
  "page_size": 6,
  "user_id": "sample string 7",
  "token": "sample string 8"
}

application/xml, text/xml

Sample:
<ScmPostRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model">
  <token>sample string 8</token>
  <user_id>sample string 7</user_id>
  <page>5</page>
  <page_size>6</page_size>
  <data_type>sample string 1</data_type>
  <end_time>sample string 4</end_time>
  <post_title>sample string 2</post_title>
  <start_time>sample string 3</start_time>
</ScmPostRequest>

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

Response Information

Resource Description

获取帖子

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.