Appearance
Mess Plan
hostel.mess_plan · numbered {name}
Fields
Every record also has id, created_at and updated_at.
| Field | Label | Type | Rules |
|---|---|---|---|
name | name | text | required; unique |
food_type | food type | select | required; one of: Veg, Non-veg |
amount | amount | money | required |
is_active | is active | check | default true |
Permissions
| Role | Can |
|---|---|
hostel:admin | read, create, update, delete, import, export |
hostel:warden | read |
hostel:accounts | read |
hostel:student | read |
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/:idBulk import: GET /api/_import/hostel/mess_plan/template (CSV template), then POST /api/_import/hostel/mess_plan. See REST API.