Entity · survey_invitations
Survey Invitation Schema
Velden
Survey Invitation Schema
Schema for satisfaction survey invitations sent to contacts
surveyId
FK to survey
mode
Delivery mode — single-ticket invitation or weekly digest spanning multiple tickets
Waarden
per_ticketweekly_digestDefault: "per_ticket"
ticketId
FK to ticket (required for mode = per_ticket)
nullable
ticketNumber
max. 50 tekensnullable
digestTickets
Tickets included in a weekly digest invitation (mode = weekly_digest)
Default: []nullable
ticketNumber
max. 50 tekens
title
max. 500 tekensnullable
closedAt
nullable
ratedAt
nullable
responseId
nullable
weekOf
ISO-week start (Monday 00:00 UTC) covered by a digest invitation
nullable
partyId
nullable
contactPartyId
nullable
contactId
nullable
contactName
nullable
status
Waarden
PENDINGSENTDELIVEREDOPENEDCOMPLETEDEXPIREDCANCELLEDsentAt
nullable
openedAt
nullable
respondedAt
nullable
responseId
nullable
remindersSent
≥ 0Default: 0
lastReminderAt
nullable
surveyUrl
max. 500 tekensnullable
Geen velden komen overeen met het filter.
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/survey_invitations— Lijst, gepagineerd + filterbaarGET /api/v1/survey_invitations/<id>— Enkele entityPOST /api/v1/survey_invitations— AanmakenPATCH /api/v1/survey_invitations/<id>— Gedeeltelijke updateDELETE /api/v1/survey_invitations/<id>— Soft-deleteGET /api/v1/survey_invitations/<id>/timeline— Audit + activiteiten