Activity Schema
Felder
Activity Schema
Schema for universal communication/activity log entries
activityType
Type of activity
MEETINGCALLEMAILNOTEDOCUMENTSTATUS_CHANGEOTHERsubject
Activity subject/title
body
Activity description/notes (plain text or markdown)
htmlBody
Rich text body (HTML)
occurredAt
When the activity occurred (ISO 8601)
durationMinutes
Duration in minutes (for meetings, calls)
direction
Communication direction (for calls/emails)
INBOUNDOUTBOUNDpartyId
Linked company/organization (for CRM timeline)
contactPartyId
Linked contact person
performedById
User who performed the activity
participantIds
Internal user participants
isInternal
Marks an internal activity (e.g. internal meeting). Internal activities are hidden from customer-facing/external activity feeds.
entityType
Primary linked entity type (e.g. project, ticket, opportunity)
entityId
Primary linked entity ID
linkedEntities
Additional linked entities beyond the primary
sourceType
How this activity was created
manualphone_callcalendar_eventemail_messagesystemsourceEntityId
ID of the source entity that generated this activity
outcome
Outcome/result of the activity
followUpDate
Scheduled follow-up date
tags
Tags
followUpTaskId
UUID of the task that was auto-created from `followUpDate`. The dialog syncs this task (title/dueDate/cancellation) whenever the activity is saved. Cleared when the user removes the follow-up date.
customerSentiment
Captured customer sentiment for this interaction. Feeds the Customer Health Score.
positiveneutralnegativenullcustomerRating
Customer satisfaction rating (1–5 stars). Feeds the Customer Health Score.
feedbackNote
Free-text note accompanying customer sentiment/rating
sentimentSource
Whether sentiment was captured manually or detected by AI
manualai_detectednullaiSentimentConfidence
Confidence score 0–1 for AI-detected sentiment (Phase 2)
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/activities— Liste, paginiert + filterbarGET /api/v1/activities/<id>— Einzelne EntityPOST /api/v1/activities— AnlegenPATCH /api/v1/activities/<id>— Teil-UpdateDELETE /api/v1/activities/<id>— Soft-DeleteGET /api/v1/activities/<id>/timeline— Audit + Aktivitäten