Saltar al contenido principal
GET
/
v1
/
production
/
resources
/
{resourceReference}
/
oee
/
report
Get period-grouped OEE metrics for a resource
curl --request GET \
  --url https://api.bold-factory.com/v1/production/resources/{resourceReference}/oee/report \
  --header 'Authorization: Bearer <token>'
{
  "workstation": {
    "id": "<string>",
    "externalReference": "<string>",
    "name": "<string>",
    "description": "<string>",
    "areaId": "<string>",
    "area": {
      "id": "<string>",
      "externalReference": "<string>",
      "name": "<string>",
      "description": "<string>",
      "parentId": "<string>",
      "parent": null,
      "deletedAt": "2023-11-07T05:31:56Z",
      "createdAt": "2023-11-07T05:31:56Z",
      "createdBy": "<string>",
      "lastModifiedAt": "2023-11-07T05:31:56Z",
      "lastModifiedBy": "<string>"
    },
    "autocompleteOperations": true,
    "infiniteCapacity": true,
    "deletedAt": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z",
    "createdBy": "<string>",
    "lastModifiedAt": "2023-11-07T05:31:56Z",
    "lastModifiedBy": "<string>"
  },
  "year": 123,
  "month": 123,
  "timeZoneId": "<string>",
  "from": "2023-11-07T05:31:56Z",
  "to": "2023-11-07T05:31:56Z",
  "periods": [
    {
      "key": "<string>",
      "label": "<string>",
      "from": "2023-11-07T05:31:56Z",
      "to": "2023-11-07T05:31:56Z",
      "kpis": {
        "occupancy": 123,
        "availability": 123,
        "performance": 123,
        "quality": 123,
        "oee": 123
      }
    }
  ],
  "previousPeriodAverage": {
    "occupancy": 123,
    "availability": 123,
    "performance": 123,
    "quality": 123,
    "oee": 123
  }
}

Autorizaciones

Authorization
string
header
requerido

Use a valid JWT token in the Authorization header with the format 'Bearer {token}'

Parámetros de ruta

resourceReference
string
requerido

Parámetros de consulta

reportType
enum<string>
Opciones disponibles:
Monthly,
Yearly
year
integer<int32>
month
integer<int32>
timeZoneId
string

Respuesta

OK

workstation
object
requerido
reportType
enum<string>
requerido
Opciones disponibles:
Monthly,
Yearly
year
integer<int32>
requerido
month
null | integer<int32>
requerido
timeZoneId
string
requerido
from
string<date-time>
requerido
to
string<date-time>
requerido
periods
object[]
requerido
previousPeriodAverage
object
requerido