POST HTE/CreateFullHTE

创建一个完整作业

Request Information

URI Parameters

None.

Body Parameters

创建完整作业DTO

CreateFullHTEDTO
NameDescriptionTypeAdditional information
HteName

作业名称

string

None.

Generatetype

手动自动

GenerateType

None.

HTEType

作业类型

HTEType

None.

Exercises

包含习题

Collection of IncludeExerciseDto

None.

CourseId

课程ID

integer

None.

UserId

创建人ID

integer

None.

StartTime

开始时间

date

None.

EndTime

结束时间

date

None.

Request Formats

application/json, text/json

Sample:
{
  "HteName": "sample string 1",
  "Generatetype": 0,
  "HTEType": 0,
  "Exercises": [
    {
      "ExerciseId": 1,
      "Sequence": 2,
      "Score": 3.1,
      "ElementId": 4
    },
    {
      "ExerciseId": 1,
      "Sequence": 2,
      "Score": 3.1,
      "ElementId": 4
    }
  ],
  "CourseId": 2,
  "UserId": 3,
  "StartTime": "2020-03-29T10:13:15.9539047+08:00",
  "EndTime": "2020-03-29T10:13:15.9539047+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