Get station
getStationPermiso read
One «puesto» (station) as the live board reads it now: «operación», seated «operario», current «referencia», units this hour and today.
/v1/external/organizations/{organizationId}/stations/{stationId}Answers one «puesto», a numbered station of a «módulo», as its card on the «Tablero en tiempo real» reads now: the «operación» sewn there (name), its place in the «módulo» (position), the seated «operario» (operator, null when empty), the «referencia» it is on (currentReference, null when none) and its counts.
Each «puesto» is read as the «Tablero en tiempo real» reads it now: unitsThisHour and hourGoal are units of the hour currentHour names, unitsToday units of the plant day today names, color the «semáforo» (GRAY, RED, YELLOW, GREEN), pausedAt an ISO 8601 UTC instant, and currentReference.price money per unit in the organization’s currency (getOrganization.currency).
The answer carries no today or currentHour: read them from getSettings. Every day and hour is on the plant’s own clock, its «zona horaria» (getSettings.timezone, an IANA name), never UTC and never the caller’s.
stationId comes from listStations, listOrganizationStations or getFloor, or from the station.id of an «operario» (listOperators, getOperator). A «puesto» is station in this API’s paths and answers, and OPERATION in its error code.
Not paged: the whole answer comes in one response.
Plan: on every plan, Light included. A «token de API» reads it in any organization the user who created it belongs to; a connected AI app (a «conexión») reads it only where the organization has «Conectar con IA» (getPlan.features.aiConnector, a Pro feature), and answers 403 PLAN_LIMIT elsewhere.
Rate limit: one request of the credential’s ordinary budget in this organization (getPlan answers the numbers); past it, 429 RATE_LIMITED with Retry-After in seconds.
Autorización
apiToken An API token created in Configuración › Tokens de API, or a connected app’s access token
En: header
Parámetros de ruta
The «puesto»: an id of listStations, listOrganizationStations or getFloor, or the station.id of an «operario». Named operationId where a route filters by it.
The organization, from getMe or listOrganizations.
Respuestas
application/json
application/json
curl -X GET "https://api.fluenta.io/v1/external/organizations/0/stations/0" \ -H "Authorization: Bearer fluenta_live_XXXX"{ "id": 0, "name": "string", "position": 0, "moduleId": 0, "isBilling": true, "isEntry": true, "isRework": true, "operator": { "id": 0, "name": "string", "active": true }, "operatorActive": true, "pausedAt": "2019-08-24T14:15:22Z", "currentReference": { "id": 0, "name": "string", "stationGoal": 0, "price": 0 }, "currentStep": 0, "stepUnitsToday": { "whole": 0, "step1": 0, "step2": 0 }, "goalReference": 0, "hourGoal": 0, "unitsThisHour": 0, "unitsToday": 0, "color": "GRAY", "total": 0, "totalCompleted": 0, "remaining": 0, "reworkCurrent": 0, "reworkTotal": 0}