Appearance
获取考试结果详细信息
| 拥有此API的权限集 |
|---|
| 考试管理-查询 |
请求方式及url
- 请求方式:
POST - 请求头:
Content-Type:application/json - 接口地址:
https://api.xiaoe-tech.com/xe.examination.result.info/1.0.0 - 频率限制:
10秒3000次
接口调试
请求参数
响应结果
暂无响应数据
请求参数
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| access_token | 是 | string | 专属token |
| join_id | 是 | string | 考试参加唯一id |
请求示例
{
"access_token" : "xe_xxxxx",
"join_id": "xxxxxxxxx"
}返回参数
| 参数名 | 类型 | 说明 |
|---|---|---|
| id | string | 题目id |
| content | string | 题干,包含html标签 |
| describ | string | 题干,不包含html标签 |
| type | int | 题型0单选,1多选,2简答,3判断,4填空,5不定项,6材料题 ,type=6时,子题信息从child_info取 |
| score | int | 分值,type=2时为每空得分 |
| omit_score | string | 多选题漏选得分(JSON格式).其中omit=-1,score是漏选得分,omit=-2,score是漏选时,每选对一个选项得多少分 |
| question_id | int | 子题的材料题id,-1-说明是非材料题的小题 |
| correct_answer | array,string | 正确答案,(材料题为空,选项类题和填空为数组,判断【1为‘正确’】和简答为字符串),若为选择题,正确答案的文本从optionList的content取,关系:correct_answer.value = optionList.id |
| analysis | string | 答案解析 |
| disorder_match | int | 乱序匹配,0-关闭,1-开启 |
| sort | int | 题目序号 |
| is_material_question | int | 是否是材料题的子题,0不是,1是 |
| answer | array,string | 学员提交的答案,若为选择题,文本从optionList的content取,关系:correct_answer.value = optionList.id |
| child_info | array | 材料题的子题列表,结构大致与单题相同 |
| audio_urls | object | 音频内容,json格式 |
| optionList | object | 单选,多选,不定项存在,选项内容 |
child_info材料题的子题列表
| 参数名 | 类型 | 说明 |
|---|---|---|
| fill_right_index | array | 填空题对的空的位置,从0开始,例如[0,2] 第一空,第三个空回答对了 |
| mix_record | array | 学员上传的图片 |
| get_score | int | 学员本道题得分 |
| is_answer_right | int | 是否正确 0-不正确 1-正确 |
| comment_audio_urls | array | 批阅的音频列表 |
| comment_mix_record | array | 批阅的图片列表 |
| comment_from | int | 批阅终端 0-b端批阅 1-小程序批阅 |
音频内容audio_urls
| 参数名 | 类型 | 说明 |
|---|---|---|
| audio_url | string | 音频地址 |
| audio_id | string | 音频id |
| id | string | id |
| audio_title | string | 音频名称 |
| audio_length | string | 音频长度 |
选项内容optionList
| 参数名 | 类型 | 说明 |
|---|---|---|
| app_id | string | 店铺id |
| question_id | string | 子题的材料题id,-1说明是非材料题的小题 |
| id | string | 选项id |
| content | string | 选项内容 |
| describ | string | 选项内容,不包含html标签 |
| state | int | 状态,是否删除,0正常,2删除 |
| answerType | int | 是否是正确选项(多选题存在多个)1为错误选项,0为正确选项 |
学员答案answer
| 参数名 | 类型 | 说明 |
|---|---|---|
| text | string | 学员提交答案的文本 |
| img_urls | array | 学员提交答案的图片路径 |
| audio_url | array | 学员提交答案的音频路径 |
返回示例
{
"code":0,
"msg":"操作成功",
"data":[
{
"id":"qs_xxxxxxx",
"type":0,
"content":"",
"describ":"",
"audio_urls":[
{
"audio_url":"xxxx.mp3",
"audio_id":"m_cxxxxh",
"id":"xx",
"audio_title":"处理后音频.mp3",
"audio_length":"422"
}
],
"correct_answer":[
"op_60ed542728900_KUO1g1e4"
],
"analysis":"<p&请仔细阅读交规<br/&-----------------------<br/&多选题</p&",
"disorder_match":0,
"is_material_question":0,
"score":2,
"omit_score":"[]",
"question_id":"-1",
"sort":1,
"answer":[
"op_60ed5427288f1_Hun7BNUD"
],
"optionList":[
{
"app_id":"appx",
"question_id":"qs_60ed5427288d3_yVYHI5XK",
"id":"op_60ed5427288f1_Hun7BNUD",
"content":"<p&使用其他车辆行驶证</p&",
"describ":"使用其他车辆行驶证\n",
"state":0,
"answerType":1
}
]
},
{
"id":"qs_xxxx2",
"type":1,
"content":"",
"describ":"",
"audio_urls":"",
"correct_answer":[
"op_xIfBa",
"op_xPT"
],
"analysis":"<p&今天是开心的</p&",
"disorder_match":0,
"is_material_question":0,
"score":2,
"omit_score":"[{\"omit\":-2,\"score\":1}]",
"question_id":"-1",
"sort":3,
"answer":[
"op_90006035b673b92b9_IfBa"
],
"optionList":[
{
"app_id":"appxxx2",
"question_id":"qs_xxA2",
"id":"op_xxxIfBa",
"content":"<p&快乐</p&",
"describ":"快乐",
"state":0,
"answerType":0
}
]
}
]
}