POST api/BBS/CollectPost

收藏帖子

Request Information

URI Parameters

None.

Body Parameters

DetailsRequest
NameDescriptionTypeAdditional information
Id

主键

integer

None.

pageType

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

string

None.

data_type

全部-all 最新-new 收藏-collect 我发表的-my 等待我回帖的-wait 本部门-myDep

string

None.

user_id

当前登录者Id

string

None.

token

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "pageType": "sample string 2",
  "data_type": "sample string 3",
  "user_id": "sample string 4",
  "token": "sample string 5"
}

application/xml, text/xml

Sample:
<DetailsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model">
  <token>sample string 5</token>
  <user_id>sample string 4</user_id>
  <Id>1</Id>
  <data_type>sample string 3</data_type>
  <pageType>sample string 2</pageType>
</DetailsRequest>

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

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.