POST api/{area}/ShopCar/ReceiveCoupon
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| area | string |
None. |
Body Parameters
Collection of ObjectNone.
Request Formats
application/json, text/json, application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CouponResultModels| Name | Description | Type | Additional information |
|---|---|---|---|
| IsReceive | boolean |
None. |
|
| BtnTitle | string |
None. |
|
| errcode |
返回Code(-1请求失败,0请求成功,1调用支付) |
integer |
None. |
| errmsg |
返回提示消息 |
string |
None. |
| url |
返回Url |
string |
None. |
| data |
返回数据 |
string |
None. |
| dataObj |
返回数据1 |
Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsReceive": true,
"BtnTitle": "sample string 2",
"errcode": 3,
"errmsg": "sample string 4",
"url": "sample string 5",
"data": "sample string 6",
"dataObj": {}
}
application/xml, text/xml
Sample:
<CouponResultModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models"> <data>sample string 6</data> <dataObj /> <errcode>3</errcode> <errmsg>sample string 4</errmsg> <url>sample string 5</url> <BtnTitle>sample string 2</BtnTitle> <IsReceive>true</IsReceive> </CouponResultModels>