Skip to main content

Tractor All Ep

POST 

/v1/tractor/all

Tractor All

Retrieves all tractors along with their details including maintenance information.

Required Scopes (ia.r)

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.


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.


updated_on: datetime | None = None
The timestamp of the most recent update to the tractor data.


extra_data: object | None = {}
Any additional data provided or managed by the client through integration endpoints.

Responses

Successful Response

[
{
"id": "string",
"tractor_number": "string",
"depot": "string",
"depot_id": "string",
"vin": "string",
"model": "string",
"make": "string",
"year": 0,
"weight": 0,
"next_maintenance": "2025-12-17T21:49:50.573Z",
"next_tractor_maintenance_required": true,
"has_pump": true,
"updated_on": "2025-12-17T21:49:50.573Z",
"extra_data": {}
}
]
Loading...