API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · benefit_bookings

Benefit Booking Schema

Schema-ID
benefit_booking
Collection
benefit_bookings
Permissions
  • Lezenbenefit_booking_view
  • Aanmakenbenefit_booking_create
  • Wijzigenbenefit_booking_edit
  • Verwijderenbenefit_booking_delete

Velden

Benefit Booking Schema

benefit_bookings4 permissions

Schema for validating benefit booking requests submitted by employees and tracked by HR

benefitIduuidvereist

UUID of the benefit catalog entry

employeeIduuidvereist

UUID of the employee (user) who requested the benefit

statusstringvereist

Lifecycle status: REQUESTED (initial), APPROVED, REJECTED, ACTIVE (currently in use), CANCELLED

REQUESTEDAPPROVEDREJECTEDACTIVECANCELLED
Default: "REQUESTED"
requestedAtdatetimeoptioneel

Timestamp when the employee submitted the request

read-only
decidedAtdatetimeoptioneel

Timestamp when HR approved or rejected the request

nullable
decidedByIduuidoptioneel

UUID of the HR user who approved or rejected the request

nullable
employeeNotestringoptioneel

Optional note from the employee accompanying the request

max. 2000 tekensnullable
hrNotestringoptioneel

Internal HR note (e.g. processing status, external reference, rejection reason)

max. 2000 tekensnullable
validFromdateoptioneel

Optional start date of the benefit (set by HR on approval)

nullable
validUntildateoptioneel

Optional end date of the benefit

nullable

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 + filterbaar
  • GET /api/v1/benefit_bookings/<id> — Enkele entity
  • POST /api/v1/benefit_bookings — Aanmaken
  • PATCH /api/v1/benefit_bookings/<id> — Gedeeltelijke update
  • DELETE /api/v1/benefit_bookings/<id> — Soft-delete
  • GET /api/v1/benefit_bookings/<id>/timeline — Audit + activiteiten

Zoeken