Pocro Vento Documentation

Backend: Delete reservation

Last modified with commit 54c7b1e on by TjasaSimovic.

Backend task for deleting a Vozni park reservation (DELETE /drivepark/reservations/{reservationId}) – confirm hard delete of the reservation and its booking row, implement, and verify against the spec.

Docs: Kalendar zauzetosti (Reservation menu → Ukloni rezervaciju, Delete confirmation modal) Spec: DELETE /drivepark/reservations/{reservationId} (deleteDriveParkReservation), DriveParkReservationNotFound in api-docs/openapi.yaml DB: DriveParkReservations, VehicleReservations in api/database/pending_schema.sql (-- DRIVE PARK --)

1. Double check API spec and DB structure

2. Implementation

3. Verify implementation against spec

Done when

A Manager of Vozni park can remove a reservation, and the vehicle is free again for that period.