POST api/BBS/GetPostList

获取帖子列表-采购/产品经理/资源支持

Request Information

URI Parameters

None.

Body Parameters

请求数据

PostRequest
NameDescriptionTypeAdditional information
pageType

页面类型:员工页面-emp 部门经理-dep 采购页面-purchase 产品经理-product 资源支持-support

string

None.

content_type

帖子类型: 4-货期 5-价格 6-技术 7-选型 8-其他

integer

None.

post_state

状态(0待回复 1已回复 2已超时)

integer

None.

start_time

开始时间

string

None.

end_time

结束时间

string

None.

content

内容

string

None.

pm_state

产品经理对价格类型帖子维护状态:未处理=0,跟进中=1,已成交=2,未成交=3

integer

None.

transfer_type

转移类型:0-自动回复 1-超期回复

integer

None.

dep_id

部门Id

integer

None.

data_type

全部-all 最新-new 收藏-collect 我发表的-my 等待我回帖的-wait 本部门-myDep 询价待我回复-inquiryWait 客户帖子custom

string

None.

reply_emp_id

回复人Id

integer

None.

add_emp_id

integer

None.

page

页码

integer

None.

page_size

每页显示条数

integer

None.

user_id

当前登录者Id

string

None.

token

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "pageType": "sample string 1",
  "content_type": 1,
  "post_state": 1,
  "start_time": "sample string 2",
  "end_time": "sample string 3",
  "content": "sample string 4",
  "pm_state": 1,
  "transfer_type": 1,
  "dep_id": 1,
  "data_type": "sample string 5",
  "reply_emp_id": 1,
  "add_emp_id": 1,
  "page": 6,
  "page_size": 7,
  "user_id": "sample string 8",
  "token": "sample string 9"
}

application/xml, text/xml

Sample:
<PostRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model">
  <token>sample string 9</token>
  <user_id>sample string 8</user_id>
  <page>6</page>
  <page_size>7</page_size>
  <add_emp_id>1</add_emp_id>
  <content>sample string 4</content>
  <content_type>1</content_type>
  <data_type>sample string 5</data_type>
  <dep_id>1</dep_id>
  <end_time>sample string 3</end_time>
  <pageType>sample string 1</pageType>
  <pm_state>1</pm_state>
  <post_state>1</post_state>
  <reply_emp_id>1</reply_emp_id>
  <start_time>sample string 2</start_time>
  <transfer_type>1</transfer_type>
</PostRequest>

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

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.