Pocro Vento Documentation

Backend: Zapisnik o preuzimanju – view

GitHub Issue: #195

Last modified with commit 374306c on by Aljaž.

Backend task for loading a record (GET /drivepark/records/{recordId}) for the pickup form and the pickup view – check the API spec and DB structure, return the vehicle data, equipment, photos and signatures, implement, and verify against the spec.

Docs: Zapisnik o preuzimanju – view Spec: GET /drivepark/records/{recordId} (getDriveParkRecord), DriveParkRecordDetail, DriveParkRecordPhoto, DriveParkRecordNotFound in api-docs/openapi.yaml DB: DriveParkRecords, DriveParkRecordEquipment, DriveParkRecordPhotos in api/database/pending_schema.sql (-- DRIVE PARK --)

The same endpoint also loads a Draft into the pickup form and a record into the return form and return view (Backend: Zapisnik o vraćanju – view).

1. Double check API spec and DB structure

2. Implementation

3. Verify implementation against spec

Done when

A completed pickup record can be opened read-only with all its data, photos and both signatures.