POST api/User/MemberComment

提交评论 必填参数【UserId,Token,PicList,LikeType,Content,CommentId】

Request Information

URI Parameters

None.

Body Parameters

MemberComment
NameDescriptionTypeAdditional information
PicNo

图片No

string

None.

AnswerId

回复Id

integer

None.

CommentId

上级评论ID

integer

None.

Content

内容

string

None.

PicList

图片

string

None.

Page

integer

None.

PageSize

integer

None.

LikeType

点赞类型 0-回答 1-评论 2-专家 3-资讯

integer

None.

ExpertId

专家Id

integer

None.

InfoId

资讯Id

integer

None.

UserId

当前登录的用户Id

string

None.

Token

用户的Token验证

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PicNo": "sample string 1",
  "AnswerId": 2,
  "CommentId": 3,
  "Content": "sample string 4",
  "PicList": "sample string 5",
  "Page": 6,
  "PageSize": 7,
  "LikeType": 8,
  "ExpertId": 9,
  "InfoId": 10,
  "UserId": "sample string 11",
  "Token": "sample string 12"
}

application/xml, text/xml

Sample:
<MemberComment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeiXin.WebAPI.Models.UserModels">
  <Token>sample string 12</Token>
  <UserId>sample string 11</UserId>
  <AnswerId>2</AnswerId>
  <CommentId>3</CommentId>
  <Content>sample string 4</Content>
  <ExpertId>9</ExpertId>
  <InfoId>10</InfoId>
  <LikeType>8</LikeType>
  <Page>6</Page>
  <PageSize>7</PageSize>
  <PicList>sample string 5</PicList>
  <PicNo>sample string 1</PicNo>
</MemberComment>

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

Response Information

Resource Description

提交评论 必填参数【UserId,Token,PicList,LikeType,Content,CommentId】

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.