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

Vacation Handover Schema

Schema-ID
vacation_handover
Collection
vacation_handovers
Permissions
  • Lezenvacation_handover_view
  • Aanmakenvacation_handover_create
  • Wijzigenvacation_handover_edit
  • Verwijderenvacation_handover_delete

Velden

Vacation Handover Schema

vacation_handovers4 permissions

Schema for validating vacation handover entities (Urlaubsübergaben)

subjectUserIduuidvereist

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

subjectUserNamestringoptioneel

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

max. 200 tekensnullable
periodFromdatevereist

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

periodTodatevereist

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

sourceVacationRequestIduuidoptioneel

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

nullable
statusstringoptioneel

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

DRAFTCOMPLETED
Default: "DRAFT"
notestringoptioneel

Optional overall note for the handover.

max. 2000 tekensnullable
notifyUserIdsuuid[]optioneel

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 itemsDefault: []nullable
notifyUserNamesstring[]optioneel

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

max. 100 itemsDefault: []nullable
itemsobject[]optioneel

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

Default: []nullable
entityTypestringvereist

Which kind of entity this item refers to.

tickettaskopportunity
entityIduuidvereist

UUID of the ticket, task or opportunity.

entityLabelstringoptioneel

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

max. 500 tekensnullable
actionstringvereist

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
Default: "SKIP"
newAssigneeUserIduuidoptioneel

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

nullable
newAssigneeUserNamestringoptioneel

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

max. 200 tekensnullable
commentstringoptioneel

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

max. 4000 tekensnullable
appliedAtdatetimeoptioneel

When this item was applied (null until applied).

nullable
appliedResultstringoptioneel

Outcome of applying this item.

OKFAILEDnull
nullable
appliedErrorstringoptioneel

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

max. 500 tekensnullable
appliedErrorCodestringoptioneel

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 tekensnullable
appliedErrorParamsobjectoptioneel

Interpolation values for `appliedErrorCode`.

nullable
customerNotesobject[]optioneel

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 itemsDefault: []nullable
partyIduuidvereist

Customer (party) UUID the hint refers to.

partyNamestringoptioneel

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

max. 300 tekensnullable
notestringvereist

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

max. 4000 tekens
appliedAtdatetimeoptioneel

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

nullable
appliedResultstringoptioneel

Outcome of posting the customer NOTE activity.

OKFAILEDnull
nullable
appliedErrorstringoptioneel

Failure reason when appliedResult=FAILED.

max. 500 tekensnullable
appliedErrorCodestringoptioneel

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 tekensnullable
appliedErrorParamsobjectoptioneel

Interpolation values for `appliedErrorCode`.

nullable

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

Zoeken