GET course/get_course_change/{id}
1、调课(获得ID),与请假共用一个方法,获取当前课程余下的所有支持换的课时,传当前课程id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
1、调课(获得ID),与请假共用一个方法,获取当前课程余下的所有支持换的课时,传当前课程id
DataResponseOfCourseWaitChangeViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| message | string |
None. |
|
| success | boolean |
None. |
|
| data | CourseWaitChangeViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"message": "sample string 2",
"success": true,
"data": {
"title": "sample string 1",
"course_id": 2,
"class_time": "sample string 3",
"class_list": [
{
"class_id": 1,
"class_time_from_str": "11月7日 05:16",
"class_time_to_str": "05:16",
"course_id": 4,
"class_status_id": 5,
"class_title": "sample string 6"
},
{
"class_id": 1,
"class_time_from_str": "11月7日 05:16",
"class_time_to_str": "05:16",
"course_id": 4,
"class_status_id": 5,
"class_title": "sample string 6"
}
]
}
}