Get active fleet size and required vehicles needed within a time range
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
API Specification
Parameters
id
integer
required
The id of the fleetstart_at
date-time
required
The timestamp for the start of the availability rangeend_at
date-time
required
The timestamp for the end of the availability rangeapi-version
integer
required
Target API version
Response Codes
200 Success
object- active_vehicle_count
integer
The count of active vehicles in a fleet - required_vehicle_count
integer
The count of minimum vehicles required to service all bookings within a time range
- active_vehicle_count
401 Unauthorized
403 Forbidden
404 Not found
406 Not Acceptable
Example Request
curl --request GET \
--url https://api.dealerware.com/admin/fleets/id/availability \
--header 'accept: application/json'
Example Response
{
"active_vehicle_count": 30,
"required_vehicle_count": 10
}