Benefit Booking Schema
Champs
Benefit Booking Schema
Schema for validating benefit booking requests submitted by employees and tracked by HR
benefitId
UUID of the benefit catalog entry
employeeId
UUID of the employee (user) who requested the benefit
status
Lifecycle status: REQUESTED (initial), APPROVED, REJECTED, ACTIVE (currently in use), CANCELLED
REQUESTEDAPPROVEDREJECTEDACTIVECANCELLEDrequestedAt
Timestamp when the employee submitted the request
decidedAt
Timestamp when HR approved or rejected the request
decidedById
UUID of the HR user who approved or rejected the request
employeeNote
Optional note from the employee accompanying the request
hrNote
Internal HR note (e.g. processing status, external reference, rejection reason)
validFrom
Optional start date of the benefit (set by HR on approval)
validUntil
Optional end date of the benefit
Aucun champ ne correspond au filtre.
Endpoints standard
Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :
GET /api/v1/benefit_bookings— Liste, paginée et filtrableGET /api/v1/benefit_bookings/<id>— Une entitéPOST /api/v1/benefit_bookings— CréerPATCH /api/v1/benefit_bookings/<id>— Mise à jour partielleDELETE /api/v1/benefit_bookings/<id>— Suppression logiqueGET /api/v1/benefit_bookings/<id>/timeline— Audit et activités