GET /api/dashboard
Returns a flat map of KPI counters useful for building a summary dashboard. This endpoint does not use theApiResponse<T> wrapper — it returns the map directly.
The date window for “expiring soon” is the next 7 days from the current server date.
Response fields
Count of inventory records whose
fechaCaducidad is before today (already expired).Count of inventory records whose
fechaCaducidad falls within the next 7 days.Sum of the
cantidad column across all inventory records.Total number of CEDIS reception records in the database.
Total number of supplier reception records in the database.
Count of RPC control records where
pendienteRetorno is true.