WorkOrderSchedule
The production schedule for a work order. Contains one or more production tasks, each representing a scheduled time slot on a production line with assigned operators.
Work order identifier.
6073Human-readable work order number.
WO-2025-0042Current work order status: draft — initial creation. created — saved but not yet scheduled. scheduled — production tasks have been planned. in_progress — production has started. paused — production temporarily halted. completed — production finished. cancelled — work order was cancelled.
Possible values: [draft, created, scheduled, in_progress, paused, completed, cancelled]
scheduledWork order due date (ISO 8601).
2025-04-15productionTasks object[]
The scheduled production tasks for this work order. A work order can have multiple tasks across different production lines or time slots.
Production task identifier.
8291Task name.
Batch 1 - MixingType of task: work_order — production run for a work order. maintenance — scheduled equipment maintenance. cleaning — line cleaning or sanitation.
Possible values: [work_order, maintenance, cleaning]
work_orderOrder in which this task should be executed within the work order.
1Assigned production line identifier.
12Display name of the production line.
Line A - MixingScheduled start time (ISO 8601).
2025-04-10T08:00:00ZScheduled end time (ISO 8601).
2025-04-10T14:00:00ZPlanned duration in minutes.
360operators object[]
Operators assigned to this production task.
Operator identifier.
usr-00412Display name of the operator.
Maria GarciaRole in which this person is assigned: operator — production worker. supervisor — shift or line supervisor. qc_inspector — quality control inspector.
Possible values: [operator, supervisor, qc_inspector]
operatorWhen the operator was assigned (ISO 8601).
2025-04-08T10:30:00Z{
"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"
}
]
}
]
}