POST api/testpaper/updateexaminationprocessrecord
更新考试过程记录(当学生答案发生变更时调用该接口)
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": "da3a1929-561b-473e-955c-19c09ea24763", "PaperId": "d0c7733c-3574-4bc3-8b77-f95607993f34", "StuId": "sample string 3", "TempAnswer": "sample string 4", "TempMark": "sample string 5", "TimeConsuming": 6, "AnswerBatchId": "e93330c8-5be8-4054-bae3-02dd2c552079", "Photos": "sample string 8", "SubmitByCutScreen": true }
text/html
Sample:
{"Token":"da3a1929-561b-473e-955c-19c09ea24763","PaperId":"d0c7733c-3574-4bc3-8b77-f95607993f34","StuId":"sample string 3","TempAnswer":"sample string 4","TempMark":"sample string 5","TimeConsuming":6,"AnswerBatchId":"e93330c8-5be8-4054-bae3-02dd2c552079","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>e93330c8-5be8-4054-bae3-02dd2c552079</AnswerBatchId> <CanDelay>true</CanDelay> <PaperId>d0c7733c-3574-4bc3-8b77-f95607993f34</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>da3a1929-561b-473e-955c-19c09ea24763</Token> </ExaminationProcessRecordInputDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
更新考试过程记录(当学生答案发生变更时调用该接口)
JsonRtnDtoOfExaminationProcessRecordResultDtoName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | ExaminationProcessRecordResultDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "AddTimeLength": 1 } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"AddTimeLength":1}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfExaminationProcessRecordResultDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data> <AddTimeLength>1</AddTimeLength> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfExaminationProcessRecordResultDtov3CTEUQJ>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"AddTimeLength":1}});