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

Benefit Schema

Schema ID
benefit
Collection
benefits
Permissions
  • Readbenefit_view
  • Createbenefit_create
  • Editbenefit_edit
  • Deletebenefit_delete

Fields

Benefit Schema

benefits4 permissions

Schema for validating benefit catalog entries (Mitarbeiterbenefits, von HR gepflegt)

namestringrequired

Display name of the benefit (e.g. "JobRad", "Urban Sports Club")

1–200 characters
descriptionstringoptional

Short description shown on the benefit card

max 5000 charactersnullable
longDescriptionstringoptional

Full description shown in the detail dialog (Markdown allowed)

max 20000 charactersnullable
categorystringrequired

High-level category, drives icon/color in catalog view

MOBILITYHEALTHFOODFINANCEEDUCATIONEQUIPMENTFAMILYOTHER
iconKeystringoptional

Optional icon name from the shared Icons component (e.g. "Bike", "Heart", "GraduationCap")

max 64 charactersnullable
coverImageUrlstringoptional

Optional URL to a cover image displayed on the benefit card

max 2000 charactersnullable
bookingModestringrequired

INTERNAL = booked via app with HR approval; EXTERNAL_LINK = redirect to provider page only; HYBRID = both options available

INTERNALEXTERNAL_LINKHYBRID
externalUrlstringoptional

Landing page of the benefit provider (used for EXTERNAL_LINK and HYBRID modes)

max 2000 charactersnullable
internalInstructionsstringoptional

Instructions shown to employees when booking via INTERNAL/HYBRID mode

max 10000 charactersnullable
monthlyValuenumberoptional

Optional monetary value per month in EUR (for display purposes only)

≥ 0nullable
eligibilitystringoptional

Free-form eligibility criteria (e.g. "ab 6 Monaten Betriebszugehörigkeit") for display only

max 1000 charactersnullable
availableSlotsnumberoptional

Optional cap on the number of active bookings; null means unlimited

≥ 0nullable
isActivebooleanoptional

Whether the benefit is visible to employees in the catalog

Default: true
sortOrdernumberoptional

Optional manual sort order for the catalog view (lower comes first)

nullable
tagsstring[]optional

Free-form tags for filtering

max 20 itemsnullable

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

Search