POST api/New/MemberComment

用户评论/回复

Request Information

URI Parameters

None.

Body Parameters

MemberCommentInfo
NameDescriptionTypeAdditional information
CommentId

咨询/回答ID

integer

None.

CommentType

被评论类型 1 资讯 2回答

integer

None.

CommentUserId

评论用户ID

integer

None.

CommentCoverId

被评论/回复 的评论ID

integer

None.

CommentIntro

评论内容

string

None.

CommentLv

评论类别 2评论别人的评论 3回复别人的评论

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CommentId": 1,
  "CommentType": 2,
  "CommentUserId": 3,
  "CommentCoverId": 4,
  "CommentIntro": "sample string 5",
  "CommentLv": 6
}

application/xml, text/xml

Sample:
<MemberCommentInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeiXin.WebAPI.Models.AllEntity">
  <CommentCoverId>4</CommentCoverId>
  <CommentId>1</CommentId>
  <CommentIntro>sample string 5</CommentIntro>
  <CommentLv>6</CommentLv>
  <CommentType>2</CommentType>
  <CommentUserId>3</CommentUserId>
</MemberCommentInfo>

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

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.