Skip to content

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

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

请求方式及url

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

接口调试

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

请求参数

参数名必选类型说明
access_tokenstring专属token
evaluation_idstring测试互动id
user_idstring用户id
idint用户参与id

请求示例

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

返回参数

参数名必选类型说明备注
codeint返回码0-成功,其他失败
msgstring返回信息...
datajson对象返回值...
listjson数组题目列表...

题目列表list

参数名必选类型说明
question_idstring题目id
contentstring题目内容
img_urlstring题目图片url
img_url_compressedstring压缩题目图片url
typeint题目样式 0-文本 1-文本+图片 2-文本+音频 3-文本+视频
answer_typeint题目类型 0-单选 1-多选
answerarray of string用户选择的选项,选项id数组
current_answerarray of string问题的正确答案数组,选项id数组
optionsjson数组问题的选项数组,每个选项是一个对象
scorefloat该题目的得分

选项列表options

参数名必选类型说明
option_idstring选项id
contentstring选项内容
img_urlstring选项的图片
img_url_compressedstring压缩后的选项的图片
scorefloat当前选项的得分
typeint选项样式 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
      }
    ]
  }
}