POST api/PostDingDing/EvaluatePost

评价帖子

Request Information

URI Parameters

None.

Body Parameters

EvaluateRequest
NameDescriptionTypeAdditional information
post_id

帖子Id

integer

None.

evaluate_id

评价ID

integer

None.

evaluate_remarks

评价备注

string

None.

user_id

当前登录者Id

string

None.

token

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "post_id": 1,
  "evaluate_id": 1,
  "evaluate_remarks": "sample string 1",
  "user_id": "sample string 2",
  "token": "sample string 3"
}

application/xml, text/xml

Sample:
<EvaluateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model">
  <token>sample string 3</token>
  <user_id>sample string 2</user_id>
  <evaluate_id>1</evaluate_id>
  <evaluate_remarks>sample string 1</evaluate_remarks>
  <post_id>1</post_id>
</EvaluateRequest>

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

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.