Work Orders
Retrieve Work Order
Retrieve the details of an existing Work Order.
get/work_orders/{id}
Request
- Base URLhttps://secure.fleetio.com/api
- AuthAPI key in header Authorization and API key in header Account-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The id of the relevant record
Response
OK
Example response
{
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"completed_at": "2023-03-14T13:46:27-06:00",
"issued_at": "2023-03-14T13:46:27-06:00",
"started_at": "2023-03-14T13:46:27-06:00",
"expected_completed_at": "2023-03-14T13:46:27-06:00",
"work_order_sub_line_items": [
{
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"contact": {
"group_hierarchy": "Group 1|Group 2|Group 3",
"birth_date": "2023-03-14",
"street_address": "123 Main St",
"street_address_line_2": "Apt 1",
"license_expiration": "2023-03-14"
},
"labor_time_entries": [
{
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"ended_at": "2023-03-14T13:46:27-06:00",
"started_at": "2023-03-14T13:46:27-06:00"
}
]
}
],
"scheduled_at": "2023-03-14T13:46:27-06:00",
"work_order_line_items": [
{
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"work_order_sub_line_items": [
{
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"contact": {
"group_hierarchy": "Group 1|Group 2|Group 3",
"birth_date": "2023-03-14",
"street_address": "123 Main St",
"street_address_line_2": "Apt 1",
"license_expiration": "2023-03-14"
},
"labor_time_entries": [
{
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"ended_at": "2023-03-14T13:46:27-06:00",
"started_at": "2023-03-14T13:46:27-06:00"
}
]
}
],
"subtotal": 1.23,
"labor_cost": 1.23,
"parts_cost": 1.23
}
],
"labor_time_entries": [
{
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"ended_at": "2023-03-14T13:46:27-06:00",
"started_at": "2023-03-14T13:46:27-06:00"
}
],
"meter_entry": {
"auto_voided_at": "2023-03-14T13:46:27-06:00",
"date": "2023-03-14"
},
"starting_meter_entry": {
"auto_voided_at": "2023-03-14T13:46:27-06:00",
"date": "2023-03-14"
},
"ending_meter_entry": {
"auto_voided_at": "2023-03-14T13:46:27-06:00",
"date": "2023-03-14"
},
"secondary_meter_entry": {
"auto_voided_at": "2023-03-14T13:46:27-06:00",
"date": "2023-03-14"
},
"starting_secondary_meter_entry": {
"auto_voided_at": "2023-03-14T13:46:27-06:00",
"date": "2023-03-14"
},
"ending_secondary_meter_entry": {
"auto_voided_at": "2023-03-14T13:46:27-06:00",
"date": "2023-03-14"
},
"discount_percentage": 1.23,
"discount": 1.23,
"parts_subtotal": 1.23,
"labor_subtotal": 1.23,
"subtotal": 1.23,
"tax_1_percentage": 1.23,
"tax_2_percentage": 1.23,
"tax_1": 1.23,
"tax_2": 1.23,
"parts_markup": 1.23,
"parts_markup_percentage": 1.23,
"labor_markup": 1.23,
"labor_markup_percentage": 1.23,
"total_amount": 1.23,
"comments": [
{
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00"
}
],
"images": [
{
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00"
}
],
"documents": [
{
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.