TIC
Pro+ tier
POSThttps://lens-api.tic.io/companies/{id}/vehicles/history

Returns the company’s ended registrations on vehicles, one row per registration period as owner (ägare) or user (brukare), newest end date first. A vehicle the company held twice appears twice. The current registrations are in vehicles now, and the whole list as a file in the CSV export.

The request body is the grid request described in Pagination. Each row has the columns below and the period: periodStartDate and periodEndDate, with isCurrent false.

Columns

Sort and filter on these field names.

Field Description
registreringsnummer The registration number
namn Make and model as shown, from fordonsbenamning and handelsbeteckning
arsmodell, fordonsar Model year and vehicle year
fordonsslagsklassOchBeskrivning The vehicle class
fordonsstatusKodBeskrivning The vehicle’s status, for example in traffic or deregistered
isOwner, isUser Whether the company is registered as owner (ägare), as user (brukare) or both
agareNamn, brukareNamn, antalBrukare The owner, the user and the number of users
agareIntelligenceScoreTotal, brukareIntelligenceScoreTotal The owner’s and the user’s risk indicator scores
forvarvsdatum When the vehicle was acquired
leasing, kreditkop Whether the vehicle is leased or bought on credit
isStolen Whether the vehicle is reported stolen
mileageKm, mileageDate The latest odometer reading and its date

Authorization

x-api-keystringheaderrequired

Your API key, sent in the x-api-key header.

Path parameters

idintegerrequired

Internal company ID

format: int32

Bodyapplication/json

startRowinteger

format: int32

endRowinteger

format: int32

rowGroupColsRowGroupModel[] | null
Hide child attributes
idstring | null
displayNamestring | null
fieldstring | null
groupKeysstring[] | null
filterModelFilterModel[] | null
Hide child attributes
columnNamestring | null
columnNameWithAliasstring | nullread-only
filterTypestring | null
sortModelSortModel[] | null
Hide child attributes
sortstring

One of: asc desc

colIdstring | null

Responses

AG Grid page of CompanyVehicleGrid_Dto rows

Try it with a grid

A server-side data grid bound to this endpoint through the proxy. Sort and filter columns and watch the request body the grid sends; the response arrives as rows with lastrow.

Grid playgroundrequests: 0 · Fill in the parameters and run the query.
Authorization

Stored in this browser only (until you forget it) and sent as the x-api-key header through the documentation proxy.

Enter your API key to load the grid.

Last request body
{ "startRow": 0, "endRow": 50, "sortModel": [], "filterModel": {} }
Response

Sort or filter a column and the request body updates; the response arrives as rows and lastrow.