POST api/testpaper/addtesttimelenth

为指定学生增加考试时长

Request Information

URI Parameters

None.

Body Parameters

AddTimeLengthDto
NameDescriptionTypeAdditional information
PaperId

试卷编号

globally unique identifier

None.

OwnEndTime

单独的结束时间

date

None.

LStuId

学生学号

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "PaperId": "08a0c5e0-e5c1-49ef-b882-9ef5869f5e01",
  "OwnEndTime": "2024-09-25T00:09:09.578064+08:00",
  "LStuId": [
    "sample string 1",
    "sample string 2"
  ]
}

text/html

Sample:
{"PaperId":"08a0c5e0-e5c1-49ef-b882-9ef5869f5e01","OwnEndTime":"2024-09-25T00:09:09.578064+08:00","LStuId":["sample string 1","sample string 2"]}

application/xml, text/xml

Sample:
<AddTimeLengthDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <LStuId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </LStuId>
  <OwnEndTime>2024-09-25T00:09:09.578064+08:00</OwnEndTime>
  <PaperId>08a0c5e0-e5c1-49ef-b882-9ef5869f5e01</PaperId>
</AddTimeLengthDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

为指定学生增加考试时长

JsonRtnDtoOfBoolean
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": true
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":true}

application/xml, text/xml

Sample:
<JsonRtnDtoOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>true</Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfboolean>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":true});