On this page
开始考试
接口URL
请求方式
GET
Content-Type
form-data
请求Header参数
参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
---|---|---|---|---|
appid | bd9d01ecc75dbbaaefce | String | 是 | 网校唯一appid |
token | eyj...Nj | String | 是 | 认证令牌 |
请求Query参数
参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
---|---|---|---|---|
id | 12 | Integer | 是 | 试卷ID |
成功响应示例
json5
{
"msg": "ok",
"data": {
"id": 12,
"title": "测试试卷111",
"total_score": 100,
"pass_score": 60,
"expire": 60,
"testpaper_questions": [
{
"id": 42,
"score": 25,
"question_id": 73,
"title": "说说你的看法",
"remark": "问题解析",
"type": "answer",
"user_value": [
""
]
},
{
"id": 43,
"score": 25,
"question_id": 72,
"title": "请问我年龄多大",
"remark": "问题解析",
"type": "completion",
"user_value": [
""
]
},
{
"id": 44,
"score": 0,
"question_id": 71,
"title": "请问我是男生还是女生",
"remark": "问题解析",
"type": "trueOrfalse",
"options": [
"正确",
"错误"
],
"user_value": -1
},
{
"id": 45,
"score": 25,
"question_id": 70,
"title": "你的名字叫什么",
"remark": "问题解析",
"type": "checkbox",
"options": [
"张三",
"李四",
"王五",
"王五哈"
],
"user_value": []
},
// ...
],
"user_test_id": 7
},
"code": 20000
}