Pocro Vento Documentation

Backend: Delete Zapisnik

Last modified with commit 54c7b1e on by TjasaSimovic.

Backend task for deleting a Draft record (DELETE /drivepark/records/{recordId}) – confirm hard delete, check the Draft-only rule, remove child rows and blobs, implement, and verify against the spec.

Docs: Zapisnici list (Deleting a record) Spec: DELETE /drivepark/records/{recordId} (deleteDriveParkRecord), DriveParkRecordConflict in api-docs/openapi.yaml DB: DriveParkRecords, DriveParkRecordEquipment, DriveParkRecordPhotos 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 draft record, and it disappears from the list.