Routes verified from the controller 2026-07-21. Class-level [Authorize]; report permissions gate access. Report responses emit the Paginator<T> envelope (server-driven-tables).
[Admin/Reports] (26)| Method | Route | Purpose |
|---|---|---|
| GET | View/Generate |
Report generation bootstrap. |
| GET | View/Builder |
The custom report builder. |
| POST | View/Preview |
Preview a report. |
| GET | View/Custom |
A saved custom report. |
| POST | View/Preview_Custom |
Preview a custom report. |
| GET | View/Employee_Summary |
Employee Summary report. |
| GET | View/Custom_Fields |
Custom Fields report. |
| GET | View/Performance_Review |
Performance Review report. |
| GET | View/Statutory_Payments |
Statutory payments report. |
| GET | View/Schedule |
Report scheduling. |
| Method | Route | Purpose |
|---|---|---|
| GET | GetDateRanges · GetDatePeriods |
Date options. |
| GET | GetGroupingTypes |
Grouping options. |
| GET | GetPayrolls |
Payroll selector. |
| GET | GetCustomValues · SelectCustom |
Custom-report values / list. |
| GET | Check |
Validation. |
| Method | Route | Purpose |
|---|---|---|
| POST | Save_Template |
Save a custom report as a template. |
| POST | Update_Template · Update_Template_Name |
Edit / rename. |
| POST | Delete_Template |
Delete. |
| Method | Route | Purpose |
|---|---|---|
| POST | View/Download · View/Download_Custom |
Download a report / custom report. |
| GET | View/Download_Statutory_Payments_Csv_File · ..._Xls_File |
Statutory CSV/XLS (filing format). |
| GET | View/Download_Statement_Csv_File |
Statement CSV. |
[Control/Analytics]Internal PaidHR cross-tenant analytics (ControlAnalyticService, e.g. TopPayrollCompaniesContainer). Control Admin tier — not tenant-facing.
DataSynchronizationService (30s) → Warehouse (Stores + Containers)
AdminReportService reads Warehouse → Paginator<T> envelope → frontend table
Reports read WarehouseDbContext, not the live TenantDb — data is eventually consistent (~30s). (RFD-002)
Authorization: Bearer <token>; tenant from claims (Identity). Warehouse data is CompanyId-scoped.