Pocro Vento Documentation

Backend: Zapisnik o vraćanju – view

Last modified with commit 54c7b1e on by TjasaSimovic.

Backend task for the return part of GET /drivepark/records/{recordId} – check the API spec and DB structure, return the return data, photos and signatures, compute Voženo, implement, and verify against the spec.

Docs: Zapisnik o vraćanju – view Spec: GET /drivepark/records/{recordId} (getDriveParkRecord), DriveParkRecordDetail (return*, drivenDays, drivenHours) in api-docs/openapi.yaml DB: DriveParkRecords (Return* columns), DriveParkRecordPhotos in api/database/pending_schema.sql (-- DRIVE PARK --)

The endpoint itself is built in Backend: Zapisnik o preuzimanju – view. This task covers the return part.

1. Double check API spec and DB structure

2. Implementation

3. Verify implementation against spec

Done when

A returned record can be opened read-only with the return data, Voženo, photos and both return signatures.