V1 Tractor All Ep
POST/v1/tractor/all
Tractor All
Retrieves all tractors along with their details including maintenance information.
Response
id: str
The internal identifier for the tractor.
tractor_number: string
The unique number associated with the tractor.
depot: string | None = None
The depot associated with the tractor.
depot_id: str | None = None
The internal identifier of the depot associated with the tractor.
vin: string | None = None
The tractor's vehicle identification number.
model: string | None = None
The model of the tractor.
make: string | None = None
The make of the tractor.
year: int | None = None
The year the tractor was manufactured.
weight: int | None = None
The weight of the tractor.
next_maintenance: datetime | None = None
The date of the next scheduled maintenance for the tractor.
next_tractor_maintenance_required: boolean | None = None
Indicates whether the next tractor maintenance is required.
has_pump: bool | None = None
Indicates whether the tractor has a pump.
pump_rate: int | None = None
The tractor's pump flow rate, expressed per minute.
trailer_config: str | None = None
The tractor's tank-wagon configuration name.
product_groups: list[str] = []
The product groups the tractor is designated to carry.
updated_on: datetime | None = None
The timestamp of the most recent update to the tractor data.
in_cab_device_id: str | None = None
The internal identifier of the in-cab device paired to this tractor. A device can be paired to only one tractor.
extra_data: object | None = {}
Any additional data provided or managed by the client through integration endpoints.
attributes: dict[str, bool | float | str] = {}
Custom attributes applied to the tractor, keyed by attribute definition id.
Attribute definitions are managed in the application; each definition fixes the value type of its
entry (boolean, number, string, or presence-only exists).
Responses
- 200
Successful Response
- application/json
- Example (from schema)
[
{
"id": "string",
"tractor_number": "string",
"depot": "string",
"depot_id": "string",
"vin": "string",
"model": "string",
"make": "string",
"year": 0,
"weight": 0,
"next_maintenance": "2026-09-25T19:33:18.184Z",
"next_tractor_maintenance_required": true,
"has_pump": true,
"pump_rate": 0,
"trailer_config": "string",
"product_groups": [
"string"
],
"in_cab_device_id": "string",
"updated_on": "2026-09-25T19:33:18.184Z",
"extra_data": {},
"attributes": {}
}
]