POST api/{area}/LuckDraw/GetLuckDraw
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
LuckDrawResult| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemName | string |
None. |
|
| SnID | string |
None. |
|
| IsNotScore |
小程序中判断写反,将错就错,false代表积分抽奖中的积分不足 |
boolean |
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:
{
"ItemName": "sample string 1",
"SnID": "sample string 2",
"IsNotScore": true,
"errcode": 4,
"errmsg": "sample string 5",
"url": "sample string 6",
"data": "sample string 7",
"dataObj": {}
}
application/xml, text/xml
Sample:
<LuckDrawResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Controllers"> <data xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 7</data> <dataObj xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models" /> <errcode xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">4</errcode> <errmsg xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 5</errmsg> <url xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 6</url> <IsNotScore>true</IsNotScore> <ItemName>sample string 1</ItemName> <SnID>sample string 2</SnID> </LuckDrawResult>