Entité · vehicle_reservations
Vehicle Reservation Schema
Champs
Vehicle Reservation Schema
Schema for validating vehicle reservation / Fahrzeugreservierung entities
vehicleId
Reference to vehicle being reserved
driverId
Reference to the fleet driver / Fahrer reserving the vehicle
startDateTime
Reservation start (ISO 8601)
endDateTime
Reservation end (ISO 8601)
purpose
Purpose of the reservation / Zweck
max. 500 caractèresnullable
notes
Additional notes
max. 2000 caractèresnullable
status
Reservation status
Valeurs
REQUESTEDCONFIRMEDACTIVECOMPLETEDCANCELLEDPar défaut : "CONFIRMED"
vehicleLicensePlate
Denormalized license plate for display
max. 20 caractèresnullable
vehicleLabel
Denormalized vehicle make + model for display
max. 200 caractèresnullable
driverName
Denormalized driver full name for display
max. 200 caractèresnullable
Aucun champ ne correspond au filtre.
Endpoints standard
Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :
GET /api/v1/vehicle_reservations— Liste, paginée et filtrableGET /api/v1/vehicle_reservations/<id>— Une entitéPOST /api/v1/vehicle_reservations— CréerPATCH /api/v1/vehicle_reservations/<id>— Mise à jour partielleDELETE /api/v1/vehicle_reservations/<id>— Suppression logiqueGET /api/v1/vehicle_reservations/<id>/timeline— Audit et activités