POST api/testpaperconfig/TestPaperSettings
试卷设置修改
Request Information
URI Parameters
None.
Body Parameters
PaperSettingInputDtoName | Description | Type | Additional information |
---|---|---|---|
PaperId |
试卷编号 |
globally unique identifier |
None. |
BeginTime |
开始时间 |
date |
None. |
EndTime |
结束时间 |
date |
None. |
EffectOfTime |
试卷生效时间 |
date |
None. |
StudentCanSeeAnswer |
允许用户查看答案 |
boolean |
None. |
StudentCanSeeScores |
允许用户查看评分结果 |
boolean |
None. |
StudentCanSeeRanking |
允许用户查看成绩排名 |
boolean |
None. |
TimeInterval |
自动保存间隔时间(分钟)当答卷方式为系统自动保存时该选项应大于0 |
integer |
None. |
EnableRuleMark |
启用规则评价 |
boolean |
None. |
AutoMarkRule |
自动评分规则范围 |
string |
None. |
IsShowRuleInfo |
是否展示ShowRuleInfo |
boolean |
None. |
FillBlankIgnoreCase |
自动评分填空题目忽略大小写 |
boolean |
None. |
DelayMark |
延迟评分 |
boolean |
None. |
ChoiceMarkRule |
多选题评分类型 |
ChoiceMarkRule |
None. |
CanAdvanceSubmitTime |
可提前交卷时间 |
integer |
None. |
LimitLateness |
限制迟到时间 为false 不限止 |
boolean |
None. |
AllowedLatenessTimeLenth |
允许迟到时间 当LimitLateness为true时此处时间表示允许迟到的时长单位分钟 |
integer |
None. |
TitleSequence |
题序方式 |
TitleSequence |
None. |
PaperTypeId |
试卷类型编号 |
integer |
None. |
UpsetOrder |
选项乱序 |
boolean |
None. |
ConstRuleUpset |
固定组卷规则试题打乱 |
boolean |
None. |
PlayCount |
播放次数 |
integer |
None. |
CutScreenNum |
切屏次数 |
integer |
None. |
RequireCamera |
需要摄像头 |
boolean |
None. |
PrintWordSize |
打印卷尺寸 |
PrintWordSize |
None. |
PageHeader |
页头 |
string |
None. |
PageFooter |
页脚 |
string |
None. |
PatternType |
试卷应用分类 |
PatternType |
None. |
OpenBookExamination |
开卷考试 |
boolean |
None. |
SubmitWay |
试卷选项 |
SubmitWay |
None. |
Fraction |
分数组成分量 |
FractionComponent |
None. |
IgnoreSequenceOnlyOne |
仅单个小题时,忽略序号 |
boolean |
None. |
EnableVideoRecording |
启用录像 |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "PaperId": "0b4a0d3e-0c1b-4674-a0cd-4a764f846eff", "BeginTime": "2024-09-25T00:05:56.5381673+08:00", "EndTime": "2024-09-25T00:05:56.5381673+08:00", "EffectOfTime": "2024-09-25T00:05:56.5381673+08:00", "StudentCanSeeAnswer": true, "StudentCanSeeScores": true, "StudentCanSeeRanking": true, "TimeInterval": 8, "EnableRuleMark": true, "AutoMarkRule": "sample string 10", "IsShowRuleInfo": true, "FillBlankIgnoreCase": true, "DelayMark": true, "ChoiceMarkRule": { "ChoiceMarkRuleType": 1, "PercentScore": 1.1, "ChoiceMarkRuleInfo": [ { "BeginPercentPoint": 1, "EndPercentPoint": 2, "PercentScore": 3.1 }, { "BeginPercentPoint": 1, "EndPercentPoint": 2, "PercentScore": 3.1 } ] }, "CanAdvanceSubmitTime": 1, "LimitLateness": true, "AllowedLatenessTimeLenth": 15, "TitleSequence": 1, "PaperTypeId": 16, "UpsetOrder": true, "ConstRuleUpset": true, "PlayCount": 19, "CutScreenNum": 1, "RequireCamera": true, "PrintWordSize": 1, "PageHeader": "sample string 21", "PageFooter": "sample string 22", "PatternType": 1, "OpenBookExamination": true, "SubmitWay": 1, "Fraction": { "FinalExamRate": 1.1, "FinalExam": 2.1, "UsualPerformanceRate": 3.1, "UsualPerformance": 4.1 }, "IgnoreSequenceOnlyOne": true, "EnableVideoRecording": true }
text/html
Sample:
{"PaperId":"0b4a0d3e-0c1b-4674-a0cd-4a764f846eff","BeginTime":"2024-09-25T00:05:56.5381673+08:00","EndTime":"2024-09-25T00:05:56.5381673+08:00","EffectOfTime":"2024-09-25T00:05:56.5381673+08:00","StudentCanSeeAnswer":true,"StudentCanSeeScores":true,"StudentCanSeeRanking":true,"TimeInterval":8,"EnableRuleMark":true,"AutoMarkRule":"sample string 10","IsShowRuleInfo":true,"FillBlankIgnoreCase":true,"DelayMark":true,"ChoiceMarkRule":{"ChoiceMarkRuleType":1,"PercentScore":1.1,"ChoiceMarkRuleInfo":[{"BeginPercentPoint":1,"EndPercentPoint":2,"PercentScore":3.1},{"BeginPercentPoint":1,"EndPercentPoint":2,"PercentScore":3.1}]},"CanAdvanceSubmitTime":1,"LimitLateness":true,"AllowedLatenessTimeLenth":15,"TitleSequence":1,"PaperTypeId":16,"UpsetOrder":true,"ConstRuleUpset":true,"PlayCount":19,"CutScreenNum":1,"RequireCamera":true,"PrintWordSize":1,"PageHeader":"sample string 21","PageFooter":"sample string 22","PatternType":1,"OpenBookExamination":true,"SubmitWay":1,"Fraction":{"FinalExamRate":1.1,"FinalExam":2.1,"UsualPerformanceRate":3.1,"UsualPerformance":4.1},"IgnoreSequenceOnlyOne":true,"EnableVideoRecording":true}
application/xml, text/xml
Sample:
<PaperSettingInputDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <AllowedLatenessTimeLenth>15</AllowedLatenessTimeLenth> <AutoMarkRule>sample string 10</AutoMarkRule> <BeginTime>2024-09-25T00:05:56.5381673+08:00</BeginTime> <CanAdvanceSubmitTime>1</CanAdvanceSubmitTime> <ChoiceMarkRule> <ChoiceMarkRuleInfo> <ChoiceMarkRuleInfo> <BeginPercentPoint>1</BeginPercentPoint> <EndPercentPoint>2</EndPercentPoint> <PercentScore>3.1</PercentScore> </ChoiceMarkRuleInfo> <ChoiceMarkRuleInfo> <BeginPercentPoint>1</BeginPercentPoint> <EndPercentPoint>2</EndPercentPoint> <PercentScore>3.1</PercentScore> </ChoiceMarkRuleInfo> </ChoiceMarkRuleInfo> <ChoiceMarkRuleType>全对得分</ChoiceMarkRuleType> <PercentScore>1.1</PercentScore> </ChoiceMarkRule> <ConstRuleUpset>true</ConstRuleUpset> <CutScreenNum>1</CutScreenNum> <DelayMark>true</DelayMark> <EffectOfTime>2024-09-25T00:05:56.5381673+08:00</EffectOfTime> <EnableRuleMark>true</EnableRuleMark> <EnableVideoRecording>true</EnableVideoRecording> <EndTime>2024-09-25T00:05:56.5381673+08:00</EndTime> <FillBlankIgnoreCase>true</FillBlankIgnoreCase> <Fraction> <FinalExam>2.1</FinalExam> <FinalExamRate>1.1</FinalExamRate> <UsualPerformance>4.1</UsualPerformance> <UsualPerformanceRate>3.1</UsualPerformanceRate> </Fraction> <IgnoreSequenceOnlyOne>true</IgnoreSequenceOnlyOne> <IsShowRuleInfo>true</IsShowRuleInfo> <LimitLateness>true</LimitLateness> <OpenBookExamination>true</OpenBookExamination> <PageFooter>sample string 22</PageFooter> <PageHeader>sample string 21</PageHeader> <PaperId>0b4a0d3e-0c1b-4674-a0cd-4a764f846eff</PaperId> <PaperTypeId>16</PaperTypeId> <PatternType>正规考试</PatternType> <PlayCount>19</PlayCount> <PrintWordSize>A3</PrintWordSize> <RequireCamera>true</RequireCamera> <StudentCanSeeAnswer>true</StudentCanSeeAnswer> <StudentCanSeeRanking>true</StudentCanSeeRanking> <StudentCanSeeScores>true</StudentCanSeeScores> <SubmitWay>保存答题细目与答题成绩</SubmitWay> <TimeInterval>8</TimeInterval> <TitleSequence>小题统一排序</TitleSequence> <UpsetOrder>true</UpsetOrder> </PaperSettingInputDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
试卷设置修改
JsonRtnDtoOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": true }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":true}
application/xml, text/xml
Sample:
<JsonRtnDtoOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data>true</Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfboolean>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":true});