POST api/BBS/FillResults

结果填写

Request Information

URI Parameters

None.

Body Parameters

ResultsRequest
NameDescriptionTypeAdditional information
post_id

帖子Id

integer

None.

pm_state

成交2 未成交3

integer

None.

final_price

成交价

decimal number

None.

pm_remark

备注

string

None.

user_id

当前登录者Id

string

None.

token

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "post_id": 1,
  "pm_state": 2,
  "final_price": 1.0,
  "pm_remark": "sample string 3",
  "user_id": "sample string 4",
  "token": "sample string 5"
}

application/xml, text/xml

Sample:
<ResultsRequest 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>
  <final_price>1</final_price>
  <pm_remark>sample string 3</pm_remark>
  <pm_state>2</pm_state>
  <post_id>1</post_id>
</ResultsRequest>

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

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.