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

Training Requirement Schema

Schema-ID
training_requirement
Collection
training_requirements
Permissions
  • Lezentraining_requirement_view
  • Aanmakentraining_requirement_create
  • Wijzigentraining_requirement_edit
  • Verwijderentraining_requirement_delete

Velden

Training Requirement Schema

training_requirements4 permissions

Rule that makes a training mandatory for a group of employees (Schulungspflicht) and generates training assignments

titlestringvereist
1–300 tekens
descriptionstringoptioneel
max. 5000 tekensnullable
activebooleanoptioneel

Inactive rules generate no new assignments; existing ones stay

Default: true
typestringoptioneel
MANDATORYRECOMMENDED
Default: "MANDATORY"
courseIduuidoptioneel

Academy course (own or shared). Null for an external training.

nullable
sourceTenantIdstringoptioneel

Owner tenant when courseId is a course shared into this tenant

max. 64 tekensnullable
shareIduuidoptioneel
nullable
courseTitlestringoptioneel
max. 500 tekensnullable
isExternalbooleanoptioneel
Default: false
externalTrainingNamestringoptioneel
max. 500 tekensnullable
externalProviderstringoptioneel
max. 500 tekensnullable
providerTypestringoptioneel
INTERNALEXTERNALnull
nullable
deliveryModestringoptioneel
REMOTEONSITEnull
nullable
targetModestringvereist
ALL_EMPLOYEESORG_UNITSEMPLOYEES
orgUnitIdsuuid[]optioneel
max. 200 itemsDefault: []
employeeIdsuuid[]optioneel
max. 5000 itemsDefault: []
includeNewHiresbooleanoptioneel

Assign automatically to employees who enter the scope later

Default: true
dueModestringvereist
FIXED_DATEDAYS_AFTER_ASSIGNMENTDAYS_AFTER_HIRE
dueDatedateoptioneel

FIXED_DATE: deadline for everybody assigned before it

nullable
dueDaysnumberoptioneel

DAYS_AFTER_ASSIGNMENT / DAYS_AFTER_HIRE: completion window in days

1 – 730nullable
recurrenceMonthsnumberoptioneel

Repeat every N months after completion (e.g. 12 = annual refresher)

1 – 120nullable
lastAppliedAtdatetimeoptioneel

Last time assignments were generated from this rule

nullable
notesstringoptioneel
max. 5000 tekensnullable

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

Zoeken