Vacation Handover Schema
Felder
Vacation Handover Schema
Schema for validating vacation handover entities (Urlaubsübergaben)
subjectUserId
User UUID of the absent person whose tickets/tasks are handed over.
subjectUserName
Denormalized display name of the subject, for the handover list.
periodFrom
First day of the absence (ISO 8601 date: YYYY-MM-DD), inclusive.
periodTo
Last day of the absence (ISO 8601 date: YYYY-MM-DD), inclusive.
sourceVacationRequestId
Backlink to the approved vacation_request the period was pre-filled from.
status
DRAFT while the wizard is open; COMPLETED once the handover has been applied.
DRAFTCOMPLETEDnote
Optional overall note for the handover.
notifyUserIds
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).
notifyUserNames
Denormalized display names parallel to `notifyUserIds` (same order), for the UI chips. Display-only; the IDs are authoritative.
items
Embedded snapshot of each covered ticket/task and its handover action.
entityType
Which kind of entity this item refers to.
tickettaskopportunityentityId
UUID of the ticket, task or opportunity.
entityLabel
Denormalized label (ticket number + title) for list/audit display.
action
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.
REASSIGNDISPATCHINFOSKIPnewAssigneeUserId
For action=REASSIGN: the substitute technician (user UUID).
newAssigneeUserName
Denormalized display name of the substitute, for the detail view.
comment
Optional info posted as an internal comment on the ticket/task.
appliedAt
When this item was applied (null until applied).
appliedResult
Outcome of applying this item.
OKFAILEDnullappliedError
Failure reason when appliedResult=FAILED (e.g. missing permission).
customerNotes
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.
partyId
Customer (party) UUID the hint refers to.
partyName
Denormalized customer display name, for the handover list/detail.
note
Free-text hint about this customer, posted as an internal NOTE activity.
appliedAt
When the NOTE activity was posted (null until applied).
appliedResult
Outcome of posting the customer NOTE activity.
OKFAILEDnullappliedError
Failure reason when appliedResult=FAILED.
Keine Felder passen zum Filter.
Standard-Endpoints
Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:
GET /api/v1/vacation_handovers— Liste, paginiert + filterbarGET /api/v1/vacation_handovers/<id>— Einzelne EntityPOST /api/v1/vacation_handovers— AnlegenPATCH /api/v1/vacation_handovers/<id>— Teil-UpdateDELETE /api/v1/vacation_handovers/<id>— Soft-DeleteGET /api/v1/vacation_handovers/<id>/timeline— Audit + Aktivitäten