Get OEE metrics for a workstation in a timeframe
curl --request GET \
--url https://api.bold-factory.com/v1/production/workstations/{workstationReference}/oee \
--header 'Authorization: Bearer <token>'{
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z",
"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>"
},
"totals": {
"totalTimeSeconds": 123,
"scheduledTimeSeconds": 123,
"plannedDowntimeSeconds": 123,
"plannedProductionTimeSeconds": 123,
"runningSeconds": 123,
"unplannedDowntimeSeconds": 123,
"idleSeconds": 123,
"runningOutOfScheduleSeconds": 123,
"occupancy": 123,
"availability": 123,
"performance": 123,
"quality": 123,
"oee": 123
},
"timeline": [
{
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z",
"totalElapsedSeconds": 123,
"relevantDetails": {
"maintenance": [
"<string>"
],
"interruptions": [
"<string>"
],
"operations": [
"<string>"
]
},
"ignoredDetails": {
"maintenance": [
"<string>"
],
"interruptions": [
"<string>"
],
"operations": [
"<string>"
]
}
}
],
"operations": [
{
"orderId": "<string>",
"orderCode": "<string>",
"sku": {
"id": "<string>",
"externalReference": "<string>",
"code": "<string>",
"name": "<string>",
"status": "<string>",
"productId": "<string>",
"managesLots": true,
"unit": {
"id": "<string>",
"code": "<string>",
"name": "<string>"
},
"displayDecimalPlaces": 123
},
"operationId": "<string>",
"name": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"operationPercentageInSchedule": 123,
"operationPercentageOutOfSchedule": 123,
"theoreticalSecondsInSchedule": 123,
"realSecondsInSchedule": 123,
"realSecondsOutOfSchedule": 123,
"performance": 123,
"goodUnitsInSchedule": 123,
"rejectedUnitsInSchedule": 123,
"goodUnitsOutOfSchedule": 123,
"quality": 123
}
],
"unplannedDowntime": {
"maintenance": [
{
"workOrderId": "<string>",
"workOrderCode": "<string>",
"causeName": "<string>",
"planned": true,
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"totalElapsedSeconds": 123
}
],
"interruptions": [
{
"interruptionId": "<string>",
"interruptionTypeId": "<string>",
"interruptionName": "<string>",
"operationId": "<string>",
"operationName": "<string>",
"comments": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"totalElapsedSeconds": 123
}
]
},
"plannedDowntime": {
"maintenance": [
{
"workOrderId": "<string>",
"workOrderCode": "<string>",
"causeName": "<string>",
"planned": true,
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"totalElapsedSeconds": 123
}
],
"interruptions": [
{
"interruptionId": "<string>",
"interruptionTypeId": "<string>",
"interruptionName": "<string>",
"operationId": "<string>",
"operationName": "<string>",
"comments": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"totalElapsedSeconds": 123
}
]
}
}Workstations
Get OEE metrics for a workstation in a timeframe
Requires Production.Workstations.Read, Production.Orders.Read and Maintenance.WorkOrders.Read permissions
GET
/
v1
/
production
/
workstations
/
{workstationReference}
/
oee
Get OEE metrics for a workstation in a timeframe
curl --request GET \
--url https://api.bold-factory.com/v1/production/workstations/{workstationReference}/oee \
--header 'Authorization: Bearer <token>'{
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z",
"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>"
},
"totals": {
"totalTimeSeconds": 123,
"scheduledTimeSeconds": 123,
"plannedDowntimeSeconds": 123,
"plannedProductionTimeSeconds": 123,
"runningSeconds": 123,
"unplannedDowntimeSeconds": 123,
"idleSeconds": 123,
"runningOutOfScheduleSeconds": 123,
"occupancy": 123,
"availability": 123,
"performance": 123,
"quality": 123,
"oee": 123
},
"timeline": [
{
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z",
"totalElapsedSeconds": 123,
"relevantDetails": {
"maintenance": [
"<string>"
],
"interruptions": [
"<string>"
],
"operations": [
"<string>"
]
},
"ignoredDetails": {
"maintenance": [
"<string>"
],
"interruptions": [
"<string>"
],
"operations": [
"<string>"
]
}
}
],
"operations": [
{
"orderId": "<string>",
"orderCode": "<string>",
"sku": {
"id": "<string>",
"externalReference": "<string>",
"code": "<string>",
"name": "<string>",
"status": "<string>",
"productId": "<string>",
"managesLots": true,
"unit": {
"id": "<string>",
"code": "<string>",
"name": "<string>"
},
"displayDecimalPlaces": 123
},
"operationId": "<string>",
"name": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"operationPercentageInSchedule": 123,
"operationPercentageOutOfSchedule": 123,
"theoreticalSecondsInSchedule": 123,
"realSecondsInSchedule": 123,
"realSecondsOutOfSchedule": 123,
"performance": 123,
"goodUnitsInSchedule": 123,
"rejectedUnitsInSchedule": 123,
"goodUnitsOutOfSchedule": 123,
"quality": 123
}
],
"unplannedDowntime": {
"maintenance": [
{
"workOrderId": "<string>",
"workOrderCode": "<string>",
"causeName": "<string>",
"planned": true,
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"totalElapsedSeconds": 123
}
],
"interruptions": [
{
"interruptionId": "<string>",
"interruptionTypeId": "<string>",
"interruptionName": "<string>",
"operationId": "<string>",
"operationName": "<string>",
"comments": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"totalElapsedSeconds": 123
}
]
},
"plannedDowntime": {
"maintenance": [
{
"workOrderId": "<string>",
"workOrderCode": "<string>",
"causeName": "<string>",
"planned": true,
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"totalElapsedSeconds": 123
}
],
"interruptions": [
{
"interruptionId": "<string>",
"interruptionTypeId": "<string>",
"interruptionName": "<string>",
"operationId": "<string>",
"operationName": "<string>",
"comments": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"totalElapsedSeconds": 123
}
]
}
}Autorizaciones
JWTApiKey
Use a valid JWT token in the Authorization header with the format 'Bearer {token}'
Parámetros de ruta
Respuesta
OK
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I