API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · vehicles

Vehicle Schema

Schema ID
vehicle
Collection
vehicles
Permissions
  • Readvehicle_view
  • Createvehicle_create
  • Editvehicle_edit
  • Deletevehicle_delete

Fields

Vehicle Schema

vehicles4 permissions

Schema for validating vehicle / Fahrzeug entities

licensePlatestringoptional

Vehicle license plate number (Kennzeichen)

max 20 charactersnullable
vinstringoptional

Vehicle Identification Number (FIN)

max 17 charactersnullable
makestringrequired

Manufacturer / Hersteller

1–100 characters
modelstringrequired

Vehicle model

1–100 characters
yearintegeroptional

Year of manufacture

1900 – 2100nullable
colorstringoptional

Vehicle color

max 50 charactersnullable
displayNamestringoptional

Display name / Anzeigename

max 200 charactersnullable
internalIdstringoptional

Internal identifier (e.g. fleet number)

max 100 charactersnullable
additionalNumberstringoptional

Additional reference number

max 100 charactersnullable
vehicleTypestringoptional

Vehicle type classification

PKWTRANSPORTERLKWMOTORRADANHAENGEROTHER
Default: "PKW"
acquisitionModestringoptional

How this vehicle entered the fleet: EXISTING (already on site/in use), PROCUREMENT (ordered, not yet delivered), VIRTUAL (no physical vehicle — used as a cost target for fleet-wide expenses)

EXISTINGPROCUREMENTVIRTUAL
Default: "EXISTING"
fuelTypestringoptional

Fuel / drive type

BENZINDIESELELEKTROHYBRID_BENZINHYBRID_DIESELERDGASWASSERSTOFFOTHER
nullable
organizationstringoptional

Owning organization / Gesellschaft

max 200 charactersnullable
subsidiarystringoptional

Subsidiary / Niederlassung

max 200 charactersnullable
costCenterstringoptional

Cost center / Kostenstelle

max 100 charactersnullable
locationIdstringoptional

Reference to a location entity (Standort)

1–200 charactersnullable
locationNamestringoptional

Denormalized location name for display

max 200 charactersnullable
internalOrderNumberstringoptional

Internal order number / Interne Auftragsnummer

max 100 charactersnullable
licenseNumberstringoptional

License number / Zulassungsnummer

max 100 charactersnullable
firstRegistrationDatedateoptional

Date of first registration / Erstzulassung

nullable
commissioningDatedateoptional

Date of commissioning / Inbetriebnahme

nullable
registrationCountrystringoptional

Country of registration / Zulassungsland

max 100 charactersnullable
licensePlateColorstringoptional

License plate color (e.g. standard, green, electric)

max 50 charactersnullable
interiorColorstringoptional

Interior color / Innenfarbe

max 100 charactersnullable
upholsteryColorstringoptional

Upholstery color / Polsterfarbe

max 100 charactersnullable
engineDisplacementCcmintegeroptional

Engine displacement in ccm / Hubraum

≥ 0nullable
powerKwnumberoptional

Engine power in kW / Leistung

≥ 0nullable
transmissionTypestringoptional

Transmission type / Getriebe

MANUALAUTOMATICDSGCVTOTHERnull
nullable
emissionStandardstringoptional

Emission standard / Abgasnorm

EURO_1EURO_2EURO_3EURO_4EURO_5EURO_6EURO_6DEURO_6D_TEMPEURO_7OTHERnull
nullable
co2EmissionGkmnumberoptional

CO2 emissions in g/km

≥ 0nullable
annualVehicleTaxnumberoptional

Annual vehicle tax in EUR / Kfz-Steuer

≥ 0nullable
annualVehicleTaxSourcestringoptional

Source of vehicle tax information

max 100 charactersnullable
grossListPricenumberoptional

Gross list price in EUR / Bruttolistenpreis

≥ 0nullable
batteryCapacityKwhnumberoptional

Battery capacity in kWh (electric/hybrid vehicles)

≥ 0nullable
consumptionCombinednumberoptional

Combined fuel/energy consumption

≥ 0nullable
consumptionCitynumberoptional

City fuel/energy consumption

≥ 0nullable
consumptionHighwaynumberoptional

Highway fuel/energy consumption

≥ 0nullable
consumptionUnitstringoptional

Consumption unit (e.g. l/100km, kWh/100km)

max 50 charactersnullable
curbWeightKgnumberoptional

Curb weight in kg / Leergewicht

≥ 0nullable
payloadKgnumberoptional

Payload in kg / Zuladung

≥ 0nullable
grossWeightKgnumberoptional

Gross vehicle weight in kg / Zulässiges Gesamtgewicht

≥ 0nullable
trainWeightKgnumberoptional

Train weight in kg / Zulässige Gesamtmasse des Zuges

≥ 0nullable
towingCapacityKgnumberoptional

Towing capacity in kg / Anhängelast

≥ 0nullable
standardEquipmentstring[]optional

Standard equipment list / Serienausstattung

Default: []nullable
specialEquipmentstring[]optional

Special equipment list / Sonderausstattung

Default: []nullable
tireStorageLocationstringoptional

Tire storage location / Reifenlagerort

max 200 charactersnullable
statusstringoptional

Current vehicle status

DRAFTACTIVEMAINTENANCEDECOMMISSIONEDRESERVED
Default: "ACTIVE"
currentMileageKmnumberoptional

Current mileage in kilometers

≥ 0nullable
isPoolVehiclebooleanoptional

Whether this is a pool vehicle (available for reservation) or permanently assigned to an employee

Default: false
poolGroupstringoptional

Optional pool group tag (tenant-defined vehicle pools replace this field for filtering)

nullable
assignedDriverIduuidoptional

Assigned driver user ID (relevant when isPoolVehicle=false)

nullable
assignedLocationIdstringoptional

Assigned company location identifier

max 200 charactersnullable
ownershipTypestringoptional

Vehicle ownership type

OWNEDLEASEDRENTED
Default: "OWNED"
leaseDetailsobjectoptional
nullable
providerstringoptional

Leasing provider

max 200 characters
contractNumberstringoptional

Lease contract number

max 100 charactersnullable
startDatedateoptional

Lease start date

endDatedateoptional

Lease end date

nullable
monthlyCoststringoptional

Monthly lease cost in EUR

Patternnullable
totalLeasingKmintegeroptional

Total allowed kilometers over lease term

≥ 0nullable
residualValuestringoptional

Residual value at end of lease in EUR

Patternnullable
excessKmRatestringoptional

Cost per excess kilometer in EUR (Mehrkilometer)

Patternnullable
shortfallKmRatestringoptional

Credit per shortfall kilometer in EUR (Minderkilometer)

Patternnullable
depositAmountstringoptional

Leasing deposit / Sonderzahlung in EUR

Patternnullable
contractIduuidoptional

Reference to linked contract entity

nullable
insuranceobjectoptional
nullable
companystringoptional

Insurance company

max 200 characters
policyNumberstringoptional

Insurance policy number

max 100 charactersnullable
typestringoptional

Insurance type

HAFTPFLICHTTEILKASKOVOLLKASKO
validFromdateoptional

Insurance valid from date

validUntildateoptional

Insurance valid until date

nullable
registrationobjectoptional
nullable
registrationDatedateoptional

Vehicle registration date

nullable
nextHuDatedateoptional

Next Hauptuntersuchung (HU/TUV) date

nullable
nextAuDatedateoptional

Next Abgasuntersuchung (AU) date

nullable
emissionStickerstringoptional

Emission sticker type (Feinstaubplakette)

NONEGREENYELLOWRED
nullable
inspectionScheduleobjectoptional
nullable
lastInspectionDatedateoptional

Last inspection date

nullable
nextDueDatedateoptional

Next inspection due date

nullable
intervalKmintegeroptional

Inspection interval in kilometers

≥ 0nullable
intervalMonthsintegeroptional

Inspection interval in months

≥ 0nullable
serviceScheduleobjectoptional
nullable
lastServiceDatedateoptional

Last workshop inspection / service date

nullable
nextDueDatedateoptional

Next workshop inspection / service due date

nullable
intervalMonthsintegeroptional

Service interval in months (default 24 when empty)

1 – 120nullable
tiresobjectoptional
nullable
summerTiresobjectoptional
nullable
brandstringoptional
max 100 charactersnullable
sizestringoptional
max 50 charactersnullable
dotNumberstringoptional
max 20 charactersnullable
treadDepthMmnumberoptional
≥ 0nullable
storageLocationstringoptional
max 200 charactersnullable
winterTiresobjectoptional
nullable
brandstringoptional
max 100 charactersnullable
sizestringoptional
max 50 charactersnullable
dotNumberstringoptional
max 20 charactersnullable
treadDepthMmnumberoptional
≥ 0nullable
storageLocationstringoptional
max 200 charactersnullable
currentSetstringoptional

Currently mounted tire set

SUMMERWINTERALL_SEASON
nextChangeDatedateoptional

Next scheduled tire change date (YYYY-MM-DD)

nullable
ratePerKmstringoptional

Rate per kilometer in EUR (overrides global default)

Patternnullable
documentsobject[]optional
Default: []nullable
typestringrequired

Document type

REGISTRATIONINSURANCELEASESERVICETUVOTHER
titlestringrequired

Document title

max 200 characters
attachmentIdstringrequired

Attachment file ID

uploadedAtdatetimeoptional

Upload timestamp

nullable
sharePointFolderIdstringoptional

Cached SharePoint folder ID (Graph driveItem ID) for this vehicle

max 200 charactersnullable
notesstringoptional

Free-text notes

max 5000 charactersnullable
tagsstring[]optional

Tags for categorization

Default: []

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/vehicles — List, paginated + filterable
  • GET /api/v1/vehicles/<id> — Single entity
  • POST /api/v1/vehicles — Create
  • PATCH /api/v1/vehicles/<id> — Partial update
  • DELETE /api/v1/vehicles/<id> — Soft delete
  • GET /api/v1/vehicles/<id>/timeline — Audit + activities

Search