获取测试互动用户作答详情

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

请求方式及url

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

在线调试工具

请求

响应

请求参数

参数名 必选 类型 说明
access_token string 专属token
evaluation_id string 测试互动id
user_id string 用户id
id int 用户参与id

请求示例

{
    "access_token":"xe_xxxxx",
    "evaluation_id": "ev_xxxxxx",
    "user_id": "u_xxxxxxxx",
    "id": 8457920
}

返回参数

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

题目列表list

参数名 必选 类型 说明
question_id string 题目id
content string 题目内容
img_url string 题目图片url
img_url_compressed string 压缩题目图片url
type int 题目样式 0-文本 1-文本+图片 2-文本+音频 3-文本+视频
answer_type int 题目类型 0-单选 1-多选
answer array of string 用户选择的选项,选项id数组
current_answer array of string 问题的正确答案数组,选项id数组
options json数组 问题的选项数组,每个选项是一个对象
score float 该题目的得分

选项列表options

参数名 必选 类型 说明
option_id string 选项id
content string 选项内容
img_url string 选项的图片
img_url_compressed string 压缩后的选项的图片
score float 当前选项的得分
type int 选项样式 0-文本 1-文本+图片

备注

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

返回示例

{
  "code": 0,
  "msg": "success",
  "data": {
    "list": [
      {
        "question_id": "qs_XXXXXX",
        "content": "测试主流程啊ce",
        "img_url": "",
        "img_url_compressed": "",
        "type": 0,
        "answer_type": 0,
        "answer": [
          "op_XXXXXX"
        ],
        "current_answer": [
          "op_XXXXXX"
        ],
        "options": [
          {
            "option_id": "op_XXXXXX",
            "content": "测试",
            "img_url": "",
            "img_url_compressed": "",
            "score": 0,
            "type": 0
          },
          {
            "option_id": "op_XXXXXX",
            "content": "测试",
            "img_url": "",
            "img_url_compressed": "",
            "score": 0,
            "type": 0
          },
          {
            "option_id": "op_XXXXXX",
            "content": "测试",
            "img_url": "",
            "img_url_compressed": "",
            "score": 0,
            "type": 0
          }
        ],
        "score": 0,
        "status": 1,
        "sort": 0
      },
      {
        "question_id": "qs_XXXXXX",
        "content": "测测",
        "img_url": "https://example.com/image/default/c1OL3Lu1712825937Wm.png",
        "img_url_compressed": "http://example.com/image/compress/630354c1OL3Lu1712825937Wm.png",
        "type": 1,
        "answer_type": 1,
        "answer": [
          "op_XXXXXX",
          "op_XXXXXX"
        ],
        "current_answer": [
          "op_XXXXXX",
          "op_XXXXXX"
        ],
        "options": [
          {
            "option_id": "op_XXXXXX",
            "content": "测试",
            "img_url": "https://example.com/image/default/c1OL3Lu1712825937Wm.png",
            "img_url_compressed": "http://example.com/image/compress/260195c1OL3Lu1712825937Wm.png",
            "score": 0,
            "type": 0
          },
          {
            "option_id": "op_XXXXXX",
            "content": "123123",
            "img_url": "https://example.com/image/default/c1OL3Lu1712825937Wm.png",
            "img_url_compressed": "http://example.com/image/compress/260195c1OL3Lu1712825937Wm.png",
            "score": 0,
            "type": 0
          },
          {
            "option_id": "op_XXXXXX",
            "content": "测试啊啊",
            "img_url": "https://example.com/image/default/cIj5PtK1712823897Qt.png",
            "img_url_compressed": "http://example.com/image/compress/260195cIj5PtK1712823897Qt.png",
            "score": 0,
            "type": 0
          }
        ],
        "score": 0,
        "status": 1,
        "sort": 0
      }
    ]
  }
}

results matching ""

    No results matching ""