Entité · survey_invitations
Survey Invitation Schema
Champs
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
Valeurs
per_ticketweekly_digestPar défaut : "per_ticket"
ticketId
FK to ticket (required for mode = per_ticket)
nullable
ticketNumber
max. 50 caractèresnullable
digestTickets
Tickets included in a weekly digest invitation (mode = weekly_digest)
Par défaut : []nullable
ticketNumber
max. 50 caractères
title
max. 500 caractèresnullable
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
Valeurs
PENDINGSENTDELIVEREDOPENEDCOMPLETEDEXPIREDCANCELLEDsentAt
nullable
openedAt
nullable
respondedAt
nullable
responseId
nullable
remindersSent
≥ 0Par défaut : 0
lastReminderAt
nullable
surveyUrl
max. 500 caractèresnullable
Aucun champ ne correspond au filtre.
Endpoints standard
Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :
GET /api/v1/survey_invitations— Liste, paginée et filtrableGET /api/v1/survey_invitations/<id>— Une entitéPOST /api/v1/survey_invitations— CréerPATCH /api/v1/survey_invitations/<id>— Mise à jour partielleDELETE /api/v1/survey_invitations/<id>— Suppression logiqueGET /api/v1/survey_invitations/<id>/timeline— Audit et activités