Campaign Item Schema
Felder
Campaign Item Schema
A single work item inside a campaign, one per target entity (party/asset/contact/…). Holds status, assignee, snapshot, outcome, linked artefacts and per-action run history.
campaignId
targetEntityType
Schema id of the target entity (e.g. "party", "asset").
targetEntityId
snapshot
resolvedContact
contactPartyId
contactRelationshipId
email
functionRoles
resolverReason
status
PENDINGIN_PROGRESSDONESKIPPEDFAILEDSKIPPED_NO_RECIPIENTSKIPPED_NO_CONSENTSKIPPED_FREQUENCY_CAPSKIPPED_LEFT_SEGMENTUNSUBSCRIBEDBOUNCEDCOMPLAINEDstatusReason
outcome
Type-specific enum (CONVERTED, NOT_INTERESTED, MEETING_BOOKED, UPGRADED, …).
outcomeAt
outcomeBy
outcomeNotes
assigneeUserId
assigneeTeamId
dueDate
priority
LOWNORMALHIGHURGENTnotes
uniqueKey
Dedup key: campaignId + targetEntityType + targetEntityId (+ contactRelationshipId if sendToAllMatching).
resendCount
Number of manual re-executions via /resend. Mixed into the action correlationId so the send-email Redis dedup (24h TTL) does not swallow the re-send.
enteredAt
When the item entered the campaign (= createdAt normally).
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/campaign_items— Liste, paginiert + filterbarGET /api/v1/campaign_items/<id>— Einzelne EntityPOST /api/v1/campaign_items— AnlegenPATCH /api/v1/campaign_items/<id>— Teil-UpdateDELETE /api/v1/campaign_items/<id>— Soft-DeleteGET /api/v1/campaign_items/<id>/timeline— Audit + Aktivitäten