获取随机组卷详情
开发中
GET
/examPaper/getRandomPaper/{id}
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Path 参数
id
number
试卷id
示例值:
7
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1:9000/examPaper/getRandomPaper/7'
返回响应
🟢200成功
application/json
Body
successful
boolean
必需
code
integer
必需
message
string
必需
timestamp
string
必需
data
object
必需
id
number
试卷id
examPaperName
string
试卷名称
duration
integer
答题时间(分钟)
isManual
integer
组卷方式(1人工组卷,2随机组卷)
allowMakeup
integer
是否允许补考(1-允许补考,0-不允许补考)
passingScore
integer
合格分数
paperScore
integer
试卷总分
papelTotal
integer
试题总数
captureCount
integer
抓拍次数
paperDesc
string
试卷说明
questionBankList
array [object {3}]
题库列表
bigQuestionList
array [object {7}]
大题列表
示例
{
"successful": true,
"code": 200,
"message": "操作成功!",
"timestamp": "1743149264547",
"data": {
"id": "7",
"createdBy": null,
"createdName": null,
"createdTime": null,
"lastModifiedTime": null,
"lastModifiedBy": null,
"lastModifiedName": null,
"deleted": null,
"examPaperName": "测试随机组卷3.27",
"duration": 10,
"isManual": 2,
"allowMakeup": 0,
"passingScore": 10.0,
"paperScore": 10.0,
"papelTotal": 2,
"captureCount": 1,
"paperDesc": "这是一个测试随机组卷的测试",
"tenantId": null,
"questionBankList": [
{
"value": "1901193263717597186",
"label": "测试题库121",
"label2": null
},
{
"value": "1901084089054343169",
"label": "127",
"label2": null
}
],
"bigQuestionList": [
{
"bigQuestionId": "6",
"bigQuestionName": "单选题",
"bigQuestionType": 1,
"bigQuestionScore": 10.0,
"bigQuestionSingleScore": 5.0,
"questionCount": 2,
"randomQuestionBankCount": [
{
"questionBankId": "1901193263717597186",
"questionBankName": "测试题库121",
"questionCount": 2
}
]
}
]
}
}