Benefit Booking Schema
Fields
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
No fields match the filter.
Standard endpoints
This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:
GET /api/v1/benefit_bookings— List, paginated + filterableGET /api/v1/benefit_bookings/<id>— Single entityPOST /api/v1/benefit_bookings— CreatePATCH /api/v1/benefit_bookings/<id>— Partial updateDELETE /api/v1/benefit_bookings/<id>— Soft deleteGET /api/v1/benefit_bookings/<id>/timeline— Audit + activities