Appearance
Room Type Amenity
hostel.room_type_amenity · child table of Room Type
Fields
Every record also has id, created_at and updated_at and parent.
| Field | Label | Type | Rules |
|---|---|---|---|
amenity | amenity | link → hostel.amenity | required |
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/room_type_amenity?<field>=<value>&limit=100&offset=0
POST /api/hostel/room_type_amenity
GET /api/hostel/room_type_amenity/:id
PATCH /api/hostel/room_type_amenity/:id
DELETE /api/hostel/room_type_amenity/:idBulk import: GET /api/_import/hostel/room_type_amenity/template (CSV template), then POST /api/_import/hostel/room_type_amenity. See REST API.