Fetch the fleets for a location, along with the contracts (within the given time range, all statuses) and vehicles for each

Time Status User Agent
Make a request to see history.

URL Expired

The URL for this request expired after 30 days.

API Specifications

Parameters

Responses

Success (200)

{
  "vehicle_groups": [
    {
      "id": 1,
      "contracts": [
        {
          "id": 1,
          "status": "pending",
          "vehicle_id": 1,
          "customer": {
            "id": 1,
            "full_name": "Frodo Baggins"
          },
          "scheduled_pickup_at": "2022-05-19T16:22:26Z",
          "scheduled_dropoff_at": "2022-08-10T14:15:30Z",
          "actual_pickup_at": "2022-05-19T16:22:26Z",
          "actual_dropoff_at": "2022-08-10T14:15:30Z"
        }
      ],
      "vehicles": [
        {
          "id": 1,
          "trim": {
            "make": "Toyota",
            "model": "Corolla",
            "power_train": "mechanical",
            "year": 1999
          }
        }
      ]
    }
  ]
}

Error Responses

Example Request

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