POST api/SCM/ReplyPost

回复帖子

Request Information

URI Parameters

None.

Body Parameters

ScmReplyRequest
NameDescriptionTypeAdditional information
post_id

帖子Id

integer

None.

content_type

回复类型

integer

None.

reply_content

回复内容

string

None.

user_id

当前登录者Id

string

None.

token

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "post_id": 1,
  "content_type": 1,
  "reply_content": "sample string 2",
  "user_id": "sample string 3",
  "token": "sample string 4"
}

application/xml, text/xml

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

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

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.