Returns a list of vehicles that company has been an owner or user of. History up to about 3 years in time. Vehicles are returned
in the order of when the last owner change from the company occured. The intention of the endpoint is to quickly get an overview of any vehicles
that may have been sold or transferred to other parties for example prior to a bankruptcy event.Therfore only maximum 1000 history owned or used vehicles are returned in the response.
The fields EventStartDate and EventEndDate represents that last duration when the company was the owner or user of the vehicle. This means
for example with the following json response:
Example response
Copy
{[ { "vehicleId": 1, "licencePlate": "XXX000", "vehicleType": "SLÄP", "vehicleName": "ABC", "tradeName": null, "modelYear": 2008, "vehicleYear": 2008, "colorSwedish": "VIT", "vin": "123", "currentOwnerCompanyId": 123, "currentOwnerCompanyRegistrationNumber": "This is the current company registered as owner", "currentOwnerCompanyLegalName": "XXX", "currentUserCompanyId": 123, "currentUserCompanyRegistrationNumber": null, "currentUserCompanyLegalName": "This is the company currentley using the vehicle", "eventStartDate": "2023-08-02T00:00:00", "eventEndDate": "2025-01-22T00:00:00" },
This means that the company you are requesting date for was an owner or user of the vehicle between 2023-08-02, e.g eventStartDate,
and 2025-01-22, e.g eventEndDate.