Service Entries

Create Service Entry Line Item

Changed on

Creates a new Service Entry Line Item

post/service_entries/{service_entry_id}/service_entry_line_items

Request

Path parameters

service_entry_idstring required

The id of the associated Service Entry

Request body

type'ServiceEntryServiceTaskLineItem' | 'ServiceEntryLaborLineItem' | 'ServiceEntryPartLineItem' | 'ServiceEntryTaxLineItem' | 'ServiceEntryFeeLineItem' | 'ServiceEntryTireLineItem' | 'ServiceEntryFreeTextLineItem'

Denotes the type of the ServiceEntryLineItem

service_task_idinteger
descriptionstring

A description of the service performed for this line item.

issue_idsId[]

IDs of any Issues this line item is linked to.

labor_costnumber float

The cost of labor for this line item.

parts_costnumber float

The cost of Parts for this line item.

subtotalnumber float

Ignored if labor_cost and parts_cost is present.

Response

OK

idinteger required
created_atstring date-time

The date and time at which this record was created.

updated_atstring date-time

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

account_idinteger
titlestring nullable required

A title for this line item.

descriptionstring nullable required

A description of the service performed for this line item.

positioninteger nullable required

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

linking_source'manual' | 'automatic_algorithm' | 'service_code_mapper' nullable required
vehicle_idinteger required
service_entry_line_item_idinteger nullable required

For nested line items. This value denotes the parent Service Entry Line Item.

service_reminder_idinteger nullable required

If this line item is linked to a Service Reminder, this ID will be set.

service_entry_idinteger required
service_task_idinteger required
service_code_idinteger nullable required
import_idinteger nullable
labor_cost_centsinteger

The labor cost in cents for this line item.

parts_cost_centsinteger

The parts cost in cents for this line item.

subtotal_centsinteger

The pre-tax subtotal in cents for this line item.

vmrs_system_idinteger nullable
vmrs_assembly_idinteger nullable
vmrs_component_idinteger nullable
vmrs_reason_for_repair_idinteger nullable
vmrs_system_group_idinteger nullable

Example response

{
  "created_at": "2023-03-14T13:46:27-06:00",
  "updated_at": "2023-03-14T13:46:27-06:00"
}

Changes