Get day report
getDayReportPermiso read
Reportes › Eficiencia for one plant day: every módulo hour by hour, each puesto’s units, meta and efficiency.
GET
/v1/external/organizations/{organizationId}/analytics/day-reportday is optional: without it, the plant’s today on the organization’s own clock, as on every single-day route of the API externa.
Autorización
apiToken AutorizaciónBearer <token>
An API token created in Configuración › Tokens de API, or a connected app’s access token
En: header
Parámetros de ruta
organizationId*number
Parámetros de consulta
day?string
Plant day, YYYY-MM-DD on the plant’s clock. Omitted: the plant’s today, on its own clock.
Patrón
^\d{4}-\d{2}-\d{2}$Longitud
length <= 10Respuestas
application/json
application/json
curl -X GET "https://api.fluenta.io/v1/external/organizations/0/analytics/day-report" \ -H "Authorization: Bearer fluenta_live_XXXX"{ "day": "string", "modules": [ { "moduleId": 0, "moduleName": "string", "units": 0, "goal": 0, "efficiency": 0, "pausedMinutes": 0, "pauses": 0, "hours": [ { "hour": 0, "units": 0, "goal": 0, "efficiency": 0, "billedAmount": 0, "secondsPerUnit": 0, "pausedMinutes": 0, "pauses": 0, "rows": [ { "operationId": 0, "operationName": "string", "operatorId": 0, "operatorName": "string", "referenceId": 0, "referenceName": "string", "units": 0, "goal": 0, "efficiency": 0, "isBilling": true, "unitPrice": 0, "secondsPerUnit": 0 } ] } ] } ]}