Skip to content

API ​

All endpoints are on the university's own address, e.g. https://<university>.<platform domain>, and need a logged-in user. Each call only returns and changes what the user's roles allow (roles).

EntityEndpoint
Room Allotment/api/hostel/allotment
Amenity/api/hostel/amenity
Hostel Application/api/hostel/application
Attendance/api/hostel/attendance
Hostel Cancellation/api/hostel/cancellation
Complaint/api/hostel/complaint
Complaint Comment/api/hostel/complaint_comment
Hostel Fee Head/api/hostel/fee_head
Hostel Fee Template/api/hostel/fee_template
Guest Stay/api/hostel/guest_stay
Hostel/api/hostel/hostel
Hostel Amenity/api/hostel/hostel_amenity
Hostel Semester Rule/api/hostel/hostel_semester_rule
Hostel Staff Assignment/api/hostel/hostel_staff
Leave / Gate Pass/api/hostel/leave_request
Mess Menu Item/api/hostel/mess_menu_item
Mess Plan/api/hostel/mess_plan
Resident Profile/api/hostel/resident_profile
Room/api/hostel/room
Room Type/api/hostel/room_type
Room Type Amenity/api/hostel/room_type_amenity
Seat Quota/api/hostel/seat_quota
Seat Quota Plan/api/hostel/seat_quota_plan

Events ​

DirectionEvent
emitshostel.application.submitted
emitshostel.application.approved
emitshostel.application.rejected
emitshostel.allotment.created
emitshostel.allotment.vacated
emitshostel.cancellation.created
listens tofees.payment.received

Settings ​

Each university sets these from its admin screen.

SettingTypeDefaultLabel
allotmentNeedsFeechecktrueAllot a bed only after the hostel fee is paid
selfBedSelectionEnabledcheckfalseStudents may pick their own room and bed (per-hostel semesters in Hostel > Semester rules)
seatReservationEnabledcheckfalseEnforce the active seat quota plan on student bookings
openPaymentSemestersEnabledcheckfalseRestrict payable semesters to those opened per hostel (Hostel > Semester rules)
holdOtherApplicationschecktruePut a student's other applications on hold once one is accepted
semestersPerYearnumber2Semesters per year of study (used for fee and bed-selection rules)
paymentLinkValidHoursnumber48Hours an office-issued payment link stays valid

Edulab Bench developer documentation