# VEHICLES API

Version: 1.0.0

## Servers

```
https://lytx-api.prod2.ph.lytx.com/vehicles
```

```
https://lytx-api.prod5.ph.lytx.com/vehicles
```

```
https://lytx-api.prod6.lv.lytx.com/vehicles
```

```
https://lytx-api.prod7.lv.lytx.com/vehicles
```

```
https://lytx-api.prod8.lv.lytx.com/vehicles
```

## Security

### APIKey

Enter your API key

Type: apiKey
In: header
Name: X-APIKey

## Download OpenAPI description

[VEHICLES API](https://developer.lytx.com/_bundle/openapispec/legacy.vehicles.openapi.yaml)

## Vehicles (DriveCam)

Legacy External Vehicles API. Uses obsolete X-APIKey authentication.

### Adds New Vehicle

 - [POST /all](https://developer.lytx.com/openapispec/legacy.vehicles.openapi/vehicles-(drivecam)/vehicle_addvehicle.md)

### Retrieve Vehicles

 - [GET /all](https://developer.lytx.com/openapispec/legacy.vehicles.openapi/vehicles-(drivecam)/vehicle_getvehicles.md)

### Update Vehicle with Specified ID (full or partial)

 - [PATCH /{id}](https://developer.lytx.com/openapispec/legacy.vehicles.openapi/vehicles-(drivecam)/vehicle_updatevehicle.md)

### Delete Vehicle with Specified ID

 - [DELETE /{id}](https://developer.lytx.com/openapispec/legacy.vehicles.openapi/vehicles-(drivecam)/vehicle_deletevehicle.md)

### Retrieve Vehicle with Specified ID

 - [GET /{id}](https://developer.lytx.com/openapispec/legacy.vehicles.openapi/vehicles-(drivecam)/vehicle_getvehicle.md)

### Retrieve List of Possible Vehicle Statuses

 - [GET /statuses](https://developer.lytx.com/openapispec/legacy.vehicles.openapi/vehicles-(drivecam)/vehicle_getvehiclestatuses.md)

### Retrieve List of Possible Vehicle Types

 - [GET /types](https://developer.lytx.com/openapispec/legacy.vehicles.openapi/vehicles-(drivecam)/vehicle_getvehicletypes.md)

### Retrieve List of Possible Seatbelt Types

 - [GET /seatbelt-types](https://developer.lytx.com/openapispec/legacy.vehicles.openapi/vehicles-(drivecam)/vehicle_getseatbelttypes.md)

### Retrieve List of Subdivisions for Country with Specified Code

 - [GET /country-subdivisions](https://developer.lytx.com/openapispec/legacy.vehicles.openapi/vehicles-(drivecam)/vehicle_getcountrysubdivisions.md)

