| 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 fleet

- **start_at**  
  *date-time*  
  *required*  
  The timestamp for the start of the availability range

- **end_at**  
  *date-time*  
  *required*  
  The timestamp for the end of the availability range

- **api-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

- **401 Unauthorized**  
- **403 Forbidden**  
- **404 Not found**  
- **406 Not Acceptable**

### Example Request

```bash
curl --request GET \
     --url https://api.dealerware.com/admin/fleets/id/availability \
     --header 'accept: application/json'
```

### Example Response

```json
{
  "active_vehicle_count": 30,
  "required_vehicle_count": 10
}
```
