查询抽奖列表
开发中
POST
https://saas-open.vhall.com/v3/vss/api/lottery/list
516727 | 活动ID不能为空 |
516006 | 活动不存在 |
516728 | 调通用抽奖服务失败 |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://saas-open.vhall.com/v3/vss/api/lottery/list' \
--header 'token;' \
--header 'platform: 15' \
--form 'webinar_id=""' \
--form 'pos=""' \
--form 'limit=""' \
--form 'app_key=""' \
--form 'sign_type=""' \
--form 'signed_at=""' \
--form 'sign=""'
响应示例响应示例
{
"code": 0,
"data": {
"list": [
{
"has_winning_range": 0,
"lottery_id": 0,
"lottery_status": 0,
"lottery_status_name": "string",
"lottery_type": 0,
"lottery_type_name": "string",
"quantity": 0,
"title": "string",
"winners_num": 0,
"can_look_award_pool": 0,
"begin_time": "string",
"spent_time": "string",
"lottery_method": 0,
"countdown_time": 0
}
],
"total": 0
},
"msg": "string",
"requestId": null
}
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/x-www-form-urlencoded
token
string
必需
platform
string
必需
示例值:
15
Body 参数multipart/form-data
webinar_id
string
活动id
title
string
标题
pos
string
数据起始位置
limit
string
数量
app_key
string
必需
默认值:
{{app_key}}
sign_type
integer
必需
默认值:
{{sign_type}}
signed_at
integer
必需
默认值:
{{signed_at}}
sign
string
计算生成的签名值
默认值:
{{sign}}
返回响应
修改于 2025-05-28 05:26:27