POST api/testpaper/updateexaminationprocessminrecord
更新考试答案单题提交接口(当学生答案发生变更时调用该接口)
Request Information
URI Parameters
None.
Body Parameters
ExaminationProcessMinRecordDtoName | Description | Type | Additional information |
---|---|---|---|
Token |
考试凭据(登入考试系统时颁发,该凭据是以后每次提交答题过程的唯一依据) |
globally unique identifier |
None. |
PaperId |
试卷编号 |
globally unique identifier |
None. |
StuId |
学号 |
string |
None. |
AnswerArray |
答题结果集 |
AnswerArray |
None. |
MarkId |
标记编号 |
globally unique identifier |
None. |
TimeConsuming |
已耗时 |
integer |
None. |
AddTimeLength |
增加该考生考试时长 |
integer |
None. |
AutoSubmit |
当该值为真时表示自动提交 |
boolean |
None. |
Photos |
照片信息(考试过程中的抓拍) |
string |
None. |
AnswerBatchId |
答题批次编号 |
globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Token": "26c1f17c-df3c-4e4e-a7a7-63adcdcdf90f", "PaperId": "42a86da5-342c-431e-a7e2-04aa57818def", "StuId": "sample string 3", "AnswerArray": { "ReTestId": "c1eb22d2-621b-4ad1-a3d9-5c3f8cc28ce3", "MyAnswer": "sample string 2", "Score": 3.1, "FilePath": "sample string 4", "ScoreRate": "sample string 5" }, "MarkId": "b1f3d460-dd9e-46be-a47e-4b4ba90a1dbc", "TimeConsuming": 4, "AddTimeLength": 5, "AutoSubmit": true, "Photos": "sample string 7", "AnswerBatchId": "30f18b45-d211-41ee-8ef2-084cfeda49b4" }
text/html
Sample:
{"Token":"26c1f17c-df3c-4e4e-a7a7-63adcdcdf90f","PaperId":"42a86da5-342c-431e-a7e2-04aa57818def","StuId":"sample string 3","AnswerArray":{"ReTestId":"c1eb22d2-621b-4ad1-a3d9-5c3f8cc28ce3","MyAnswer":"sample string 2","Score":3.1,"FilePath":"sample string 4","ScoreRate":"sample string 5"},"MarkId":"b1f3d460-dd9e-46be-a47e-4b4ba90a1dbc","TimeConsuming":4,"AddTimeLength":5,"AutoSubmit":true,"Photos":"sample string 7","AnswerBatchId":"30f18b45-d211-41ee-8ef2-084cfeda49b4"}
application/xml, text/xml
Sample:
<ExaminationProcessMinRecordDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <AddTimeLength>5</AddTimeLength> <AnswerArray> <FilePath>sample string 4</FilePath> <MyAnswer>sample string 2</MyAnswer> <ReTestId>c1eb22d2-621b-4ad1-a3d9-5c3f8cc28ce3</ReTestId> <Score>3.1</Score> <ScoreRate>sample string 5</ScoreRate> </AnswerArray> <AnswerBatchId>30f18b45-d211-41ee-8ef2-084cfeda49b4</AnswerBatchId> <AutoSubmit>true</AutoSubmit> <MarkId>b1f3d460-dd9e-46be-a47e-4b4ba90a1dbc</MarkId> <PaperId>42a86da5-342c-431e-a7e2-04aa57818def</PaperId> <Photos>sample string 7</Photos> <StuId>sample string 3</StuId> <TimeConsuming>4</TimeConsuming> <Token>26c1f17c-df3c-4e4e-a7a7-63adcdcdf90f</Token> </ExaminationProcessMinRecordDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
更新考试答案单题提交接口(当学生答案发生变更时调用该接口)
JsonRtnDtoOfExaminationProcessMinRecordDtoName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | ExaminationProcessMinRecordDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "Token": "87469239-aa40-43e4-9370-f3d37d53d5d1", "PaperId": "d77e2493-2bac-43c2-8226-8b94f3b74bca", "StuId": "sample string 3", "AnswerArray": { "ReTestId": "1b2e890d-46b8-424b-9c72-c995783a6ae0", "MyAnswer": "sample string 2", "Score": 3.1, "FilePath": "sample string 4", "ScoreRate": "sample string 5" }, "MarkId": "b6e5adf5-f53d-4355-b87c-a694be5b4183", "TimeConsuming": 4, "AddTimeLength": 5, "AutoSubmit": true, "Photos": "sample string 7", "AnswerBatchId": "b783801a-cf55-4ee5-8428-8d0c71715a1c" } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"Token":"87469239-aa40-43e4-9370-f3d37d53d5d1","PaperId":"d77e2493-2bac-43c2-8226-8b94f3b74bca","StuId":"sample string 3","AnswerArray":{"ReTestId":"1b2e890d-46b8-424b-9c72-c995783a6ae0","MyAnswer":"sample string 2","Score":3.1,"FilePath":"sample string 4","ScoreRate":"sample string 5"},"MarkId":"b6e5adf5-f53d-4355-b87c-a694be5b4183","TimeConsuming":4,"AddTimeLength":5,"AutoSubmit":true,"Photos":"sample string 7","AnswerBatchId":"b783801a-cf55-4ee5-8428-8d0c71715a1c"}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfExaminationProcessMinRecordDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data> <AddTimeLength>5</AddTimeLength> <AnswerArray> <FilePath>sample string 4</FilePath> <MyAnswer>sample string 2</MyAnswer> <ReTestId>1b2e890d-46b8-424b-9c72-c995783a6ae0</ReTestId> <Score>3.1</Score> <ScoreRate>sample string 5</ScoreRate> </AnswerArray> <AnswerBatchId>b783801a-cf55-4ee5-8428-8d0c71715a1c</AnswerBatchId> <AutoSubmit>true</AutoSubmit> <MarkId>b6e5adf5-f53d-4355-b87c-a694be5b4183</MarkId> <PaperId>d77e2493-2bac-43c2-8226-8b94f3b74bca</PaperId> <Photos>sample string 7</Photos> <StuId>sample string 3</StuId> <TimeConsuming>4</TimeConsuming> <Token>87469239-aa40-43e4-9370-f3d37d53d5d1</Token> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfExaminationProcessMinRecordDtov3CTEUQJ>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Token":"87469239-aa40-43e4-9370-f3d37d53d5d1","PaperId":"d77e2493-2bac-43c2-8226-8b94f3b74bca","StuId":"sample string 3","AnswerArray":{"ReTestId":"1b2e890d-46b8-424b-9c72-c995783a6ae0","MyAnswer":"sample string 2","Score":3.1,"FilePath":"sample string 4","ScoreRate":"sample string 5"},"MarkId":"b6e5adf5-f53d-4355-b87c-a694be5b4183","TimeConsuming":4,"AddTimeLength":5,"AutoSubmit":true,"Photos":"sample string 7","AnswerBatchId":"b783801a-cf55-4ee5-8428-8d0c71715a1c"}});