Skip to content

Hostel Amenity ​

hostel.hostel_amenity · child table of Hostel

Fields ​

Every record also has id, created_at and updated_at and parent.

FieldLabelTypeRules
amenityamenitylink → hostel.amenityrequired

Permissions ​

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

API ​

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

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

Edulab Bench developer documentation