improved
Mark vehicles as Out-of-Service/In-service
May 7th, 2025 by Abhay Anumula
The Vehicles endpoints now allow the Fleet Managers to configure the Availability Status to either out_of_service
or in_service
.
This feature makes it easy for the Fleet Managers to update the availability of their vehicles on the fly instead of any manual tracking.
The response body for the enhanced endpoints will now include the following:
],
"availability_details": {
"availability_status": "out_of_service",
"out_of_service_reason": "Vehicle Maintenance",
"updated_at": "2024-07-31T05:30:53Z",
"additional_note": "This vehicle is scheduled for maintenance",
"custom_driver_app_warning_prompt": "This vehicle is scheduled for maintenance, please don't operate",
"updated_by_user": {
"id": 123,
"first_name": "First",
"last_name": "Last",
"user_name": "demo_dispatcher",
"email": "[email protected]",
"company_reference_id": 1234,
"status": "active",
"role": "dispatcher"
}
NOTE
For POST and PUT Vehicle endpoints, you can now update the availability_status in the Request Body.
availability_details": { "availability_status": "out_of_service", "additional_note": "This vehicle is scheduled for maintenance", "custom_driver_app_warning_prompt": "This vehicle is scheduled for maintenance, please don't operate", }
API Documentation
- GET: List all the vehicles of a company
- GET: List the details of a vehicle (ID)
- GET: Lookup a vehicle using its number
- POST: Create a new vehicle
- PUT: Update a vehicle