POST api/testpaper/SaveCardPaper
保存答题卡试卷
Request Information
URI Parameters
None.
Body Parameters
TestCardPaperDtoName | Description | Type | Additional information |
---|---|---|---|
ProfessionalCourseId |
课程编号 |
integer |
None. |
ProfessionalCoursePath |
课程Path |
string |
None. |
Id |
试卷编号 |
globally unique identifier |
None. |
PaperTypeId |
试卷类型编号 |
integer |
None. |
PaperName |
试卷名称 |
string |
None. |
RuleWay |
出题方式 |
RuleWay |
None. |
BeginTime |
开始时间 |
date |
None. |
EndTime |
结束时间 |
date |
None. |
EffectOfTime |
试卷生效时间 |
date |
None. |
TotalScore |
总分 |
integer |
None. |
PassScore |
及格总分 |
integer |
None. |
TimeLength |
考试时长(分钟) |
integer |
None. |
StudentCanSeeAnswer |
允许用户查看答案 |
boolean |
None. |
StudentCanSeeScores |
允许用户查看评分结果 |
boolean |
None. |
StudentCanSeeRanking |
允许用户查看成绩排名 |
boolean |
None. |
IsFinished |
组卷是否完成 |
boolean |
None. |
IsShowRuleInfo |
是否展示ShowRuleInfo |
boolean |
None. |
Ltcd |
参加考试的班级 |
Collection of TestClassDto |
None. |
Lccrd |
固定选题规则 |
Collection of CardConstRuleDto |
None. |
ClassType |
班级类型 |
ClassType |
None. |
Classification |
试卷分类 |
PaperClassification |
None. |
PatternType |
试卷应用分类(该分类主要用于统计分析时使用) |
PatternType |
None. |
Ident |
所属系统标识 |
SystemIdent |
None. |
Grade |
年级 |
integer |
None. |
Semester |
学期 |
Semester |
None. |
IsAnswerCard |
是否为答题卡试卷 |
boolean |
None. |
IsShared |
是否共享 |
boolean |
None. |
EnableViewTestPaper |
启用查看试卷密码限制 |
boolean |
None. |
ViewTestPaperPwd |
查看试卷的二次密码 |
string |
None. |
ChoiceMarkRule |
多选题评分类型 |
ChoiceMarkRule |
None. |
AcademicYear |
学年 |
string |
None. |
TitleSequence |
题序展示方式 |
TitleSequence |
None. |
IgnoreSequenceOnlyOne |
仅单个小题时,忽略序号 |
boolean |
None. |
IsRecover |
还原 |
boolean |
None. |
TaskId |
关联任务编号 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProfessionalCourseId": 1, "ProfessionalCoursePath": "sample string 2", "Id": "171cf3e3-1e96-4723-b9d9-be1bf3be464b", "PaperTypeId": 4, "PaperName": "sample string 5", "RuleWay": 1, "BeginTime": "2024-09-25T00:10:05.6717177+08:00", "EndTime": "2024-09-25T00:10:05.6717177+08:00", "EffectOfTime": "2024-09-25T00:10:05.6717177+08:00", "TotalScore": 9, "PassScore": 10, "TimeLength": 11, "StudentCanSeeAnswer": true, "StudentCanSeeScores": true, "StudentCanSeeRanking": true, "IsFinished": true, "IsShowRuleInfo": true, "Ltcd": [ { "ClassType": 1, "TeachingClassId": "6b989209-ffa4-447b-81ba-5a59a6ff026e", "StructureId": 2, "TestPaperId": "6f625005-d1ae-466b-83d0-5f227511ce87" }, { "ClassType": 1, "TeachingClassId": "6b989209-ffa4-447b-81ba-5a59a6ff026e", "StructureId": 2, "TestPaperId": "6f625005-d1ae-466b-83d0-5f227511ce87" } ], "Lccrd": [ { "$id": "1", "Id": "2d1ee13a-51f1-46f8-8f23-0c8173bcceca", "Knowledge": "sample string 2", "PId": "0b05ce30-0837-4dac-b130-d4da9b79f8d9", "RuleInfo": "sample string 3", "RuleType": 1, "TestTypeId": 4, "Difficulty": 5, "Score": "sample string 6", "ReTestRepositoryId": 7, "DescribeReTestRepositoryId": "7c143a1a-6e04-437f-8fa4-242df982fa83", "Lccrrtd": [ { "ConstRuleId": "fda3227d-4f2a-46d1-8878-874651a3bddf", "ReTestId": "163c1b77-16cd-4b3e-aa65-f5cff0f281c5", "Index": 3, "Answer": "sample string 4", "OptionLength": 5, "ReTestType": 1, "Knowledge": "sample string 6", "Difficulty": 7, "ProfessionalTargetId": 8, "ProfessionalTargetName": "sample string 9", "Tags": [ { "TagName": "sample string 1", "TagValue": "sample string 2" }, { "TagName": "sample string 1", "TagValue": "sample string 2" } ] }, { "ConstRuleId": "fda3227d-4f2a-46d1-8878-874651a3bddf", "ReTestId": "163c1b77-16cd-4b3e-aa65-f5cff0f281c5", "Index": 3, "Answer": "sample string 4", "OptionLength": 5, "ReTestType": 1, "Knowledge": "sample string 6", "Difficulty": 7, "ProfessionalTargetId": 8, "ProfessionalTargetName": "sample string 9", "Tags": [ { "TagName": "sample string 1", "TagValue": "sample string 2" }, { "TagName": "sample string 1", "TagValue": "sample string 2" } ] } ], "Children": [ { "$ref": "1" }, { "$ref": "1" } ] }, { "$ref": "1" } ], "ClassType": 1, "Classification": 1, "PatternType": 1, "Ident": 1, "Grade": 17, "Semester": 1, "IsAnswerCard": true, "IsShared": true, "EnableViewTestPaper": true, "ViewTestPaperPwd": "sample string 21", "ChoiceMarkRule": { "ChoiceMarkRuleType": 1, "PercentScore": 1.1, "ChoiceMarkRuleInfo": [ { "BeginPercentPoint": 1, "EndPercentPoint": 2, "PercentScore": 3.1 }, { "BeginPercentPoint": 1, "EndPercentPoint": 2, "PercentScore": 3.1 } ] }, "AcademicYear": "sample string 22", "TitleSequence": 1, "IgnoreSequenceOnlyOne": true, "IsRecover": true, "TaskId": 1 }
text/html
Sample:
{"ProfessionalCourseId":1,"ProfessionalCoursePath":"sample string 2","Id":"171cf3e3-1e96-4723-b9d9-be1bf3be464b","PaperTypeId":4,"PaperName":"sample string 5","RuleWay":1,"BeginTime":"2024-09-25T00:10:05.6717177+08:00","EndTime":"2024-09-25T00:10:05.6717177+08:00","EffectOfTime":"2024-09-25T00:10:05.6717177+08:00","TotalScore":9,"PassScore":10,"TimeLength":11,"StudentCanSeeAnswer":true,"StudentCanSeeScores":true,"StudentCanSeeRanking":true,"IsFinished":true,"IsShowRuleInfo":true,"Ltcd":[{"ClassType":1,"TeachingClassId":"6b989209-ffa4-447b-81ba-5a59a6ff026e","StructureId":2,"TestPaperId":"6f625005-d1ae-466b-83d0-5f227511ce87"},{"ClassType":1,"TeachingClassId":"6b989209-ffa4-447b-81ba-5a59a6ff026e","StructureId":2,"TestPaperId":"6f625005-d1ae-466b-83d0-5f227511ce87"}],"Lccrd":[{"$id":"1","Id":"2d1ee13a-51f1-46f8-8f23-0c8173bcceca","Knowledge":"sample string 2","PId":"0b05ce30-0837-4dac-b130-d4da9b79f8d9","RuleInfo":"sample string 3","RuleType":1,"TestTypeId":4,"Difficulty":5,"Score":"sample string 6","ReTestRepositoryId":7,"DescribeReTestRepositoryId":"7c143a1a-6e04-437f-8fa4-242df982fa83","Lccrrtd":[{"ConstRuleId":"fda3227d-4f2a-46d1-8878-874651a3bddf","ReTestId":"163c1b77-16cd-4b3e-aa65-f5cff0f281c5","Index":3,"Answer":"sample string 4","OptionLength":5,"ReTestType":1,"Knowledge":"sample string 6","Difficulty":7,"ProfessionalTargetId":8,"ProfessionalTargetName":"sample string 9","Tags":[{"TagName":"sample string 1","TagValue":"sample string 2"},{"TagName":"sample string 1","TagValue":"sample string 2"}]},{"ConstRuleId":"fda3227d-4f2a-46d1-8878-874651a3bddf","ReTestId":"163c1b77-16cd-4b3e-aa65-f5cff0f281c5","Index":3,"Answer":"sample string 4","OptionLength":5,"ReTestType":1,"Knowledge":"sample string 6","Difficulty":7,"ProfessionalTargetId":8,"ProfessionalTargetName":"sample string 9","Tags":[{"TagName":"sample string 1","TagValue":"sample string 2"},{"TagName":"sample string 1","TagValue":"sample string 2"}]}],"Children":[{"$ref":"1"},{"$ref":"1"}]},{"$ref":"1"}],"ClassType":1,"Classification":1,"PatternType":1,"Ident":1,"Grade":17,"Semester":1,"IsAnswerCard":true,"IsShared":true,"EnableViewTestPaper":true,"ViewTestPaperPwd":"sample string 21","ChoiceMarkRule":{"ChoiceMarkRuleType":1,"PercentScore":1.1,"ChoiceMarkRuleInfo":[{"BeginPercentPoint":1,"EndPercentPoint":2,"PercentScore":3.1},{"BeginPercentPoint":1,"EndPercentPoint":2,"PercentScore":3.1}]},"AcademicYear":"sample string 22","TitleSequence":1,"IgnoreSequenceOnlyOne":true,"IsRecover":true,"TaskId":1}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
保存答题卡试卷
JsonRtnDtoOfTestCardPaperDtoName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | TestCardPaperDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "ProfessionalCourseId": 1, "ProfessionalCoursePath": "sample string 2", "Id": "3709100e-4344-4f09-b6ec-e8ef797f21f7", "PaperTypeId": 4, "PaperName": "sample string 5", "RuleWay": 1, "BeginTime": "2024-09-25T00:10:05.8279926+08:00", "EndTime": "2024-09-25T00:10:05.8279926+08:00", "EffectOfTime": "2024-09-25T00:10:05.8279926+08:00", "TotalScore": 9, "PassScore": 10, "TimeLength": 11, "StudentCanSeeAnswer": true, "StudentCanSeeScores": true, "StudentCanSeeRanking": true, "IsFinished": true, "IsShowRuleInfo": true, "Ltcd": [ { "ClassType": 1, "TeachingClassId": "f131e7d5-7e76-4fea-900c-7c3442a52324", "StructureId": 2, "TestPaperId": "7579c817-d1ad-4b8d-a376-63ffc332221f" }, { "ClassType": 1, "TeachingClassId": "f131e7d5-7e76-4fea-900c-7c3442a52324", "StructureId": 2, "TestPaperId": "7579c817-d1ad-4b8d-a376-63ffc332221f" } ], "Lccrd": [ { "$id": "1", "Id": "0b0fb336-6937-407c-8dee-be1352ba339e", "Knowledge": "sample string 2", "PId": "c4d0a626-01ea-41d8-a168-eab80f6c6549", "RuleInfo": "sample string 3", "RuleType": 1, "TestTypeId": 4, "Difficulty": 5, "Score": "sample string 6", "ReTestRepositoryId": 7, "DescribeReTestRepositoryId": "f515517a-40b1-41f6-bc69-6e47b59f0c93", "Lccrrtd": [ { "ConstRuleId": "c192b8a1-b6a3-4b9a-8442-873e8bf67c11", "ReTestId": "6fab9bd0-250f-4ab9-b174-d11897d5ac92", "Index": 3, "Answer": "sample string 4", "OptionLength": 5, "ReTestType": 1, "Knowledge": "sample string 6", "Difficulty": 7, "ProfessionalTargetId": 8, "ProfessionalTargetName": "sample string 9", "Tags": [ { "TagName": "sample string 1", "TagValue": "sample string 2" }, { "TagName": "sample string 1", "TagValue": "sample string 2" } ] }, { "ConstRuleId": "c192b8a1-b6a3-4b9a-8442-873e8bf67c11", "ReTestId": "6fab9bd0-250f-4ab9-b174-d11897d5ac92", "Index": 3, "Answer": "sample string 4", "OptionLength": 5, "ReTestType": 1, "Knowledge": "sample string 6", "Difficulty": 7, "ProfessionalTargetId": 8, "ProfessionalTargetName": "sample string 9", "Tags": [ { "TagName": "sample string 1", "TagValue": "sample string 2" }, { "TagName": "sample string 1", "TagValue": "sample string 2" } ] } ], "Children": [ { "$ref": "1" }, { "$ref": "1" } ] }, { "$ref": "1" } ], "ClassType": 1, "Classification": 1, "PatternType": 1, "Ident": 1, "Grade": 17, "Semester": 1, "IsAnswerCard": true, "IsShared": true, "EnableViewTestPaper": true, "ViewTestPaperPwd": "sample string 21", "ChoiceMarkRule": { "ChoiceMarkRuleType": 1, "PercentScore": 1.1, "ChoiceMarkRuleInfo": [ { "BeginPercentPoint": 1, "EndPercentPoint": 2, "PercentScore": 3.1 }, { "BeginPercentPoint": 1, "EndPercentPoint": 2, "PercentScore": 3.1 } ] }, "AcademicYear": "sample string 22", "TitleSequence": 1, "IgnoreSequenceOnlyOne": true, "IsRecover": true, "TaskId": 1 } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"ProfessionalCourseId":1,"ProfessionalCoursePath":"sample string 2","Id":"3709100e-4344-4f09-b6ec-e8ef797f21f7","PaperTypeId":4,"PaperName":"sample string 5","RuleWay":1,"BeginTime":"2024-09-25T00:10:05.8279926+08:00","EndTime":"2024-09-25T00:10:05.8279926+08:00","EffectOfTime":"2024-09-25T00:10:05.8279926+08:00","TotalScore":9,"PassScore":10,"TimeLength":11,"StudentCanSeeAnswer":true,"StudentCanSeeScores":true,"StudentCanSeeRanking":true,"IsFinished":true,"IsShowRuleInfo":true,"Ltcd":[{"ClassType":1,"TeachingClassId":"f131e7d5-7e76-4fea-900c-7c3442a52324","StructureId":2,"TestPaperId":"7579c817-d1ad-4b8d-a376-63ffc332221f"},{"ClassType":1,"TeachingClassId":"f131e7d5-7e76-4fea-900c-7c3442a52324","StructureId":2,"TestPaperId":"7579c817-d1ad-4b8d-a376-63ffc332221f"}],"Lccrd":[{"$id":"1","Id":"0b0fb336-6937-407c-8dee-be1352ba339e","Knowledge":"sample string 2","PId":"c4d0a626-01ea-41d8-a168-eab80f6c6549","RuleInfo":"sample string 3","RuleType":1,"TestTypeId":4,"Difficulty":5,"Score":"sample string 6","ReTestRepositoryId":7,"DescribeReTestRepositoryId":"f515517a-40b1-41f6-bc69-6e47b59f0c93","Lccrrtd":[{"ConstRuleId":"c192b8a1-b6a3-4b9a-8442-873e8bf67c11","ReTestId":"6fab9bd0-250f-4ab9-b174-d11897d5ac92","Index":3,"Answer":"sample string 4","OptionLength":5,"ReTestType":1,"Knowledge":"sample string 6","Difficulty":7,"ProfessionalTargetId":8,"ProfessionalTargetName":"sample string 9","Tags":[{"TagName":"sample string 1","TagValue":"sample string 2"},{"TagName":"sample string 1","TagValue":"sample string 2"}]},{"ConstRuleId":"c192b8a1-b6a3-4b9a-8442-873e8bf67c11","ReTestId":"6fab9bd0-250f-4ab9-b174-d11897d5ac92","Index":3,"Answer":"sample string 4","OptionLength":5,"ReTestType":1,"Knowledge":"sample string 6","Difficulty":7,"ProfessionalTargetId":8,"ProfessionalTargetName":"sample string 9","Tags":[{"TagName":"sample string 1","TagValue":"sample string 2"},{"TagName":"sample string 1","TagValue":"sample string 2"}]}],"Children":[{"$ref":"1"},{"$ref":"1"}]},{"$ref":"1"}],"ClassType":1,"Classification":1,"PatternType":1,"Ident":1,"Grade":17,"Semester":1,"IsAnswerCard":true,"IsShared":true,"EnableViewTestPaper":true,"ViewTestPaperPwd":"sample string 21","ChoiceMarkRule":{"ChoiceMarkRuleType":1,"PercentScore":1.1,"ChoiceMarkRuleInfo":[{"BeginPercentPoint":1,"EndPercentPoint":2,"PercentScore":3.1},{"BeginPercentPoint":1,"EndPercentPoint":2,"PercentScore":3.1}]},"AcademicYear":"sample string 22","TitleSequence":1,"IgnoreSequenceOnlyOne":true,"IsRecover":true,"TaskId":1}}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"ProfessionalCourseId":1,"ProfessionalCoursePath":"sample string 2","Id":"3709100e-4344-4f09-b6ec-e8ef797f21f7","PaperTypeId":4,"PaperName":"sample string 5","RuleWay":1,"BeginTime":"2024-09-25T00:10:05.8279926+08:00","EndTime":"2024-09-25T00:10:05.8279926+08:00","EffectOfTime":"2024-09-25T00:10:05.8279926+08:00","TotalScore":9,"PassScore":10,"TimeLength":11,"StudentCanSeeAnswer":true,"StudentCanSeeScores":true,"StudentCanSeeRanking":true,"IsFinished":true,"IsShowRuleInfo":true,"Ltcd":[{"ClassType":1,"TeachingClassId":"f131e7d5-7e76-4fea-900c-7c3442a52324","StructureId":2,"TestPaperId":"7579c817-d1ad-4b8d-a376-63ffc332221f"},{"ClassType":1,"TeachingClassId":"f131e7d5-7e76-4fea-900c-7c3442a52324","StructureId":2,"TestPaperId":"7579c817-d1ad-4b8d-a376-63ffc332221f"}],"Lccrd":[{"$id":"1","Id":"0b0fb336-6937-407c-8dee-be1352ba339e","Knowledge":"sample string 2","PId":"c4d0a626-01ea-41d8-a168-eab80f6c6549","RuleInfo":"sample string 3","RuleType":1,"TestTypeId":4,"Difficulty":5,"Score":"sample string 6","ReTestRepositoryId":7,"DescribeReTestRepositoryId":"f515517a-40b1-41f6-bc69-6e47b59f0c93","Lccrrtd":[{"ConstRuleId":"c192b8a1-b6a3-4b9a-8442-873e8bf67c11","ReTestId":"6fab9bd0-250f-4ab9-b174-d11897d5ac92","Index":3,"Answer":"sample string 4","OptionLength":5,"ReTestType":1,"Knowledge":"sample string 6","Difficulty":7,"ProfessionalTargetId":8,"ProfessionalTargetName":"sample string 9","Tags":[{"TagName":"sample string 1","TagValue":"sample string 2"},{"TagName":"sample string 1","TagValue":"sample string 2"}]},{"ConstRuleId":"c192b8a1-b6a3-4b9a-8442-873e8bf67c11","ReTestId":"6fab9bd0-250f-4ab9-b174-d11897d5ac92","Index":3,"Answer":"sample string 4","OptionLength":5,"ReTestType":1,"Knowledge":"sample string 6","Difficulty":7,"ProfessionalTargetId":8,"ProfessionalTargetName":"sample string 9","Tags":[{"TagName":"sample string 1","TagValue":"sample string 2"},{"TagName":"sample string 1","TagValue":"sample string 2"}]}],"Children":[{"$ref":"1"},{"$ref":"1"}]},{"$ref":"1"}],"ClassType":1,"Classification":1,"PatternType":1,"Ident":1,"Grade":17,"Semester":1,"IsAnswerCard":true,"IsShared":true,"EnableViewTestPaper":true,"ViewTestPaperPwd":"sample string 21","ChoiceMarkRule":{"ChoiceMarkRuleType":1,"PercentScore":1.1,"ChoiceMarkRuleInfo":[{"BeginPercentPoint":1,"EndPercentPoint":2,"PercentScore":3.1},{"BeginPercentPoint":1,"EndPercentPoint":2,"PercentScore":3.1}]},"AcademicYear":"sample string 22","TitleSequence":1,"IgnoreSequenceOnlyOne":true,"IsRecover":true,"TaskId":1}});