Skip to content

获取打卡列表

拥有此API的权限集
打卡管理-查询

请求方式及url

  • 请求方式:POST
  • 请求头:Content-Type:application/json
  • 接口地址:https://api.xiaoe-tech.com/xe.elock.activity/1.0.0
  • 频率限制: 10秒3000次

接口调试

请求参数
响应结果
暂无响应数据

请求参数

参数名必选类型说明
access_tokenstring专属token
activity_typeint打卡类型, 0-日历打卡-固定时间 1-作业打卡 2-闯关打卡
page_indexint页码
page_sizeint每页条数

请求示例

 {
    "access_token": "xe_xxxxx",
    "activity_type": 0, //打卡类型, 0-日历打卡-固定时间 1-作业打卡 2-闯关打卡
    "page_index": 1, //页码
    "page_size": 10 //每页条数
}

返回参数

参数名类型说明
codeint返回码
msgstring返回信息
dataobject返回数据
data.countint打卡活动总数
data.listarray打卡活动列表

打卡活动列表data.list

参数名类型说明
app_idstring店铺id
activity_idstring打卡id
activity_start_atstring打卡活动开始时间
activity_stop_atstring打卡活动结束时间
titlestring打卡活动名称
img_urlstring打卡配图url
img_url_compressedstring打卡压缩配图url
participation_conditionsint参与条件 0-任何人均可参与;1-需要购买课程参与;2-付费参与;3-指定微信群参与;
actor_user_countint参与用户人数
clock_countint打卡总次数
typeint打卡活动类型 0-日历打卡 1-作业打卡 2-闯关打卡
publish_stateint发布状态 0:已发布;1:未发布
clock_start_atstring每天打卡的开始时间
clock_stop_atstring每天打卡的结束时间

返回示例

{
    "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
            }
        ]
    }
}