批量获取测试互动用户作答结果
拥有此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
}
}