POST api/v1/ScoreMall/SubmitOrder
[需登录]提交积分兑换订单
请求信息(Request)
URI 参数
None.
Body 参数
订单信息
ScoreOrderSubmit名称 | 描述 | 类型 | 备注 |
---|---|---|---|
ScoreProductId |
商品id |
integer |
None. |
Number |
兑换数量 |
integer |
None. |
RecName |
收货人姓名 |
string |
None. |
RecMobile |
收货人电话 |
string |
None. |
RecAddr |
收货人地址 |
string |
None. |
Remark |
备注 |
string |
None. |
RecAddrId |
收货地址id |
integer |
None. |
Appid |
公众号id |
string |
None. |
请求格式
application/json, text/json
Sample:
{ "ScoreProductId": 1, "Number": 2, "RecName": "sample string 3", "RecMobile": "sample string 4", "RecAddr": "sample string 5", "Remark": "sample string 6", "RecAddrId": 1, "Appid": "sample string 7" }
application/xml, text/xml
Sample:
<ScoreOrderSubmit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs"> <Appid>sample string 7</Appid> <Number>2</Number> <RecAddr>sample string 5</RecAddr> <RecAddrId>1</RecAddrId> <RecMobile>sample string 4</RecMobile> <RecName>sample string 3</RecName> <Remark>sample string 6</Remark> <ScoreProductId>1</ScoreProductId> </ScoreOrderSubmit>
application/x-www-form-urlencoded
Sample:
响应信息(Response)
资源描述
RequestResult名称 | 描述 | 类型 | 备注 |
---|---|---|---|
Status |
状态(0:成功,1:失败) |
integer |
None. |
Message |
导致失败的相关消息 |
string |
None. |
Total |
集合总数,用于分页时使用 |
integer |
None. |
响应格式
application/json, text/json
Sample:
{ "Status": 1, "Message": "sample string 2", "Total": 3 }
application/xml, text/xml
Sample:
<RequestResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application"> <Message>sample string 2</Message> <Status>1</Status> <Total>3</Total> </RequestResult>