API · v1 · estable
CODEMETA OSDeveloper Center
ES
Abrir la consola
Entidad · performance_review_templates

Performance Review Template Schema

ID del esquema
performance_review_template
Colección
performance_review_templates
Permisos
  • Leerperformance_review_template_view
  • Crearperformance_review_template_create
  • Modificarperformance_review_template_edit
  • Eliminarperformance_review_template_delete

Campos

Performance Review Template Schema

performance_review_templates4 permisos

Schema for validating performance review template entities (Fragebogen-Vorlagen für Mitarbeitergespräche)

namestringobligatorio

Template name

1–200 caracteres
descriptionstringopcional

Template description

máx. 2000 caracteresadmite null
isActivebooleanopcional

Only active templates can be selected when creating new reviews

Valor por defecto: true
isDefaultbooleanopcional

Default template used when none is explicitly selected

Valor por defecto: false
versionintegerobligatorio

Template version, bumped when a referenced template is edited

≥ 1Valor por defecto: 1solo lectura
previousVersionIduuidopcional

Reference to the previous version when a new version is created

solo lecturaadmite null
localestringopcional

Primary locale for prompts

Valor por defecto: "de"
blocksobject[]obligatorio

Ordered list of question blocks. The last block is always the locked "Gesamtleistung" block (auto-enforced server-side).

mín. 1 elementos
blockIduuidobligatorio

Stable block identifier

titlestringobligatorio

Block heading (Überschrift)

1–300 caracteres
descriptionstringopcional

Optional helper text shown under the block heading

máx. 2000 caracteresadmite null
sortOrderintegerobligatorio

Sort order within the template

≥ 0
lockedbooleanopcional

Locked blocks (e.g. final "Gesamtleistung") cannot be edited or removed

Valor por defecto: false
questionsobject[]obligatorio
mín. 1 elementos
questionIdstringobligatorio

Stable question identifier. Reserved IDs: __overall_rating, __overall_comment

1–100 caracteres
promptstringobligatorio

Question text shown to participants

1–2000 caracteres
helpTextstringopcional

Optional helper / context text

máx. 2000 caracteresadmite null
requiredbooleanobligatorio

If true, the question must be answered before submitting

Valor por defecto: true
typestringobligatorio

Primary answer type (always equals types[0] when types is set; kept for backward compat). SKILL_INTEREST is reserved for the auto-injected __skill_interests question.

FREETEXTRATING_1_5YES_NOSINGLE_CHOICEMULTI_CHOICEDATENUMBERSKILL_INTEREST
typesstring[]opcional

Ordered list of answer sub-types. When set, the question renders one input per sub-type and the answer value is stored as an object keyed by sub-type.

mín. 1 elementosadmite null
configobjectopcional

Type-specific configuration

admite null
maxCharsintegeropcional
1 – 50000admite null
minWordsintegeropcional
≥ 0admite null
maxWordsintegeropcional
≥ 1admite null
optionsstring[]opcional
admite null
minSelectionsintegeropcional
≥ 1admite null
maxSelectionsintegeropcional
≥ 1admite null
minnumberopcional
admite null
maxnumberopcional
admite null
stepnumberopcional
admite null

Endpoints estándar

Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:

  • GET /api/v1/performance_review_templates — Lista, paginada y filtrable
  • GET /api/v1/performance_review_templates/<id> — Una entidad
  • POST /api/v1/performance_review_templates — Crear
  • PATCH /api/v1/performance_review_templates/<id> — Actualización parcial
  • DELETE /api/v1/performance_review_templates/<id> — Eliminación lógica
  • GET /api/v1/performance_review_templates/<id>/timeline — Auditoría y actividades

Búsqueda