| Time | Status | User Agent |  |
| :-- | :-- | :-- | :-- |
| Make a request to see history. |

#### URL Expired

The URL for this request expired after 30 days.

### API Documentation

#### Params

- **id** (integer, required): The id of the dealership
- **available_only** (boolean): Toggle to only include available vehicles in search results, defaults to false.
- **q** (string): Query parameter to search against indexed fields on Vehicle
- **sort** (string): The sort order is ascending unless the column name is prefixed with a minus (U+002D HYPHEN-MINUS, "-"), in which case it will be descending.
- **fleet_id** (string): Query parameter to search via a given fleet id
- **fleet_ids** (array of integers): Filter vehicles results to those that belong to these fleet ids
- **active** (boolean): Filter vehicles to those that are either active or inactive
- **status** (string): Filter vehicles based on their current state
- **telematics_state** (string): Filter vehicles based on their telematics source
- **available_by_program** (string): Toggle to only include available vehicles by program in search results, defaults to false.
- **api-version** (integer, required): Target API version

### Responses

- **200 Success**

```json
[
  {
    "connected": true,
    "connected_car_device_firmware": "281110619:159:11",
    "connected_car_device_last_updated": "2020-06-11T15:08:53Z",
    "device": "guidepoint",
    "fuel": {
      "unit": "L",
      "capacity": 20,
      "value": 10
    },
    "id": 23561,
    "license": "DNL445",
    "links": {
      "fleet": {
        "id": 2,
        "href": "https://api.dw-tst.com/admin/some_resources/2"
      },
      "fleet_ids": [
        123,
        125
      ],
      "fleets": [
        {
          "id": 2,
          "href": "https://api.dw-tst.com/admin/some_resources/2"
        }
      ]
    },
    "make": "Audi",
    "model": "Q5",
    "color": "Silver",
    "odometer": {
      "value": 3293.5,
      "unit": "km"
    },
    "off_lot": true,
    "physical_location": "Lot A",
    "power_train": "mechanical",
    "status": "rented",
    "stock_number": "VV111",
    "telematics_source": "guidepoint",
    "telematics_enrolled": true,
    "toll_tag_number": "HMSJNFDS",
    "vin": "1FT7W2BT4DEB5192",
    "year": 2020,
    "acriss_code": "CFAR",
    "acriss_model_description": "Compact SUV Automatic With AC",
    "updated_at": "2025-03-20T17:42:42Z",
    "created_at": "2025-03-20T17:42:42Z",
    "days_off_contract": 7,
    "rdr_date": "2024-03-15",
    "maturity_date": "2024-06-15",
    "disposed_at": "2024-06-15",
    "in_service_date": "2026-07-28",
    "currently_rented_to_customer_id": 1789
  }
]
```

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

### Example cURL Request

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

### Last Updated

Updated 3 months ago.
