Get availability by day for every day between start and end, inclusive
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
API 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
- exclude_contract_id (number): If provided, the contract associated with the ID will be excluded from availability calculations. This is used for "modify" contract calculations
- api-version (integer, required): Target API version
API Response Codes
- 200 Success
- 401 Unauthorized
- 403 Forbidden
- 404 Not found
- 422 Unprocessable Content
Success Response Structure
[
{
"start_at": "2020-06-15T20:12:26Z",
"end_at": "2020-06-15T20:12:26Z",
"fleet_id": 123,
"available": true,
"active_vehicle_count": 30,
"required_vehicle_count": 10
}
]
Example CURL Request
curl --request GET \
--url https://api.dealerware.com/admin/fleets/id/availabiliy/intervals/daily \
--header 'accept: application/json'