Appearance
获取打卡列表
| 拥有此API的权限集 |
|---|
| 打卡管理-查询 |
请求方式及url
- 请求方式:
POST - 请求头:
Content-Type:application/json - 接口地址:
https://api.xiaoe-tech.com/xe.elock.activity/1.0.0 - 频率限制:
10秒3000次
接口调试
请求参数
响应结果
暂无响应数据
请求参数
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| access_token | 是 | string | 专属token |
| activity_type | 是 | int | 打卡类型, 0-日历打卡-固定时间 1-作业打卡 2-闯关打卡 |
| page_index | 是 | int | 页码 |
| page_size | 是 | int | 每页条数 |
请求示例
{
"access_token": "xe_xxxxx",
"activity_type": 0, //打卡类型, 0-日历打卡-固定时间 1-作业打卡 2-闯关打卡
"page_index": 1, //页码
"page_size": 10 //每页条数
}返回参数
| 参数名 | 类型 | 说明 |
|---|---|---|
| code | int | 返回码 |
| msg | string | 返回信息 |
| data | object | 返回数据 |
| data.count | int | 打卡活动总数 |
| data.list | array | 打卡活动列表 |
打卡活动列表data.list
| 参数名 | 类型 | 说明 |
|---|---|---|
| app_id | string | 店铺id |
| activity_id | string | 打卡id |
| activity_start_at | string | 打卡活动开始时间 |
| activity_stop_at | string | 打卡活动结束时间 |
| title | string | 打卡活动名称 |
| img_url | string | 打卡配图url |
| img_url_compressed | string | 打卡压缩配图url |
| participation_conditions | int | 参与条件 0-任何人均可参与;1-需要购买课程参与;2-付费参与;3-指定微信群参与; |
| actor_user_count | int | 参与用户人数 |
| clock_count | int | 打卡总次数 |
| type | int | 打卡活动类型 0-日历打卡 1-作业打卡 2-闯关打卡 |
| publish_state | int | 发布状态 0:已发布;1:未发布 |
| clock_start_at | string | 每天打卡的开始时间 |
| clock_stop_at | string | 每天打卡的结束时间 |
返回示例
{
"code": 0,
"msg": "Success",
"data": {
"count": 3,
"list": [
{
"activity_id": "ac_617b6588ba2b5_LjhzpyUj",
"activity_start_at": "2021-10-29 00:00:00",
"activity_stop_at": "2021-10-31 23:59:59",
"actor_user_count": 0,
"app_id": "appxxx",
"clock_count": 0,
"clock_start_at": "00:00:00",
"clock_stop_at": "23:59:59",
"img_url": "https://xxx.png",
"img_url_compressed": "http://xxx.png",
"participation_conditions": 0,
"publish_state": 0,
"title": "asdasd",
"type": 0
}
]
}
}