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.
Security
api_key
- Productionhttps://api.oculos.no/v4/modules/vehicles/customerId/{customerId}
- Staginghttps://api.staging.oculos.no/v4/modules/vehicles/customerId/{customerId}
curl -i -X GET \
'https://api.oculos.no/v4/modules/vehicles/customerId/{customerId}' \
-H 'x-api-key: YOUR_API_KEY_HERE'OK
Array [
]
Response
[ { "id": "B4B8DB75-517F-464F-8E0A-E30E969BDA8B", "registrationNumber": "AB12345", "vin": "TMBJC9NY3MF017111", "vehicleGroup": "PERSONBIL", "brand": "SKODA", "lastInspectionDate": "2023-04-29", "nextInspectionDate": "2025-04-29", "lastOdometerStand": null, "lastRegistrationDate": "2024-03-27", "firstRegistrationDate": "2021-04-29", "extendedProperties": { … } } ]