Complaint Schema
Felder
Complaint Schema
Schema for validating Reklamationen (complaint/claim) entities
title
Complaint title
status
Workflow status (tenant-configurable)
category
Complaint category (tenant-configurable)
direction
INCOMING = customer to us, OUTGOING = us to supplier
INCOMINGOUTGOINGpriority
Complaint priority
LOWMEDIUMHIGHCRITICALsource
How the complaint was received
EMAILPHONEPORTALIN_PERSONLETTERSYSTEM_ALERTOTHERdescription
Detailed complaint description
customerStatement
Verbatim customer statement
internalNote
Internal-only note
partyId
Customer/supplier party UUID
partyAddressId
Specific site/address of the associated party
contactPartyId
Contact person UUID
assignedToId
Assigned employee user UUID
orgUnitId
Responsible department UUID
linkedTicketId
Linked ticket UUID
linkedOrderId
Linked sales order UUID
linkedContractId
Linked contract UUID
linkedAssetId
Linked asset UUID
linkedInvoiceId
Linked invoice UUID
articleId
Related article/product UUID
responseDeadline
Response deadline (YYYY-MM-DD)
resolutionDeadline
Resolution deadline (YYYY-MM-DD)
claimedAmount
Claimed amount (Decimal128 as string)
creditNoteAmount
Credit note amount (Decimal128 as string)
replacementCost
Replacement cost (Decimal128 as string)
currencyCode
ISO 4217 currency code
estimatedCost
Estimated total cost (Decimal128 as string)
actualCost
Actual total cost (Decimal128 as string)
resolutionNote
How the complaint was resolved
rootCauseCategory
Root cause category (configurable list)
rootCause
Root cause analysis
correctiveAction
Corrective action taken
preventiveAction
Preventive action for future
isAccepted
Whether the complaint was accepted as valid
rejectionReason
Reason for rejection
customerSatisfactionRating
Post-resolution customer satisfaction (1-5)
mergedIntoComplaintId
If set, this complaint was merged into the referenced complaint
mergedIntoComplaintNumber
Complaint number of the complaint this was merged into (denormalized for display)
receivedAt
acknowledgedAt
acceptedAt
rejectedAt
resolvedAt
closedAt
inboundReplyAckedAt
Timestamp at which the latest inbound customer email on this complaint was acknowledged as "handled, no reply needed". Clears the awaiting-reply badge when >= the last inbound email time; a newer inbound email re-arms it. Independent of resolvedAt/closedAt — the badge is shown regardless of workflow state. Mirrors opportunity.inboundReplyAckedAt.
inboundReplyAckedBy
User who acknowledged the latest inbound customer email (see inboundReplyAckedAt).
tags
Tags
attachments
linkedEntities
convertedTo
Set when this complaint was converted to another entity (ticket). The complaint is kept — not deleted — so linked records stay reachable. Written only by the conversion routes.
convertedFrom
Set when this complaint was created by converting another entity (ticket). Written only by the conversion routes.
statusChangedAt
Timestamp of the last status change (drives time_in_status / time_to_status targets, ADR 0117a)
respondedAt
Timestamp of the first agent response to the complaint (drives time_to_first_response targets, ADR 0117a)
targets
Denormalized active service targets (ADR 0117a)
stageKind
time_to_first_responsetime_in_statustime_to_statustime_to_closestageStatus
stageLabel
bindingness
contractualinternalbreachedAt
completedAt
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/complaints— Liste, paginiert + filterbarGET /api/v1/complaints/<id>— Einzelne EntityPOST /api/v1/complaints— AnlegenPATCH /api/v1/complaints/<id>— Teil-UpdateDELETE /api/v1/complaints/<id>— Soft-DeleteGET /api/v1/complaints/<id>/timeline— Audit + Aktivitäten