POST HTE/CreateHTEForPaper

根据一个作业创建另一个作业

Request Information

URI Parameters

None.

Body Parameters

创建试卷根据试卷DTO

CreateHTEForPaperDTO
NameDescriptionTypeAdditional information
HteName

作业名称

string

None.

HteId

作业ID

integer

None.

CourseId

课程ID

integer

None.

UserId

用户ID

integer

None.

HteType

作业类型

HTEType

None.

StartTime

开始时间

date

None.

EndTime

结束时间

date

None.

Request Formats

application/json, text/json

Sample:
{
  "HteName": "sample string 1",
  "HteId": 2,
  "CourseId": 3,
  "UserId": 4,
  "HteType": 0,
  "StartTime": "2020-04-01T11:59:30.4337708+08:00",
  "EndTime": "2020-04-01T11:59:30.4337708+08:00"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Int64.

integer

Response Formats

application/json, text/json

Sample:
1