POST course/post_change_class

提交调课申请

Request Information

URI Parameters

None.

Body Parameters

ChangeClassViewModel
NameDescriptionTypeAdditional information
class_from_id

integer

None.

class_to_id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "class_from_id": 1,
  "class_to_id": 2
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ChangeClassViewModel'.

Response Information

Resource Description

提交调课申请

BaseResponse
NameDescriptionTypeAdditional information
code

integer

None.

message

string

None.

success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "message": "sample string 2",
  "success": true
}