Request Body
| Content-Type | Format |
| application/json |
object |
Schema
| Field | Type | Required | Description |
| date |
string |
Yes |
Lesson date in YYYY-MM-DD format |
| period |
string |
Yes |
Period |
| subject |
string |
No |
Subject |
| teacher |
string |
No |
Teacher |
| room |
string |
No |
Room |
| class_name |
string |
No |
Class Name |
| info |
string |
No |
Info |
| start_time |
string |
No |
Start Time |
| end_time |
string |
No |
End Time |
| duration |
integer |
No |
Duration |
| week_type |
any |
No |
A or B |
| course_id |
any |
No |
Course Id |
| removed |
boolean |
No |
Removed |
Example
{
"date": "<Lesson date in YYYY-MM-DD format>",
"period": "<period>",
"subject": "<subject>",
"teacher": "<teacher>",
"room": "<room>",
"class_name": "<class_name>",
"info": "<info>",
"start_time": "<start_time>",
"end_time": "<end_time>",
"duration": 0,
"week_type": "<A or B>",
"course_id": "<course_id>",
"removed": true
}