feat(promotions): add CRUD endpoints for promotion by id #101

Merged
djalim merged 3 commits from feature/PMPR-15-16-17-api-promotions-id into develop 2026-04-22 12:41:04 +00:00
Collaborator
  • GET /promotions/{idPromo} returns promotion or 404
  • PUT /promotions/{idPromo} updates year or 404
  • DELETE /promotions/{idPromo} deletes promotion or 404
  • Only employees allowed, otherwise 403

ferme #15 #16 #17

- GET /promotions/{idPromo} returns promotion or 404 - PUT /promotions/{idPromo} updates year or 404 - DELETE /promotions/{idPromo} deletes promotion or 404 - Only employees allowed, otherwise 403 ferme #15 #16 #17
djalim force-pushed feature/PMPR-15-16-17-api-promotions-id from 19c6b24bea to da88de418b 2026-04-22 12:39:49 +00:00 Compare
djalim added 3 commits 2026-04-22 12:40:41 +00:00
- GET /promotions/{idPromo} returns promotion or 404
- PUT /promotions/{idPromo} updates year or 404
- DELETE /promotions/{idPromo} deletes promotion or 404
- Only employees allowed, otherwise 403
djalim force-pushed feature/PMPR-15-16-17-api-promotions-id from da88de418b to 5229453169 2026-04-22 12:40:41 +00:00 Compare
djalim merged commit 5229453169 into develop 2026-04-22 12:41:04 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/PolyMPR#101