API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · acceptance_protocols

Acceptance Protocol Schema

Schema-ID
acceptance_protocol
Collection
acceptance_protocols
Permissions
  • Lezenacceptance_protocol_view
  • Aanmakenacceptance_protocol_create
  • Wijzigenacceptance_protocol_edit
  • Verwijderenacceptance_protocol_delete
Relaties

Velden

Acceptance Protocol Schema

acceptance_protocols4 permissions

Schema for validating project acceptance protocol (Abnahmeprotokoll) entities

documentLanguagestringoptioneel

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
projectIduuidvereist→ project

Project this acceptance protocol belongs to

read-only
protocolNumberstringoptioneel

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

max. 100 tekensread-onlynullable
titlestringvereist

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

1–200 tekens
statusstringoptioneel

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

DRAFTSENTSIGNEDREJECTEDCANCELLED
Default: "DRAFT"read-only
introTextstringoptioneel

Editable protocol body / project description shown to the customer.

max. 5000 tekensnullable
scopeItemsobject[]optioneel

Structured list of accepted deliverables / scope of work.

Default: []nullable
labelstringvereist
1–500 tekens
donebooleanoptioneel
Default: false
notestringoptioneel
max. 1000 tekensnullable
projectSnapshotobjectoptioneel

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

read-onlynullable
projectNumberstringoptioneel
nullable
titlestringoptioneel
nullable
descriptionstringoptioneel
nullable
startDatestringoptioneel
nullable
endDatestringoptioneel
nullable
managerNamestringoptioneel
nullable
partyNamestringoptioneel
nullable
partyAddressstringoptioneel
nullable
signerNamestringoptioneel

Name of the customer signer.

max. 200 tekensnullable
signerEmailstringoptioneel

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

max. 320 tekensnullable
signerPartyIduuidoptioneel

Customer party/contact UUID of the signer.

nullable
coSignerUserIduuidoptioneel

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

nullable
feedbackstringoptioneel

Free-text feedback the customer enters during acceptance.

max. 5000 tekensnullable
envelopeIduuidoptioneel

Linked sign_envelope that drives the signature workflow. Protected.

read-onlynullable
unsignedPdfFileIduuidoptioneel

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

read-onlynullable
signedPdfFileIduuidoptioneel

Final signed protocol PDF (files collection). Protected.

read-onlynullable
sentAtdatetimeoptioneel

When the protocol was sent for signature. Protected.

read-onlynullable
acceptedAtdatetimeoptioneel

When the customer signed. Protected.

read-onlynullable
acceptedViastringoptioneel

How the signature was collected. Protected.

IN_PERSONMAGIC_LINKnull
read-onlynullable
ipAddressstringoptioneel

Forensic: signer IP at acceptance time. Protected.

max. 64 tekensread-onlynullable
userAgentstringoptioneel

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

max. 512 tekensread-onlynullable
rejectionReasonstringoptioneel

Reason given when the customer rejects the protocol. Protected.

max. 2000 tekensread-onlynullable

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/acceptance_protocols — Lijst, gepagineerd + filterbaar
  • GET /api/v1/acceptance_protocols/<id> — Enkele entity
  • POST /api/v1/acceptance_protocols — Aanmaken
  • PATCH /api/v1/acceptance_protocols/<id> — Gedeeltelijke update
  • DELETE /api/v1/acceptance_protocols/<id> — Soft-delete
  • GET /api/v1/acceptance_protocols/<id>/timeline — Audit + activiteiten

Zoeken