API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · benefit_bookings

Benefit Booking Schema

Schema ID
benefit_booking
Collection
benefit_bookings
Permissions
  • Readbenefit_booking_view
  • Createbenefit_booking_create
  • Editbenefit_booking_edit
  • Deletebenefit_booking_delete

Fields

Benefit Booking Schema

benefit_bookings4 permissions

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

benefitIduuidrequired

UUID of the benefit catalog entry

employeeIduuidrequired

UUID of the employee (user) who requested the benefit

statusstringrequired

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

REQUESTEDAPPROVEDREJECTEDACTIVECANCELLED
Default: "REQUESTED"
requestedAtdatetimeoptional

Timestamp when the employee submitted the request

read-only
decidedAtdatetimeoptional

Timestamp when HR approved or rejected the request

nullable
decidedByIduuidoptional

UUID of the HR user who approved or rejected the request

nullable
employeeNotestringoptional

Optional note from the employee accompanying the request

max 2000 charactersnullable
hrNotestringoptional

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

max 2000 charactersnullable
validFromdateoptional

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

nullable
validUntildateoptional

Optional end date of the benefit

nullable

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 + filterable
  • GET /api/v1/benefit_bookings/<id> — Single entity
  • POST /api/v1/benefit_bookings — Create
  • PATCH /api/v1/benefit_bookings/<id> — Partial update
  • DELETE /api/v1/benefit_bookings/<id> — Soft delete
  • GET /api/v1/benefit_bookings/<id>/timeline — Audit + activities

Search