添加试卷
POST
/webtenant/preparationExams/examPaper/add请求参数
Body 参数application/json
canDownload
integer <int32>
可选
chapterArray
array[integer <int64>]
可选
chapterIds
string
可选
classifyId
integer <int32>
可选
classifyIds
string
可选
classifyName
string
可选
draftFlag
integer <int32>
必需
expireEnd
string <date-time>
可选
expireStart
string <date-time>
可选
free
integer <int32>
可选
fullScore
number
可选
generateMethod
integer <int32>
必需
id
integer <int64>
可选
openPractice
integer <int32>
可选
paperDesc
string
可选
paperName
string
可选
paperPartList
array[object (ExamPaperPart) {19}]
可选
createBy
integer <int64>
可选
createDept
integer <int64>
可选
createName
string
可选
createTime
string <date-time>
可选
delFlag
string
可选
id
integer <int64>
可选
paperId
integer <int64>
可选
partDesc
string
可选
partName
string
可选
partScore
number
可选
partSort
integer <int32>
可选
questionList
array[object (Question) {46}]
可选
questionRuleList
array[object (ExamPaperQuestionRule) {7}]
可选
questionScore
number
可选
tenantId
integer <int64>
可选
tenantName
string
可选
updateBy
integer <int64>
可选
updateName
string
可选
updateTime
string <date-time>
可选
paperSort
integer <int32>
可选
paperStatus
integer <int32>
可选
paperType
integer <int32>
必需
passScore
number
可选
questionCount
integer <int32>
可选
submitLimit
integer <int32>
可选
tagId
integer <int64>
必需
tagName
string
可选
textbookId
integer <int64>
可选
useArea
string
可选
示例
{
"canDownload": 0,
"chapterArray": [
0
],
"chapterIds": "string",
"classifyId": 0,
"classifyIds": "string",
"classifyName": "string",
"draftFlag": 0,
"expireEnd": "2019-08-24T14:15:22.123Z",
"expireStart": "2019-08-24T14:15:22.123Z",
"free": 0,
"fullScore": 0,
"generateMethod": 0,
"id": 0,
"openPractice": 0,
"paperDesc": "string",
"paperName": "string",
"paperPartList": [
{
"createBy": 0,
"createDept": 0,
"createName": "string",
"createTime": "2019-08-24T14:15:22.123Z",
"delFlag": "string",
"id": 0,
"paperId": 0,
"partDesc": "string",
"partName": "string",
"partScore": 0,
"partSort": 0,
"questionList": [
{
"answer": 0,
"answerExplain": "string",
"answerOptionList": [
{
"answerOption": "string",
"answerOptionCode": 0,
"createBy": 0,
"createDept": 0,
"createName": "string",
"createTime": "2019-08-24T14:15:22.123Z",
"delFlag": "string",
"isAnswer": 0,
"optionId": 0,
"questionId": 0,
"selectCount": 0,
"tenantId": 0,
"tenantName": "string",
"updateBy": 0,
"updateName": "string",
"updateTime": "2019-08-24T14:15:22.123Z"
}
],
"answers": [
0
],
"chapter": [
0
],
"chapterIds": "string",
"chapterName": "string",
"collectCount": 0,
"completionAnswer": [
"string"
],
"correct": 0,
"createBy": 0,
"createDept": 0,
"createName": "string",
"createTime": "2019-08-24T14:15:22.123Z",
"delFlag": "string",
"difficulty": 0,
"display": 0,
"examCount": 0,
"examRightCount": 0,
"examRightRate": 0,
"free": 0,
"hasOption": 0,
"hasSubjective": 0,
"id": 0,
"ids": [
0
],
"parentId": 0,
"practiceCount": 0,
"practiceRightCount": 0,
"practiceRightRate": 0,
"questionDesc": "string",
"questionScore": 0,
"questionStatus": 0,
"questionType": 0,
"selectAnswer": [
0
],
"subQuestionList": [
{}
],
"subjectiveAnswer": "string",
"tagIdList": [
0
],
"tagIds": "string",
"tagNames": "string",
"tags": [
{
"tag": 0,
"tagDesc": "string"
}
],
"tenantId": 0,
"tenantName": "string",
"textbookId": 0,
"updateBy": 0,
"updateName": "string",
"updateTime": "2019-08-24T14:15:22.123Z"
}
],
"questionRuleList": [
{
"id": 0,
"paperId": 0,
"partId": 0,
"questionCount": 0,
"questionDifficulty": 0,
"questionType": 0,
"ruleSort": 0
}
],
"questionScore": 0,
"tenantId": 0,
"tenantName": "string",
"updateBy": 0,
"updateName": "string",
"updateTime": "2019-08-24T14:15:22.123Z"
}
],
"paperSort": 0,
"paperStatus": 0,
"paperType": 0,
"passScore": 0,
"questionCount": 0,
"submitLimit": 0,
"tagId": 0,
"tagName": "string",
"textbookId": 0,
"useArea": "string"
}
示例代码
返回响应
OK(200)
Created(201)
Unauthorized(401)
Forbidden(403)
Not Found(404)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
额外字段
object
可选
示例
{
"property1": {},
"property2": {}
}
最后修改时间: 7 小时前