# Get vehicles [PREVIEW]

This method allows the client to search for vehicles by a customer id

Example: B9012E40-1B08-4DC5-84F9-BB8E2653B2A6

The response sample below shows the default response, but depending on your configuration the API may return additional fields in the extendedProperties object.

Endpoint: GET /modules/vehicles/customerId/{customerId}
Version: 4.3.2
Security: api_key

## Path parameters:

  - `customerId` (string, required)
    The customer id

## Response 200 fields (application/json):

  - `id` (string)
    Id of vehicle
    Example: "B4B8DB75-517F-464F-8E0A-E30E969BDA8B"

  - `registrationNumber` (string)
    Registration number of the vehicle
    Example: "AB12345"

  - `vin` (string)
    Vehicle Identification Number
    Example: "TMBJC9NY3MF017111"

  - `vehicleGroup` (string)
    Group of the vehicle
    Example: "PERSONBIL"

  - `brand` (string)
    Brand of the vehicle
    Example: "SKODA"

  - `lastInspectionDate` (string)
    Date of the last inspection
    Example: "2023-04-29"

  - `nextInspectionDate` (string)
    Date of the next inspection
    Example: "2025-04-29"

  - `lastOdometerStand` (number)
    Last recorded odometer stand

  - `lastRegistrationDate` (string)
    Date of the last registration
    Example: "2024-03-27"

  - `firstRegistrationDate` (string)
    Date of the first registration
    Example: "2021-04-29"

  - `extendedProperties` (object)
    Additional properties depending on configuration

  - `extendedProperties.additionalProp1` (object)

  - `extendedProperties.additionalProp2` (object)

  - `extendedProperties.additionalProp3` (object)


## Response 400 fields

## Response 401 fields

## Response 403 fields

## Response 404 fields
