Skip to main content

Update Work Order Statuses

POST 

/organizations/:organizationId/work-orders/:workOrderId/statuses

Update Work Order Statuses

Request

Path Parameters

    organizationId stringrequired

    The ID of organization.

    workOrderId stringrequired

    The ID of organization.

Body

required
    originalStartDate numberrequired

    The original start date in milliseconds since epoch.

    originalEndDate numberrequired

    The original end date in milliseconds since epoch.

    startDate numberrequired

    The start date in milliseconds since epoch.

    endDate numberrequired

    The end date in milliseconds since epoch.

    status stringrequired

    The status of the work order (OnHold, InProgress, Completed).

    triggerType stringrequired

    The trigger type for the status update (manual, automatic).

Responses

Schema
    data object[]required

    Data of the work order.

  • Array [
  • id stringrequired
    workOrderId stringrequired
    organizationId stringrequired
    manualId stringrequired
    status stringrequired
    triggerType stringrequired
    createdBy stringrequired
    createdAtDateString stringrequired
    createdAt numberrequired
  • ]
Loading...