Available Endpoints
Generate Report
Generate and download Excel report with actual and estimated data
Authentication
All reports endpoints require authentication using a JWT token stored in theaccess_token cookie. The user must have appropriate role permissions to access these endpoints.
Report Structure
The generated Excel file contains two sheets:Sheet 1: Reporte (Actual Report)
Contains actual reservation data from theREPORT table, ordered by date (FECHA).
Sheet 2: Reporte_Estimado (Estimated Report)
Contains projected reservation data from theestimated_report table, ordered by date (FECHA).
File Format
Reports are generated in.xlsx format (Excel 2007+) and downloaded as report.xlsx. The file is served with the MIME type:
Use Cases
- Export reservation data for analysis
- Generate financial reports
- Compare actual vs. estimated reservation metrics
- Archive historical data