POST api/testpaper/examend
结束考试接口
Request Information
URI Parameters
None.
Body Parameters
考试过程记录信息
ExaminationProcessRecordInputDtoName | Description | Type | Additional information |
---|---|---|---|
Token |
考试凭据(登入考试系统时颁发,该凭据是以后每次提交答题过程的唯一依据) |
globally unique identifier |
None. |
PaperId |
试卷编号 |
globally unique identifier |
None. |
StuId |
学号 |
string |
None. |
TempAnswer |
临时答案Json串 |
string |
None. |
TempMark |
临时试题标记Json串 |
string |
None. |
TimeConsuming |
已耗时 |
integer |
None. |
AnswerBatchId |
答题批次编号 |
globally unique identifier |
None. |
Photos |
照片信息(考试过程中的抓拍) |
string |
None. |
SubmitByCutScreen |
切屏交卷 |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Token": "349cdfbd-c2b0-4f13-8258-242eef5e2cc6", "PaperId": "45f1ff70-5265-42c0-b1a3-0a226bfea97c", "StuId": "sample string 3", "TempAnswer": "sample string 4", "TempMark": "sample string 5", "TimeConsuming": 6, "AnswerBatchId": "3aca4223-02c9-4666-8b4c-b1832c8d8ba9", "Photos": "sample string 8", "SubmitByCutScreen": true }
text/html
Sample:
{"Token":"349cdfbd-c2b0-4f13-8258-242eef5e2cc6","PaperId":"45f1ff70-5265-42c0-b1a3-0a226bfea97c","StuId":"sample string 3","TempAnswer":"sample string 4","TempMark":"sample string 5","TimeConsuming":6,"AnswerBatchId":"3aca4223-02c9-4666-8b4c-b1832c8d8ba9","Photos":"sample string 8","SubmitByCutScreen":true}
application/xml, text/xml
Sample:
<ExaminationProcessRecordInputDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <AnswerBatchId>3aca4223-02c9-4666-8b4c-b1832c8d8ba9</AnswerBatchId> <CanDelay>true</CanDelay> <PaperId>45f1ff70-5265-42c0-b1a3-0a226bfea97c</PaperId> <Photos>sample string 8</Photos> <StuId>sample string 3</StuId> <SubmitByCutScreen>true</SubmitByCutScreen> <TempAnswer>sample string 4</TempAnswer> <TempMark>sample string 5</TempMark> <TimeConsuming>6</TimeConsuming> <Token>349cdfbd-c2b0-4f13-8258-242eef5e2cc6</Token> </ExaminationProcessRecordInputDto>
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});