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

Vacation Handover Schema

ID del esquema
vacation_handover
Colección
vacation_handovers
Permisos
  • Leervacation_handover_view
  • Crearvacation_handover_create
  • Modificarvacation_handover_edit
  • Eliminarvacation_handover_delete

Campos

Vacation Handover Schema

vacation_handovers4 permisos

Schema for validating vacation handover entities (Urlaubsübergaben)

subjectUserIduuidobligatorio

User UUID of the absent person whose tickets/tasks are handed over.

subjectUserNamestringopcional

Denormalized display name of the subject, for the handover list.

máx. 200 caracteresadmite null
periodFromdateobligatorio

First day of the absence (ISO 8601 date: YYYY-MM-DD), inclusive.

periodTodateobligatorio

Last day of the absence (ISO 8601 date: YYYY-MM-DD), inclusive.

sourceVacationRequestIduuidopcional

Backlink to the approved vacation_request the period was pre-filled from.

admite null
statusstringopcional

DRAFT while the wizard is open; COMPLETED once the handover has been applied.

DRAFTCOMPLETED
Valor por defecto: "DRAFT"
notestringopcional

Optional overall note for the handover.

máx. 2000 caracteresadmite null
notifyUserIdsuuid[]opcional

Internal user IDs that get an in-app notification when the handover is created. They are ALSO granted read access to this handover (see ADR 0197).

máx. 100 elementosValor por defecto: []admite null
notifyUserNamesstring[]opcional

Denormalized display names parallel to `notifyUserIds` (same order), for the UI chips. Display-only; the IDs are authoritative.

máx. 100 elementosValor por defecto: []admite null
itemsobject[]opcional

Embedded snapshot of each covered ticket/task and its handover action.

Valor por defecto: []admite null
entityTypestringobligatorio

Which kind of entity this item refers to.

tickettaskopportunity
entityIduuidobligatorio

UUID of the ticket, task or opportunity.

entityLabelstringopcional

Denormalized label (ticket number + title) for list/audit display.

máx. 500 caracteresadmite null
actionstringobligatorio

REASSIGN = set new technician/owner; DISPATCH = unassign + hand to manual dispatch (tickets only); INFO = only post an internal comment/note (no change); SKIP = leave unchanged. Opportunities support REASSIGN, INFO and SKIP.

REASSIGNDISPATCHINFOSKIP
Valor por defecto: "SKIP"
newAssigneeUserIduuidopcional

For action=REASSIGN: the substitute technician (user UUID).

admite null
newAssigneeUserNamestringopcional

Denormalized display name of the substitute, for the detail view.

máx. 200 caracteresadmite null
commentstringopcional

Optional info posted as an internal comment on the ticket/task.

máx. 4000 caracteresadmite null
appliedAtdatetimeopcional

When this item was applied (null until applied).

admite null
appliedResultstringopcional

Outcome of applying this item.

OKFAILEDnull
admite null
appliedErrorstringopcional

Failure reason when appliedResult=FAILED (e.g. missing permission).

máx. 500 caracteresadmite null
appliedErrorCodestringopcional

Catalog code (API_ERRORS_CATALOG) of the failure, so the UI can show it in its own language. Absent on rows written before ADR 1033 — those only carry the German `appliedError`.

máx. 100 caracteresadmite null
appliedErrorParamsobjectopcional

Interpolation values for `appliedErrorCode`.

admite null
customerNotesobject[]opcional

Free customer-referenced hints that are NOT tied to a ticket/task/opportunity. Each is posted as an internal NOTE activity on the referenced customer (party) CRM timeline when the handover is applied, and stays visible in the handover.

máx. 200 elementosValor por defecto: []admite null
partyIduuidobligatorio

Customer (party) UUID the hint refers to.

partyNamestringopcional

Denormalized customer display name, for the handover list/detail.

máx. 300 caracteresadmite null
notestringobligatorio

Free-text hint about this customer, posted as an internal NOTE activity.

máx. 4000 caracteres
appliedAtdatetimeopcional

When the NOTE activity was posted (null until applied).

admite null
appliedResultstringopcional

Outcome of posting the customer NOTE activity.

OKFAILEDnull
admite null
appliedErrorstringopcional

Failure reason when appliedResult=FAILED.

máx. 500 caracteresadmite null
appliedErrorCodestringopcional

Catalog code (API_ERRORS_CATALOG) of the failure, so the UI can show it in its own language. Absent on rows written before ADR 1033 — those only carry the German `appliedError`.

máx. 100 caracteresadmite null
appliedErrorParamsobjectopcional

Interpolation values for `appliedErrorCode`.

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

Búsqueda