API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · vehicle_contracts

Vehicle Contract Schema

Schema-ID
vehicle_contract
Collection
vehicle_contracts
Permissions
  • Lezenvehicle_contract_view
  • Aanmakenvehicle_contract_create
  • Wijzigenvehicle_contract_edit
  • Verwijderenvehicle_contract_delete

Velden

Vehicle Contract Schema

vehicle_contracts4 permissions

Schema for validating vehicle contract / Fahrzeugvertrag entities

vehicleIduuidvereist

Reference to the vehicle

contractTypestringvereist

Type of contract / Vertragsart

LEASINGINSURANCEMAINTENANCEFINANCINGRENTALSERVICEOTHER
contractNumberstringvereist

Contract number / Vertragsnummer

1–100 tekens
providerstringvereist

Contract partner / Vertragspartner

1–200 tekens
startDatedatevereist

Contract start date / Vertragsbeginn

endDatedateoptioneel

Contract end date / Vertragsende

nullable
monthlyCoststringoptioneel

Monthly cost in EUR / Monatliche Kosten

Patternnullable
totalCoststringoptioneel

Total contract value in EUR / Gesamtkosten

Patternnullable
paymentIntervalstringoptioneel

Payment interval / Zahlungsintervall

MONTHLYQUARTERLYSEMI_ANNUALANNUALONE_TIME
nullable
mileageLimitnumberoptioneel

Annual mileage limit in km (leasing) / Jährliche Kilometergrenze

≥ 0nullable
startMileageKmnumberoptioneel

Vehicle mileage at contract start / Kilometerstand bei Vertragsbeginn

≥ 0nullable
excessMileageCostPerKmstringoptioneel

Cost per excess km in EUR / Mehrkilometerkosten pro km

Patternnullable
depositAmountstringoptioneel

Deposit / Kaution in EUR

Patternnullable
noticePeriodDaysnumberoptioneel

Notice period in days / Kündigungsfrist in Tagen

≥ 0nullable
autoRenewalbooleanoptioneel

Auto-renewal / Automatische Verlängerung

Default: falsenullable
statusstringoptioneel

Contract status / Vertragsstatus

ACTIVEPENDINGEXPIREDCANCELLED
Default: "ACTIVE"
descriptionstringoptioneel

Contract description / Vertragsbeschreibung

max. 2000 tekensnullable
attachmentIdsstring[]optioneel

Attached document IDs (contract PDFs, etc.)

Default: []
notesstringoptioneel

Additional notes / Bemerkungen

max. 2000 tekensnullable

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/vehicle_contracts — Lijst, gepagineerd + filterbaar
  • GET /api/v1/vehicle_contracts/<id> — Enkele entity
  • POST /api/v1/vehicle_contracts — Aanmaken
  • PATCH /api/v1/vehicle_contracts/<id> — Gedeeltelijke update
  • DELETE /api/v1/vehicle_contracts/<id> — Soft-delete
  • GET /api/v1/vehicle_contracts/<id>/timeline — Audit + activiteiten

Zoeken