GET api/testpaper/exambegin?paperId={paperId}

开始考试接口 触发该接口后应该定时间触发 “api/testpaper/updateexaminationprocesstime” 此接口,以更新学生考试时间

Request Information

URI Parameters

NameDescriptionTypeAdditional information
paperId

试卷编号

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

开始考试接口 触发该接口后应该定时间触发 “api/testpaper/updateexaminationprocesstime” 此接口,以更新学生考试时间

JsonRtnDtoOfExaminationBeginResultDto
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

ExaminationBeginResultDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "Token": "aeeecbdf-0478-476f-b6c5-c8eea97d6bee",
    "PaperId": "a0760211-3da8-433d-be24-1263a269bee4",
    "StuId": "sample string 3",
    "TempAnswer": "sample string 4",
    "TempMark": "sample string 5",
    "TimeConsuming": 6,
    "AddTimeLength": 7,
    "AnswerBatchId": "30f9d2c6-7f8c-4f4a-8dc9-7c414d6aae72",
    "RequireCamera": true,
    "BeginAnswerTime": "2024-09-25T00:09:39.6874748+08:00",
    "OwnEndTime": "2024-09-25T00:09:39.6874748+08:00",
    "ScreenCutoutNum": 1
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"Token":"aeeecbdf-0478-476f-b6c5-c8eea97d6bee","PaperId":"a0760211-3da8-433d-be24-1263a269bee4","StuId":"sample string 3","TempAnswer":"sample string 4","TempMark":"sample string 5","TimeConsuming":6,"AddTimeLength":7,"AnswerBatchId":"30f9d2c6-7f8c-4f4a-8dc9-7c414d6aae72","RequireCamera":true,"BeginAnswerTime":"2024-09-25T00:09:39.6874748+08:00","OwnEndTime":"2024-09-25T00:09:39.6874748+08:00","ScreenCutoutNum":1}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfExaminationBeginResultDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>
    <AddTimeLength>7</AddTimeLength>
    <AnswerBatchId>30f9d2c6-7f8c-4f4a-8dc9-7c414d6aae72</AnswerBatchId>
    <BeginAnswerTime>2024-09-25T00:09:39.6874748+08:00</BeginAnswerTime>
    <OwnEndTime>2024-09-25T00:09:39.6874748+08:00</OwnEndTime>
    <PaperId>a0760211-3da8-433d-be24-1263a269bee4</PaperId>
    <RequireCamera>true</RequireCamera>
    <StuId>sample string 3</StuId>
    <TempAnswer>sample string 4</TempAnswer>
    <TempMark>sample string 5</TempMark>
    <TimeConsuming>6</TimeConsuming>
    <Token>aeeecbdf-0478-476f-b6c5-c8eea97d6bee</Token>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfExaminationBeginResultDtov3CTEUQJ>

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Token":"aeeecbdf-0478-476f-b6c5-c8eea97d6bee","PaperId":"a0760211-3da8-433d-be24-1263a269bee4","StuId":"sample string 3","TempAnswer":"sample string 4","TempMark":"sample string 5","TimeConsuming":6,"AddTimeLength":7,"AnswerBatchId":"30f9d2c6-7f8c-4f4a-8dc9-7c414d6aae72","RequireCamera":true,"BeginAnswerTime":"2024-09-25T00:09:39.6874748+08:00","OwnEndTime":"2024-09-25T00:09:39.6874748+08:00","ScreenCutoutNum":1}});