Overview
The room availability feature helps you find suitable classrooms based on course requirements, student capacity, and time constraints. The system applies multiple validation rules to ensure only compatible rooms are returned.How It Works
When checking room availability, the system validates three main constraints:- Capacity: Room must accommodate the number of students
- Compatibility: Room type must match course type (e.g., lab courses need lab rooms)
- Availability: Room must not be occupied or reserved at the requested time
The availability check considers all reservations regardless of semester, but you can filter results by semester.
Quick Start
Prepare Request Data
Gather the required information:
- Course ID (e.g.,
A003) - Time slot (day, start time, end time)
- Number of students
- Semester
API Request
Endpoint
Request Body
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
asignatura_id | string | Yes | Course identifier (e.g., “A003”) |
hora_inicio | string | Yes | Start time in HH:MM format (e.g., “14:00”) |
hora_fin | string | Yes | End time in HH:MM format (e.g., “17:00”) |
dia | string | Yes | Day of the week (Lunes, Martes, Miércoles, Jueves, Viernes, Sábado, Domingo) |
cantidad_estudiantes | integer | Yes | Number of students (must be > 0) |
semestre | integer | Yes | Academic semester (1-10) |
Response Format
Understanding Rejection Reasons
Capacity Constraints
Compatibility Constraints
- Laboratorio courses require laboratorio rooms
- Teorica courses can use teorica or hibrida rooms
- Hibrida courses can use hibrida rooms
Availability Constraints
Common Use Cases
Check Multiple Time Slots
To find the best available room, check multiple time slots:Filter by Campus/Sede
Filter available rooms by campus location:Check Required Resources
Verify that available rooms have required resources:Error Handling
Best Practices
Check Early
Check room availability well in advance to ensure you have options. Popular time slots fill up quickly.
Consider Buffer
Request rooms with 10-20% extra capacity for flexibility and comfort.
Multiple Options
Check multiple time slots and days to find the best fit for your schedule.
Verify Resources
Always verify that available rooms have the required equipment and resources.
Next Steps
Reserve a Room
Learn how to create reservations for available rooms
Constraint Validation
Understand how the validation chain works