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

Performance Review Schema

ID del esquema
performance_review
Colección
performance_reviews
Permisos
  • Leerperformance_review_view
  • Crearperformance_review_create
  • Modificarperformance_review_edit
  • Eliminarperformance_review_delete

Campos

Performance Review Schema

performance_reviews4 permisos

Multi-participant performance review (Performance-Review) with templated questionnaire, meeting and Entwicklungsplan

employeeIduuidobligatorio

UUID of the employee profile being reviewed

typestringobligatorio

Review type

ANNUALPROBATION360_DEGREEAD_HOC
Valor por defecto: "ANNUAL"
statusstringopcional

Workflow status

DRAFTCOLLECTINGAWAITING_MEETINGMEETING_SCHEDULEDAWAITING_AGREEMENT_APPROVALAGREEMENTS_ACTIVECOMPLETEDCANCELLED
Valor por defecto: "DRAFT"
namestringopcional

Optional display name (defaults to template name + period if not set)

máx. 200 caracteresadmite null
templateIduuidobligatorio

Reference to the performance_review_template used to seed this review

templateSnapshotobjectopcional

Frozen copy of the template at DRAFT→COLLECTING transition. Immutable after that point.

solo lecturaadmite null
namestringopcional
versionintegeropcional
≥ 1solo lectura
localestringopcional
admite null
blocksobject[]opcional
startDatedateobligatorio

Date the review becomes active (participants get notified)

deadlinedateobligatorio

Deadline by which all participants must have submitted their answers

participantsobject[]obligatorio

List of participants. Exactly one must have role EMPLOYEE; the rest are MANAGER (1..n) or OBSERVER (0..n, no questionnaire).

mín. 2 elementos
userIduuidobligatorio
rolestringobligatorio
EMPLOYEEMANAGEROBSERVER
managerKindstringopcional

Optional hint about manager relationship type

DISCIPLINARYFUNCTIONALDOTTED
admite null
submittedAtdatetimeopcional
admite null
answersobjectopcional

Map of questionId → answer value (shape depends on question type)

Valor por defecto: {}
overallRatingnumberopcional

Mandatory final-block rating (1–5)

1 – 5admite null
overallCommentstringopcional

Mandatory final-block free-text comment

máx. 5000 caracteresadmite null
meetingobjectopcional
admite null
scheduledAtdatetimeopcional
admite null
durationMinintegeropcional
15 – 480Valor por defecto: 60
locationstringopcional
máx. 500 caracteresadmite null
proposedSlotsobject[]opcional
Valor por defecto: []
startdatetimeobligatorio
enddatetimeobligatorio
conflictsobject[]opcional
Valor por defecto: []
userIduuidobligatorio
statusstringobligatorio
FREEBUSYOFF_SHIFT
confirmedByuuidopcional
admite null
confirmedAtdatetimeopcional
admite null
calendarEventIduuidopcional

UUID of the linked calendar_events doc created on schedule-meeting. Bidirectional sync: edits to the event mirror back to this meeting block.

admite null
locationIduuidopcional

Optional UUID of the linked `locations` entity (building/room). When set, takes precedence over the free-text `location` field on display.

admite null
isTeamsMeetingbooleanopcional

When true, the linked calendar_events doc is marked as a Teams meeting and Outlook sync will auto-generate the onlineMeetingUrl.

Valor por defecto: false
agreementsobject[]opcional

Entwicklungsplan — list of action items / agreements captured during the meeting

Valor por defecto: []
iduuidobligatorio
titlestringobligatorio
1–500 caracteres
descriptionstringopcional
máx. 5000 caracteresadmite null
ownerIduuidopcional
admite null
dueDatedateopcional
admite null
statusstringopcional
OPENIN_PROGRESSIN_REVIEWDONE
Valor por defecto: "OPEN"
createTaskbooleanopcional

When true and an ownerId is set, a linked task is spawned on save and kept in bidirectional sync.

Valor por defecto: false
linkedTaskIduuidopcional

UUID of the linked task (set by syncAgreementTasks after spawn). Cleared when the agreement opts out or is removed.

admite null
finalSummarystringopcional

Fazit — final summary written by the disciplinary manager / HR

máx. 10000 caracteresadmite null
overallRatingnumberopcional

Aggregated overall rating (typically the manager overall, set on COMPLETED)

1 – 5admite null
pdfFileIduuidopcional

DMS file reference rendered after COMPLETED

solo lecturaadmite null
completedAtdatetimeopcional
admite null
archivedAtdatetimeopcional

Set when the review transitions AGREEMENTS_ACTIVE → COMPLETED (manual archive or all agreements done).

solo lecturaadmite null
agreementApprovalsobject[]opcional

Per-EMPLOYEE/MANAGER approval of the development plan. Required for transition AWAITING_AGREEMENT_APPROVAL → AGREEMENTS_ACTIVE.

Valor por defecto: []
userIduuidobligatorio
approvedAtdatetimeobligatorio
previousReviewIduuidopcional

Chain back to the previous performance_review for the same employee — surfaces old agreements in the new conversation.

admite null
cancelledAtdatetimeopcional
admite null
cancelReasonstringopcional
máx. 1000 caracteresadmite null
notesstringopcional

Internal HR notes

máx. 5000 caracteresadmite 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_reviews — Lista, paginada y filtrable
  • GET /api/v1/performance_reviews/<id> — Una entidad
  • POST /api/v1/performance_reviews — Crear
  • PATCH /api/v1/performance_reviews/<id> — Actualización parcial
  • DELETE /api/v1/performance_reviews/<id> — Eliminación lógica
  • GET /api/v1/performance_reviews/<id>/timeline — Auditoría y actividades

Búsqueda