Skip to content

Mess Plan ​

hostel.mess_plan · numbered {name}

Fields ​

Every record also has id, created_at and updated_at.

FieldLabelTypeRules
namenametextrequired; unique
food_typefood typeselectrequired; one of: Veg, Non-veg
amountamountmoneyrequired
is_activeis activecheckdefault true

Permissions ​

RoleCan
hostel:adminread, create, update, delete, import, export
hostel:wardenread
hostel:accountsread
hostel:studentread

API ​

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

Bulk import: GET /api/_import/hostel/mess_plan/template (CSV template), then POST /api/_import/hostel/mess_plan. See REST API.

Edulab Bench developer documentation