cURL
curl --request GET \ --url https://api.example.com/api/DashBoard/Resumen
{ "status": true, "value": { "totalVentas": 123, "totalIngresos": "<string>", "totalProductos": 123, "ventasUltimaSemana": [ { "fecha": "<string>", "total": 123 } ] }, "msg": "<string>" }
GET /api/DashBoard/Resumen
Show DashBoardDTO properties
Show VentasSemanaDTO properties
curl -X GET "https://api.example.com/api/DashBoard/Resumen" \ -H "Content-Type: application/json"
{ "status": true, "value": { "totalVentas": 156, "totalIngresos": "$45,230.50", "totalProductos": 89, "ventasUltimaSemana": [ { "fecha": "2026-03-01", "total": 12 }, { "fecha": "2026-03-02", "total": 18 }, { "fecha": "2026-03-03", "total": 15 }, { "fecha": "2026-03-04", "total": 22 }, { "fecha": "2026-03-05", "total": 20 } ] }, "msg": null }
{ "status": false, "value": null, "msg": "Error retrieving dashboard summary" }