Skip to main content

Create Work Order Line Item

Creates a new Work Order Line Item

Path Parameters

  • work_order_id string required

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

    The id of the associated Work Order

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.

  • work_order_line_items_attributes object[]
  • type string

    Possible values: [WorkOrderServiceTaskLineItem, WorkOrderFreeTextLineItem]

  • item_type string

    Possible values: [ServiceTask]

  • item_id integer
  • description string
  • issue_ids integer[]
  • labor_cost float
  • parts_cost float
  • subtotal float
  • work_order_sub_line_items_attributes object[]
  • type string

    Possible values: [WorkOrderPartLineItem, WorkOrderLaborLineItem]

  • item_type string

    Possible values: [Part, Contact]

  • item_id integer
  • description string
  • unit_cost float
  • subtotal float
  • work_order_id integer
  • position integer
  • quantity float
  • work_order_part_line_items_attributes object[]
  • type string

    Possible values: [WorkOrderPartLineItem, WorkOrderLaborLineItem]

  • item_type string

    Possible values: [Part, Contact]

  • item_id integer
  • description string
  • unit_cost float
  • subtotal float
  • work_order_id integer
  • position integer
  • quantity float
  • work_order_labor_line_items_attributes object[]
  • type string

    Possible values: [WorkOrderPartLineItem, WorkOrderLaborLineItem]

  • item_type string

    Possible values: [Part, Contact]

  • item_id integer
  • description string
  • unit_cost float
  • subtotal float
  • work_order_id integer
  • position integer
  • quantity float
Responses

OK

Response Headers


    Schema

    • id integer

      Possible values: >= 1

    • created_at date-time

      The date and time at which this record was created.

    • updated_at date-time

      The date and time at which this record was most recently updated.

    • title string

      The title of this line item.

    • description string

      A description of this Work Order Line Item.

    • position integer

      The position of this Work Order Line Item in a list of Work Order Line Items.

    • item_id integer

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

    • item_type string

      Possible values: [Issue, ServiceTask]

      The type of item associated with this Work Order Line Item.

    • work_order_id integer

      The ID of the Work Order that this line item belongs to.

    • parts_cost_cents integer

      The cost of Parts in cents of this line item.

    • labor_cost_cents integer

      The cost of labor in cents of this line item.

    • service_reminder_id integer

      The ID of the Service Reminder associated with this line item, if applicable.

    • subtotal_cents string

      The subtotal in cents of this line item.

    • work_order_line_item_id integer
    • vehicle_id integer
    • vehicle_archived_at date-time
    • vmrs_system_id NullableId

      Possible values: >= 1

    • vmrs_assembly_id NullableId

      Possible values: >= 1

    • vmrs_component_id NullableId

      Possible values: >= 1

    • vmrs_reason_for_repair_id NullableId

      Possible values: >= 1

    • vmrs_system_group_id NullableId

      Possible values: >= 1

    Loading...