描述

通过此接口可查询回调事件失败的记录

接口地址

http://api-class.e.vhall.com/api/class/callback/fail-list

请求参数

公共参数需要每次请求都附带上,详细内容请参考公共参数

参数名 类型 必选 说明
curr_page int 当前页数,默认第一页
pagesize int 当前每页显示条数,默认10条,不能大于50条每页
event string 可选类型为(join,start,stop,record,trans-over,event-download-record)
start_time int 开始时间 unix 时间戳
end_time int 结束时间 unix 时间戳

响应参数

返回数据如下:

参数名 类型 说明
total int 总条数
total_page int 总页数
curr_page int 当前页数
event_type string 事件的类型
push_url string 回调的url
push_data string 回调的数据
created_at string 失败记录创建时间

响应示例

{
    "code": 200,
    "msg": "",
    "data": {
        "total": 8,
        "total_page": 2,
        "curr_page": 1,
        "data": [
            {
               'event_type'=>'join',
               'push_url'=>'http://domain/callback',
               'push_data'=>'{"class_id":"edu_a9410317","custom_id":89554,"type":"join"}',
               'created_at'=>'2018-07-11 14:21'
            }
        ]
    }
}

错误码

code 含义
10036 每页显示条数超过最大限制
10039 回调事件类型不正确