Skip to main content

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.

workOrderIdstring

Work order identifier.

Example: 6073
workOrderNumberstring

Human-readable work order number.

Example: WO-2025-0042
statusstring

Current 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]

Example: scheduled
dueDatestring<date>

Work order due date (ISO 8601).

Example: 2025-04-15
productionTasks object[]

The scheduled production tasks for this work order. A work order can have multiple tasks across different production lines or time slots.

  • Array [
  • taskIdstring

    Production task identifier.

    Example: 8291
    namestring

    Task name.

    Example: Batch 1 - Mixing
    taskTypestring

    Type 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]

    Example: work_order
    sequenceNumberinteger

    Order in which this task should be executed within the work order.

    Example: 1
    productionLineIdstring

    Assigned production line identifier.

    Example: 12
    productionLineNamestring

    Display name of the production line.

    Example: Line A - Mixing
    plannedStartDateTimestring<date-time>

    Scheduled start time (ISO 8601).

    Example: 2025-04-10T08:00:00Z
    plannedEndDateTimestring<date-time>

    Scheduled end time (ISO 8601).

    Example: 2025-04-10T14:00:00Z
    plannedDurationMinutesnumber

    Planned duration in minutes.

    Example: 360
    operators object[]

    Operators assigned to this production task.

  • Array [
  • operatorIdstring

    Operator identifier.

    Example: usr-00412
    operatorNamestring

    Display name of the operator.

    Example: Maria Garcia
    assignmentTypestring

    Role 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]

    Example: operator
    assignedAtstring<date-time>

    When the operator was assigned (ISO 8601).

    Example: 2025-04-08T10:30:00Z
  • ]
  • ]
  • WorkOrderSchedule
    {
    "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"
    }
    ]
    }
    ]
    }