API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · survey_invitations

Survey Invitation Schema

ID du schéma
survey_invitation
Collection
survey_invitations
Autorisations
  • Liresurvey_invitation_view
  • Créersurvey_invitation_create
  • Modifiersurvey_invitation_edit
  • Supprimersurvey_invitation_delete
Relations

Champs

Survey Invitation Schema

survey_invitations4 autorisations

Schema for satisfaction survey invitations sent to contacts

surveyIduuidobligatoire→ survey

FK to survey

modestringfacultatif

Delivery mode — single-ticket invitation or weekly digest spanning multiple tickets

per_ticketweekly_digest
Par défaut : "per_ticket"
ticketIduuidfacultatif→ ticket

FK to ticket (required for mode = per_ticket)

nullable
ticketNumberstringfacultatif
max. 50 caractèresnullable
digestTicketsobject[]facultatif

Tickets included in a weekly digest invitation (mode = weekly_digest)

Par défaut : []nullable
ticketIduuidobligatoire→ ticket
ticketNumberstringobligatoire
max. 50 caractères
titlestringfacultatif
max. 500 caractèresnullable
closedAtdatetimefacultatif
nullable
ratedAtdatetimefacultatif
nullable
responseIduuidfacultatif
nullable
weekOfdatetimefacultatif

ISO-week start (Monday 00:00 UTC) covered by a digest invitation

nullable
partyIduuidfacultatif
nullable
contactPartyIduuidfacultatif
nullable
contactIduuidfacultatif
nullable
contactEmailemailobligatoire
contactNamestringfacultatif
nullable
statusstringobligatoire
PENDINGSENTDELIVEREDOPENEDCOMPLETEDEXPIREDCANCELLED
sentAtdatetimefacultatif
nullable
openedAtdatetimefacultatif
nullable
respondedAtdatetimefacultatif
nullable
responseIduuidfacultatif
nullable
remindersSentnumberfacultatif
≥ 0Par défaut : 0
lastReminderAtdatetimefacultatif
nullable
expiresAtdatetimeobligatoire
surveyUrlstringfacultatif
max. 500 caractèresnullable

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 filtrable
  • GET /api/v1/survey_invitations/<id> — Une entité
  • POST /api/v1/survey_invitations — Créer
  • PATCH /api/v1/survey_invitations/<id> — Mise à jour partielle
  • DELETE /api/v1/survey_invitations/<id> — Suppression logique
  • GET /api/v1/survey_invitations/<id>/timeline — Audit et activités

Recherche