Skip to content

Seat Quota Plan ​

hostel.seat_quota_plan · every change is kept in the audit log · numbered {academic_year}-{name}

Fields ​

Every record also has id, created_at and updated_at.

FieldLabelTypeRules
academic_yearacademic yearlink → core.academic_yearrequired
namenametextrequired
hostelhostellink → hostel.hostel
total_seatstotal seatsnumberrequired; min 0
by_genderby gendercheckdefault false
by_collegeby collegecheckdefault false
by_courseby coursecheckdefault false
by_categoryby categorycheckdefault false
by_university_typeby university typecheckdefault false
is_activeis activecheckdefault false
quotasquotastable of seat_quota

Unique together: academic_year + name

Permissions ​

RoleCan
hostel:adminread, create, update, delete, import, export
hostel:wardenread — only rows in the user's scope (via hostel)
hostel:accountsread

API ​

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

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

Edulab Bench developer documentation