POST api/ExaminationManage/ReStartExamination

Request Information

URI Parameters

None.

Body Parameters

RestartExaminationDto
NameDescriptionTypeAdditional information
id

integer

None.

paper_name

string

None.

start_time

date

None.

end_time

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "paper_name": "sample string 2",
  "start_time": "2024-11-25T16:18:55.160195+08:00",
  "end_time": "2024-11-25T16:18:55.160195+08:00"
}

application/xml, text/xml

Sample:
<RestartExaminationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnAPI.ViewModel">
  <end_time>2024-11-25T16:18:55.160195+08:00</end_time>
  <id>1</id>
  <paper_name>sample string 2</paper_name>
  <start_time>2024-11-25T16:18:55.160195+08:00</start_time>
</RestartExaminationDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseResponse
NameDescriptionTypeAdditional information
msg

string

None.

code

integer

None.

total

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "msg": "sample string 1",
  "code": 2,
  "total": 3
}

application/xml, text/xml

Sample:
<BaseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnAPI">
  <code>2</code>
  <msg>sample string 1</msg>
  <total>3</total>
</BaseResponse>