GET api/answercard/examstartandsettoken?PaperId={PaperId}&StuId={StuId}

开始考试并设置token

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PaperId

试卷id

globally unique identifier

Required

StuId

学号

string

Required

Body Parameters

None.

Response Information

Resource Description

开始考试并设置token

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": "ec433380-e3ba-42d2-9089-aec401cb08de",
    "PaperId": "47c2e315-753c-41dc-bd25-a979c5bac55f",
    "StuId": "sample string 3",
    "TempAnswer": "sample string 4",
    "TempMark": "sample string 5",
    "TimeConsuming": 6,
    "AddTimeLength": 7,
    "AnswerBatchId": "b1b57c65-08ab-41aa-a914-2c5c52eca34b",
    "RequireCamera": true,
    "BeginAnswerTime": "2024-09-25T00:08:50.062262+08:00",
    "OwnEndTime": "2024-09-25T00:08:50.062262+08:00",
    "ScreenCutoutNum": 1
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"Token":"ec433380-e3ba-42d2-9089-aec401cb08de","PaperId":"47c2e315-753c-41dc-bd25-a979c5bac55f","StuId":"sample string 3","TempAnswer":"sample string 4","TempMark":"sample string 5","TimeConsuming":6,"AddTimeLength":7,"AnswerBatchId":"b1b57c65-08ab-41aa-a914-2c5c52eca34b","RequireCamera":true,"BeginAnswerTime":"2024-09-25T00:08:50.062262+08:00","OwnEndTime":"2024-09-25T00:08:50.062262+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>b1b57c65-08ab-41aa-a914-2c5c52eca34b</AnswerBatchId>
    <BeginAnswerTime>2024-09-25T00:08:50.062262+08:00</BeginAnswerTime>
    <OwnEndTime>2024-09-25T00:08:50.062262+08:00</OwnEndTime>
    <PaperId>47c2e315-753c-41dc-bd25-a979c5bac55f</PaperId>
    <RequireCamera>true</RequireCamera>
    <StuId>sample string 3</StuId>
    <TempAnswer>sample string 4</TempAnswer>
    <TempMark>sample string 5</TempMark>
    <TimeConsuming>6</TimeConsuming>
    <Token>ec433380-e3ba-42d2-9089-aec401cb08de</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":"ec433380-e3ba-42d2-9089-aec401cb08de","PaperId":"47c2e315-753c-41dc-bd25-a979c5bac55f","StuId":"sample string 3","TempAnswer":"sample string 4","TempMark":"sample string 5","TimeConsuming":6,"AddTimeLength":7,"AnswerBatchId":"b1b57c65-08ab-41aa-a914-2c5c52eca34b","RequireCamera":true,"BeginAnswerTime":"2024-09-25T00:08:50.062262+08:00","OwnEndTime":"2024-09-25T00:08:50.062262+08:00","ScreenCutoutNum":1}});