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

Acceptance Protocol Schema

ID du schéma
acceptance_protocol
Collection
acceptance_protocols
Autorisations
  • Lireacceptance_protocol_view
  • Créeracceptance_protocol_create
  • Modifieracceptance_protocol_edit
  • Supprimeracceptance_protocol_delete
Relations

Champs

Acceptance Protocol Schema

acceptance_protocols4 autorisations

Schema for validating project acceptance protocol (Abnahmeprotokoll) entities

documentLanguagestringfacultatif

Language the document (PDF) is rendered in. Decided when the document is created (explicit → customer language → tenant default → de) and never re-derived. Missing = de.

deenesfrnlnull
nullable
projectIduuidobligatoire→ project

Project this acceptance protocol belongs to

lecture seule
protocolNumberstringfacultatif

Human-readable sequence number (e.g. ABN-2026-00042). Assigned server-side; protected.

max. 100 caractèreslecture seulenullable
titlestringobligatoire

Protocol title (defaults to "Abnahmeprotokoll – <project title>")

1–200 caractères
statusstringfacultatif

Lifecycle status. DRAFT = editable; SENT = envelope dispatched/awaiting signature; SIGNED = customer accepted; REJECTED = customer declined; CANCELLED = voided. Protected.

DRAFTSENTSIGNEDREJECTEDCANCELLED
Par défaut : "DRAFT"lecture seule
introTextstringfacultatif

Editable protocol body / project description shown to the customer.

max. 5000 caractèresnullable
scopeItemsobject[]facultatif

Structured list of accepted deliverables / scope of work.

Par défaut : []nullable
labelstringobligatoire
1–500 caractères
donebooleanfacultatif
Par défaut : false
notestringfacultatif
max. 1000 caractèresnullable
projectSnapshotobjectfacultatif

Immutable copy of the relevant project fields at protocol creation time, so the protocol stays stable even if the project changes afterwards. Protected.

lecture seulenullable
projectNumberstringfacultatif
nullable
titlestringfacultatif
nullable
descriptionstringfacultatif
nullable
startDatestringfacultatif
nullable
endDatestringfacultatif
nullable
managerNamestringfacultatif
nullable
partyNamestringfacultatif
nullable
partyAddressstringfacultatif
nullable
signerNamestringfacultatif

Name of the customer signer.

max. 200 caractèresnullable
signerEmailstringfacultatif

Email of the customer signer (used for the magic-link flow).

max. 320 caractèresnullable
signerPartyIduuidfacultatif

Customer party/contact UUID of the signer.

nullable
coSignerUserIduuidfacultatif

Optional internal user (e.g. project manager) who co-signs.

nullable
feedbackstringfacultatif

Free-text feedback the customer enters during acceptance.

max. 5000 caractèresnullable
envelopeIduuidfacultatif

Linked sign_envelope that drives the signature workflow. Protected.

lecture seulenullable
unsignedPdfFileIduuidfacultatif

Generated, not-yet-signed protocol PDF (files collection). Protected.

lecture seulenullable
signedPdfFileIduuidfacultatif

Final signed protocol PDF (files collection). Protected.

lecture seulenullable
sentAtdatetimefacultatif

When the protocol was sent for signature. Protected.

lecture seulenullable
acceptedAtdatetimefacultatif

When the customer signed. Protected.

lecture seulenullable
acceptedViastringfacultatif

How the signature was collected. Protected.

IN_PERSONMAGIC_LINKnull
lecture seulenullable
ipAddressstringfacultatif

Forensic: signer IP at acceptance time. Protected.

max. 64 caractèreslecture seulenullable
userAgentstringfacultatif

Forensic: signer user-agent at acceptance time. Protected.

max. 512 caractèreslecture seulenullable
rejectionReasonstringfacultatif

Reason given when the customer rejects the protocol. Protected.

max. 2000 caractèreslecture seulenullable

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

Recherche