improved
Mark assets as Out-of-Service/In-Service
April 29th, 2025 by Abhay Anumula
The Asset 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 assets 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": "Asset Maintenance",
"updated_at": "2024-07-31T05:30:53Z",
"additional_note": "This asset sheduled for maintenance",
"custom_driver_app_warning_prompt": "This asset 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 Asset endpoints, you can now update the
availability_status
in the Request Body.availability_details": { "availability_status": "out_of_service", "additional_note": "This asset scheduled for maintenance", "custom_driver_app_warning_prompt": "This asset is scheduled for maintenance, please don't operate", }
API Documentation
- GET: List all the company assets
- POST: Create a new asset
- PUT: Update and existing asset.