Appearance
Weekly Timetable Slot
lms.timetable_slot · every change is kept in the audit log
Fields
Every record also has id, created_at and updated_at.
| Field | Label | Type | Rules |
|---|---|---|---|
faculty | faculty | link → core.user | required |
subject | subject | link → core.subject | required |
batch | batch | link → lms.batch | |
division | division | link → lms.division | |
cohort | cohort | link → lms.cohort | |
semester_number | semester number | number | min 1; max 12 |
college | college | link → core.college | required |
day_of_week | day of week | select | required; one of: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday |
start_time | start time | time | required |
end_time | end time | time | required |
valid_from | valid from | date | required |
valid_to | valid to | date | |
classroom | classroom | link → lms.classroom | |
mode | mode | select | one of: Offline, Online, Lab, Seminar; default "Offline" |
is_active | is active | check | default true |
Permissions
| Role | Can |
|---|---|
lms:admin | read, create, update, delete |
lms:college_admin | read, create, update, delete |
lms:hod | read, create, update, delete |
lms:faculty | read |
lms:student | read |
API
http
GET /api/lms/timetable_slot?<field>=<value>&limit=100&offset=0
POST /api/lms/timetable_slot
GET /api/lms/timetable_slot/:id
PATCH /api/lms/timetable_slot/:id
DELETE /api/lms/timetable_slot/:id