Pocro Vento Documentation

Backend: Editing existing BTC školovanje

Last modified with commit 54c7b1e on by TjasaSimovic.

Backend task for updating a BTC školovanje (POST /btc-trainings/{trainingId}) – check the status rule, candidate matching and the "candidate has data" rule against the API spec and DB structure, implement, and verify against the spec.

Docs: Editing existing BTC školovanje Spec: POST /btc-trainings/{trainingId} (updateBtcTraining), BtcTrainingNewRequest, BtcTrainingConflict in api-docs/openapi.yaml DB: BtcTrainings, BtcTrainingModules, BtcTrainingCandidates, BtcTrainingAttendance in api/database/create_schema.sql

The form is prefilled from GET /btc-trainings/{trainingId} (Backend: BTC školovanje detail).

1. Double check API spec and DB structure

2. Implementation

3. Verify implementation against spec

Done when

A trainer can edit an active or upcoming školovanje, without losing attendance or files.