Skip to content

Holiday ​

hrms.holiday

Fields ​

Every record also has id, created_at and updated_at.

FieldLabelTypeRules
datedatedaterequired
holiday_nameholiday nametextrequired
typetypeselectone of: Gazetted Holiday, Restricted Holiday, Floating Holiday; default "Gazetted Holiday"
activeactivecheckdefault true

Unique together: date + holiday_name

Permissions ​

RoleCan
hrms:adminread, create, update, delete
hrms:payrollread
hrms:managerread
hrms:employeeread

API ​

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

Edulab Bench developer documentation