批量获取测试互动用户作答结果

拥有此API的权限集
测试互动管理-查询

请求方式及url

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

在线调试工具

请求

响应

请求参数

参数名 必选 类型 说明
access_token string 专属token
evaluation_ids array 测试互动id数组,可选
participate_ids array 用户参与id数组 (用户每次参与都会生成一个id),可选
user_ids array 用户id数组,可选
page int 页码
page_size int 页容量:每次获取资源条数,最大100条

请求示例

{
    "access_token": "xe_xxxxx",
    "evaluation_ids": [
        "ev_67c6e38887339_uVC2qNzt"
    ],
    "user_ids": [
        "u_67bd6cb6bd8fd_A1gXoGKNZ2"
    ],
    "participate_ids": [
        1132876,
        1132884
    ]
    "page": 1,
    "page_size": 10
}

返回参数

参数名 必选 类型 说明 备注
code int 返回码 0-成功,其他失败
msg string 返回信息 ...
data json对象 返回值 ...
data.total int 获取到的资源数 ...
data.list json数组 资源列表 ...

资源列表list

参数名 必选 类型 说明
app_id string appid
evaluation_id string 测试互动id
user_id string 用户id
store int 用户得分
created_at string 记录的创建时间,格式为“年-月-日 时:分:秒”
updated_at string 记录的更新时间,格式为“年-月-日 时:分:秒”
id int participate_id, 该记录的唯一标识 ID
match_type int 0-无分值只有对错 1-有分值没有对错
review_content string 测评结果内容
review_remark string 测评结果详情

备注

  • code=0时,msg:
  • code!=0时,msg:拉取数据错误

返回示例

{
    "code": 0,
    "msg": "操作成功",
    "data": {
        "list": [
            {
                "app_id": "app_XXXXXX",
                "evaluation_id": "ev_XXXXXXXXXXXX",
                "user_id": "u_XXXXXXXXXXXX",
                "result": "[{\"question_id\":\"qs_XXXXXXXXXXXX\",\"answer\":[\"op_XXXXXXXXXXXX\"],\"options\":[\"op_XXXXXXXXXXXX\",\"op_XXXXXXXXXXXX\"],\"score\":0,\"status\":-1},{\"question_id\":\"qs_XXXXXXXXXXXX\",\"answer\":[\"op_XXXXXXXXXXXX\"],\"options\":[\"op_XXXXXXXXXXXX\",\"op_XXXXXXXXXXXX\"],\"score\":0,\"status\":-1},{\"question_id\":\"qs_XXXXXXXXXXXX\",\"answer\":[\"op_XXXXXXXXXXXX\"],\"options\":[\"op_XXXXXXXXXXXX\",\"op_XXXXXXXXXXXX\",\"op_XXXXXXXXXXXX\"],\"score\":0,\"status\":-1}]",
                "review": "{\"content\":\"XXXX\",\"remark\":\"\\u003cp\\u003eXXXX\\u003c/p\\u003e\",\"resource_id\":\"\",\"resource_type\":0}",
                "store": 0,
                "match_type": 0,
                "status": 1,
                "created_at": "2025-03-04 19:42:27",
                "updated_at": "2025-03-04 19:46:00",
                "id": 1132884,
                "review_content": "XXXX",
                "review_remark": "<p>XXXX</p>"
            },
            {
                "app_id": "app_XXXXXX",
                "evaluation_id": "ev_XXXXXXXXXXXX",
                "user_id": "u_XXXXXXXXXXXX",
                "result": "[{\"question_id\":\"qs_XXXXXXXXXXXX\",\"answer\":[\"op_XXXXXXXXXXXX\"],\"options\":[\"op_XXXXXXXXXXXX\",\"op_XXXXXXXXXXXX\"],\"score\":0,\"status\":-1},{\"question_id\":\"qs_XXXXXXXXXXXX\",\"answer\":[\"op_XXXXXXXXXXXX\"],\"options\":[\"op_XXXXXXXXXXXX\",\"op_XXXXXXXXXXXX\"],\"score\":0,\"status\":-1},{\"question_id\":\"qs_XXXXXXXXXXXX\",\"answer\":[\"op_XXXXXXXXXXXX\"],\"options\":[\"op_XXXXXXXXXXXX\",\"op_XXXXXXXXXXXX\",\"op_XXXXXXXXXXXX\"],\"score\":0,\"status\":-1}]",
                "review": "{\"content\":\"XXXX\",\"remark\":\"\\u003cp\\u003eXXXX\\u003c/p\\u003e\",\"resource_id\":\"\",\"resource_type\":0}",
                "store": 0,
                "match_type": 0,
                "status": 1,
                "created_at": "2025-03-04 19:35:42",
                "updated_at": "2025-03-04 19:42:20",
                "id": 1132876,
                "review_content": "XXXX",
                "review_remark": "<p>XXXX</p>"
            }
        ],
        "total": 2
    }
}

results matching ""

    No results matching ""