Get work order schedule
GET/work-orders/:workOrderId/schedule
Returns the production schedule for a work order. A work order may have multiple production tasks scheduled across different production lines and time slots. Each task includes planned start and end times, the assigned production line, and the operators assigned to that task. Use this to understand when and where a work order is being produced, and by whom.
Request
Response
- 200
- 401
- 404
Work order schedule with production tasks
Unauthorized — missing or invalid API key
Resource not found
Response
{
"workOrderId": "6073",
"workOrderNumber": "WO-2025-0042",
"status": "scheduled",
"dueDate": "2025-04-15",
"productionTasks": [
{
"taskId": "8291",
"name": "Batch 1 - Mixing",
"taskType": "work_order",
"sequenceNumber": 1,
"productionLineId": "12",
"productionLineName": "Line A - Mixing",
"plannedStartDateTime": "2025-04-10T08:00:00Z",
"plannedEndDateTime": "2025-04-10T14:00:00Z",
"plannedDurationMinutes": 360,
"operators": [
{
"operatorId": "usr-00412",
"operatorName": "Maria Garcia",
"assignmentType": "operator",
"assignedAt": "2025-04-08T10:30:00Z"
}
]
}
]
}