Benefit Booking Schema
Velden
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
Geen velden komen overeen met het filter.
Standaard-endpoints
Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:
GET /api/v1/benefit_bookings— Lijst, gepagineerd + filterbaarGET /api/v1/benefit_bookings/<id>— Enkele entityPOST /api/v1/benefit_bookings— AanmakenPATCH /api/v1/benefit_bookings/<id>— Gedeeltelijke updateDELETE /api/v1/benefit_bookings/<id>— Soft-deleteGET /api/v1/benefit_bookings/<id>/timeline— Audit + activiteiten