POST api/MallV770/SubmitGoodsComment

提交订单评价

Request Information

URI Parameters

None.

Body Parameters

ZaiMieApp.WebApi.ViewModel.SubmitGoodsComment
NameDescriptionTypeAdditional information
content

评论内容

string

None.

goodsId

关联的商品id

integer

None.

orderId

订单id

integer

None.

sign

string

None.

stamp

string

None.

Request Formats

application/json, text/json

Sample:
{
  "content": "sample string 1",
  "goodsId": 2,
  "orderId": 3,
  "sign": "sample string 4",
  "stamp": "sample string 5"
}

application/xml, text/xml

Sample:
<SubmitGoodsComment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZaiMieApp.WebApi.ViewModel">
  <sign>sample string 4</sign>
  <stamp>sample string 5</stamp>
  <content>sample string 1</content>
  <goodsId>2</goodsId>
  <orderId>3</orderId>
</SubmitGoodsComment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ZaiMieApp.WebApi.ViewModel.ResultMsg
NameDescriptionTypeAdditional information
success

boolean

None.

code

integer

None.

addcoin

赠送的金币

integer

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "code": 2,
  "addcoin": 3,
  "message": "sample string 4"
}

application/xml, text/xml

Sample:
<ResultMsg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZaiMieApp.WebApi.ViewModel">
  <addcoin>3</addcoin>
  <code>2</code>
  <message>sample string 4</message>
  <success>true</success>
</ResultMsg>