Skip to content

Holiday ​

lms.holiday

Fields ​

Every record also has id, created_at and updated_at.

FieldLabelTypeRules
titletitletextrequired; max 255 characters
holiday_typeholiday typeselectone of: General, National, Regional, College, Exam, Vacation; default "General"
start_datestart datedaterequired
end_dateend datedaterequired
collegecollegelink → core.college
programmeprogrammelink → core.programme
batchbatchlink → lms.batch
descriptiondescriptionlongtextmax 1000 characters
is_activeis activecheckdefault true

Permissions ​

RoleCan
lms:adminread, create, update, delete
lms:college_adminread, create, update, delete
lms:hodread, create, update, delete
lms:facultyread
lms:studentread
lms:parentread

API ​

http
GET    /api/lms/holiday?<field>=<value>&limit=100&offset=0
POST   /api/lms/holiday
GET    /api/lms/holiday/:id
PATCH  /api/lms/holiday/:id
DELETE /api/lms/holiday/:id

Edulab Bench developer documentation