POST api/BBS/TransferPost

转贴

Request Information

URI Parameters

None.

Body Parameters

TransferRequest
NameDescriptionTypeAdditional information
transferType

转帖类型:1:转移给产品经理 2 转给指定人员

integer

None.

post_id

帖子Id

integer

None.

post_details_id

帖子明细Id

integer

None.

d_id

部门Id

integer

None.

emp_id

人员Id

integer

None.

transfer_reason

转帖原因

string

None.

user_id

当前登录者Id

string

None.

token

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "transferType": 1,
  "post_id": 2,
  "post_details_id": 1,
  "d_id": 1,
  "emp_id": 1,
  "transfer_reason": "sample string 3",
  "user_id": "sample string 4",
  "token": "sample string 5"
}

application/xml, text/xml

Sample:
<TransferRequest 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>
  <d_id>1</d_id>
  <emp_id>1</emp_id>
  <post_details_id>1</post_details_id>
  <post_id>2</post_id>
  <transferType>1</transferType>
  <transfer_reason>sample string 3</transfer_reason>
</TransferRequest>

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

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.