Vehicles (Protected)
Get Vehicle
Get single vehicle by ID.
Returns { vehicle, supplier } — the supplier is included so the frontend can render the current Fornecedor even when it is not in the top-N suppliers dropdown list.
Use separate endpoints for:
- /data/brands, /data/models - to resolve brand/model names
- /{vehicle_id}/movements - for financial movements
- /{vehicle_id}/contracts - for contracts
get/api/vehicles/{vehicle_id}
Path parameters
vehicle_idinteger required
Headers
x-api-tokenstring nullable
Response
Successful Response
{"stackTrail":"paths:/api/vehicles/{vehicle_id}:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
No recorded changes to this endpoint across all 1 revision of this API.