DYH云

DYH开放接口


获取学生回答

<h5>简要描述</h5> <ul> <li>获取学生回答</li> </ul> <h5>请求URL</h5> <ul> <li><code>{{BASE_URL}}/api/job.grades/getResult</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET </li> </ul> <h5>参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">contestGradesId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>成绩 id</td> </tr> <tr> <td style="text-align: left;">step</td> <td style="text-align: left;">是 ,固定值</td> <td style="text-align: left;">string</td> <td>goodsAnchorSelectC</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{ "code": 20000, "msg": "success", "time": "2021-09-15 15:08:43", "data": { "paperInfo": { "job_paper_id": 77, "platform_id": 527, "step": "webMakeAnchorPersona", "video": "", "name": "小林测试试卷", "background": null, "score": "6.00", "belongs": 1, "extra": { "subjectiveTitle": "我是主观题题目" }, "status": 1, "add_time": "2021-09-14 11:53:32", "update_time": "2021-09-14 12:05:59" }, "questionWithAnswerList": { "objectiveList": [ # 客观题 { "questionId": 86, "question": "从默认题库中获取的题目1", "type": 1, "score": "2.00", "keywordScore": "0.00", "jobQuestionId": 86, "option":["我是选项", "我还是选项"], "paperQuestionId": 66, "answer": "0,1", "keywords": "", "userAnswer": { # 用户的回答已经分数 "jobAnswerId": 19, "grades": "0.00", "keywordGrades": "0.00", "subjectiveGrades": "0.00", "answer": "1" } } ], "subjectiveList": [ # 主观题 { "questionId": 87, "question": "从默认题库中获取的题目", "type": 5, "score": "4.00", "keywordScore": "20.00", "jobQuestionId": 87, "option": "[]", "paperQuestionId": 67, "answer": "0,1", "keywords": "关键字 1, 关键字二", "userAnswer": { "jobAnswerId": 20, "grades": "0.00", "keywordGrades": "0.00", "subjectiveGrades": "0.00", "answer": "87" } } ] } } }</code></pre> <h5>返回参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">groupid</td> <td style="text-align: left;">int</td> <td>用户组id,1:超级管理员;2:普通用户</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML