Skip to main content

Update Work Order

Update a Work Order

Path Parameters

  • work_order_id string required

    Possible values: Value must match regular expression ^[0-9]+$

    The id of the associated Work Order

  • id string required

    Possible values: Value must match regular expression ^[0-9]+$

    The id of the relevant record

Request Body

  • type string

    Possible values: [WorkOrderServiceTaskLineItem, WorkOrderFreeTextLineItem]

  • item_type string

    Possible values: [Issue, ServiceTask]

    The Type of the item associated with the Work Order Line Item

  • item_id integer

    The ID of the item associated with this Work Order Line Item.

  • description string
  • issue_ids integer[]

    The IDs of any Issues associated with this Work Order Line Item.

  • labor_cost float

    The cost of labor of this line item.

  • parts_cost float

    The cost of Parts of this line item.

  • subtotal float

    The subtotal of this line item.

  • vmrs_reason_for_repair_id integer

    The ID of the VMRS Reason for Repair associated with this Work Order Line Item.

  • vmrs_system_group_id integer

    The ID of the VMRS System Group associated with this Work Order Line Item.

  • vmrs_system_id integer

    The ID of the VMRS System associated with this Work Order Line Item.

  • vmrs_assembly_id integer

    The ID of the VMRS Assembly associated with this Work Order Line Item.

  • vmrs_component_id integer

    The ID of the VMRS Component associated with this Work Order Line Item.

  • work_order_sub_line_items_attributes object[]
  • work_order_id integer

    The parent Work Order ID.

  • item_id integer

    The ID of the Part or Contact associated with this sub line item.

  • item_type string

    Possible values: [Part, Contact]

  • quantity float

    The quantity of labor or parts for this sub line item.

  • unit_cost float

    The cost per unit of labor or parts for this sub line item.

  • subtotal float

    The subtotal of this sub line item.

  • position integer

    The position of this sub line item in the list of sub line items.

  • work_order_part_line_items_attributes object[]
  • work_order_id integer

    The parent Work Order ID.

  • item_id integer

    The ID of the Part or Contact associated with this sub line item.

  • item_type string

    Possible values: [Part, Contact]

  • quantity float

    The quantity of labor or parts for this sub line item.

  • unit_cost float

    The cost per unit of labor or parts for this sub line item.

  • subtotal float

    The subtotal of this sub line item.

  • position integer

    The position of this sub line item in the list of sub line items.

  • work_order_labor_line_items_attributes object[]
  • work_order_id integer

    The parent Work Order ID.

  • item_id integer

    The ID of the Part or Contact associated with this sub line item.

  • item_type string

    Possible values: [Part, Contact]

  • quantity float

    The quantity of labor or parts for this sub line item.

  • unit_cost float

    The cost per unit of labor or parts for this sub line item.

  • subtotal float

    The subtotal of this sub line item.

  • position integer

    The position of this sub line item in the list of sub line items.

Responses

OK

Loading...