Skip to content

获取作业结果列表

拥有此API的权限集
作业管理-查询

请求方式及url

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

接口调试

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

请求参数

参数名必选类型说明
access_tokenstring专属token
exercise_book_idstring作业本id
exercise_idstring作业id
namestring搜索昵称
page_indexint页码
page_sizeint页大小

请求示例

{
    "access_token": "xxxxx",
    "exercise_book_id": "e62e0e6537d48f_rNMmUJRf",
    "exercise_id": "ex62e0deed5b497_rnUIBBc5",
    "page_index": 1,
    "page_size": 10,
    "name": ""
}

返回参数

参数名类型说明
codeint状态码
msgstring请求状态描述信息
dataobject当前页数
data.listarray列表
data.totalint总数

data.list列表

参数名类型说明
app_idstring店铺id
exercise_book_idstring作业本id
exercise_idstring作业id
answer_user_idstring学员id
exercise_answer_idstring学员回答作业id
namestring学员昵称
teacher_user_idstring批阅老师id,为空则说明未批阅
teacher_wx_nicknamestring批阅老师昵称,为空则说明未批阅
review_timestring批阅时间,为空则说明未批阅
commit_timestring提交时间

返回示例

{
    "code": 0,
    "msg": "操作成功",
    "data": {
        "list": [
            {
                "answer_user_id": "u_601ce0dd63a87_o6UwqyP1eR",
                "app_id": "appdjJfqIoxxxxx",
                "commit_time": "2022-08-25 09:43:42",
                "exercise_answer_id": "ea_6306d3cee6947_l7iE1YCZ",
                "exercise_book_id": "e630582dac39c2_t8cQMsJw",
                "exercise_id": "ex6305935ed54e5_jSLd6PAz",
                "name": "志杰",
                "review_time": "",
                "teacher_user_id": "",
                "teacher_wx_nickname": ""
            },
            {
                "answer_user_id": "u_60dbd71c269d7_1hzRGcRgOf",
                "app_id": "appdjJfqIoxxxxx",
                "commit_time": "2022-08-24 11:15:25",
                "exercise_answer_id": "ea_6305940055f70_RDwNpZ6a",
                "exercise_book_id": "e630582dac39c2_t8cQMsJw",
                "exercise_id": "ex6305935ed54e5_jSLd6PAz",
                "name": "fyyffufufhguuffufufuguugguigg",
                "review_time": "2022-08-24 11:15:18",
                "teacher_user_id": "",
                "teacher_wx_nickname": "管理员"
            }
        ],
        "total": 2
    }
}