Companies
Get current vehicles as PDF
Vehicles the company is registered on now as a PDF report. Send the same AG Grid request as POST /companies/{id}/vehicles to apply its filter and sort; the report holds at most 1 000 rows and says when there are more.
The data of Vehicles (current) as a PDF report, laid out the way the view shows it in TIC LENS.
Send the same filterModel and sortModel as to the grid endpoint to get the rows the grid shows; startRow and endRow are ignored, and an empty body means no filter and the default order. The report holds the first 1,000 rows and says so when the result has more.
See PDF reports for the language, the file name and the row limit.
Authorization
x-api-keystringheaderrequiredYour API key, sent in the x-api-key header.
Path parameters
idintegerrequiredInternal company ID
Query parameters
langstringReport language, `sv` or `en`. Defaults to the caller's locale.
Bodyapplication/json
startRowintegerendRowintegerrowGroupColsRowGroupModel[] | nullHide child attributes
idstring | nulldisplayNamestring | nullfieldstring | nullgroupKeysstring[] | nullfilterModelFilterModel[] | nullHide child attributes
columnNamestring | nullcolumnNameWithAliasstring | nullread-onlyfilterTypestring | nullsortModelSortModel[] | nullHide child attributes
sortstringcolIdstring | nullResponses
PDF report · application/pdf
string
Company not found or not accessible
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.
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.
{ "startRow": 0, "endRow": 50, "sortModel": [], "filterModel": {} } Sort or filter a column and the request body updates; the response arrives as rows and lastrow.