Appearance
Seating Allocation
exam.seating_allocation
Fields
Every record also has id, created_at and updated_at.
| Field | Label | Type | Rules |
|---|---|---|---|
bench | bench | link → exam.bench | required |
position | position | number | required; min 1; max 4 |
exam_date | exam date | date | required |
start_time | start time | time | required |
end_time | end time | time | required |
exam | exam | link → exam.exam | required |
subject | subject | link → core.subject | required |
exam_form | exam form | link → exam.exam_form | required |
seat_number | seat number | text |
Unique together: bench + exam_date + start_time + position
Permissions
| Role | Can |
|---|---|
exam:super_admin | read, create, update, delete |
exam:admin | read, create, update, delete |
exam:college | read, create, update, delete |
API
http
GET /api/exam/seating_allocation?<field>=<value>&limit=100&offset=0
POST /api/exam/seating_allocation
GET /api/exam/seating_allocation/:id
PATCH /api/exam/seating_allocation/:id
DELETE /api/exam/seating_allocation/:id