API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · vacation_handovers

Vacation Handover Schema

ID du schéma
vacation_handover
Collection
vacation_handovers
Autorisations
  • Lirevacation_handover_view
  • Créervacation_handover_create
  • Modifiervacation_handover_edit
  • Supprimervacation_handover_delete

Champs

Vacation Handover Schema

vacation_handovers4 autorisations

Schema for validating vacation handover entities (Urlaubsübergaben)

subjectUserIduuidobligatoire

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

subjectUserNamestringfacultatif

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

max. 200 caractèresnullable
periodFromdateobligatoire

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

periodTodateobligatoire

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

sourceVacationRequestIduuidfacultatif

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

nullable
statusstringfacultatif

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

DRAFTCOMPLETED
Par défaut : "DRAFT"
notestringfacultatif

Optional overall note for the handover.

max. 2000 caractèresnullable
notifyUserIdsuuid[]facultatif

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).

max. 100 élémentsPar défaut : []nullable
notifyUserNamesstring[]facultatif

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

max. 100 élémentsPar défaut : []nullable
itemsobject[]facultatif

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

Par défaut : []nullable
entityTypestringobligatoire

Which kind of entity this item refers to.

tickettaskopportunity
entityIduuidobligatoire

UUID of the ticket, task or opportunity.

entityLabelstringfacultatif

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

max. 500 caractèresnullable
actionstringobligatoire

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
Par défaut : "SKIP"
newAssigneeUserIduuidfacultatif

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

nullable
newAssigneeUserNamestringfacultatif

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

max. 200 caractèresnullable
commentstringfacultatif

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

max. 4000 caractèresnullable
appliedAtdatetimefacultatif

When this item was applied (null until applied).

nullable
appliedResultstringfacultatif

Outcome of applying this item.

OKFAILEDnull
nullable
appliedErrorstringfacultatif

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

max. 500 caractèresnullable
appliedErrorCodestringfacultatif

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`.

max. 100 caractèresnullable
appliedErrorParamsobjectfacultatif

Interpolation values for `appliedErrorCode`.

nullable
customerNotesobject[]facultatif

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.

max. 200 élémentsPar défaut : []nullable
partyIduuidobligatoire

Customer (party) UUID the hint refers to.

partyNamestringfacultatif

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

max. 300 caractèresnullable
notestringobligatoire

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

max. 4000 caractères
appliedAtdatetimefacultatif

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

nullable
appliedResultstringfacultatif

Outcome of posting the customer NOTE activity.

OKFAILEDnull
nullable
appliedErrorstringfacultatif

Failure reason when appliedResult=FAILED.

max. 500 caractèresnullable
appliedErrorCodestringfacultatif

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`.

max. 100 caractèresnullable
appliedErrorParamsobjectfacultatif

Interpolation values for `appliedErrorCode`.

nullable

Endpoints standard

Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :

  • GET /api/v1/vacation_handovers — Liste, paginée et filtrable
  • GET /api/v1/vacation_handovers/<id> — Une entité
  • POST /api/v1/vacation_handovers — Créer
  • PATCH /api/v1/vacation_handovers/<id> — Mise à jour partielle
  • DELETE /api/v1/vacation_handovers/<id> — Suppression logique
  • GET /api/v1/vacation_handovers/<id>/timeline — Audit et activités

Recherche