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

Vehicle Reservation Schema

Schema-ID
vehicle_reservation
Collection
vehicle_reservations
Permissions
  • Lezenvehicle_reservation_view
  • Aanmakenvehicle_reservation_create
  • Wijzigenvehicle_reservation_edit
  • Verwijderenvehicle_reservation_delete

Velden

Vehicle Reservation Schema

vehicle_reservations4 permissions

Schema for validating vehicle reservation / Fahrzeugreservierung entities

vehicleIduuidvereist

Reference to vehicle being reserved

driverIduuidvereist

Reference to the fleet driver / Fahrer reserving the vehicle

startDateTimedatetimevereist

Reservation start (ISO 8601)

endDateTimedatetimevereist

Reservation end (ISO 8601)

purposestringoptioneel

Purpose of the reservation / Zweck

max. 500 tekensnullable
notesstringoptioneel

Additional notes

max. 2000 tekensnullable
statusstringoptioneel

Reservation status

REQUESTEDCONFIRMEDACTIVECOMPLETEDCANCELLED
Default: "CONFIRMED"
vehicleLicensePlatestringoptioneel

Denormalized license plate for display

max. 20 tekensnullable
vehicleLabelstringoptioneel

Denormalized vehicle make + model for display

max. 200 tekensnullable
driverNamestringoptioneel

Denormalized driver full name for display

max. 200 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_reservations — Lijst, gepagineerd + filterbaar
  • GET /api/v1/vehicle_reservations/<id> — Enkele entity
  • POST /api/v1/vehicle_reservations — Aanmaken
  • PATCH /api/v1/vehicle_reservations/<id> — Gedeeltelijke update
  • DELETE /api/v1/vehicle_reservations/<id> — Soft-delete
  • GET /api/v1/vehicle_reservations/<id>/timeline — Audit + activiteiten

Zoeken