API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · acceptance_protocols

Acceptance Protocol Schema

Schema ID
acceptance_protocol
Collection
acceptance_protocols
Permissions
  • Readacceptance_protocol_view
  • Createacceptance_protocol_create
  • Editacceptance_protocol_edit
  • Deleteacceptance_protocol_delete
Relationships

Fields

Acceptance Protocol Schema

acceptance_protocols4 permissions

Schema for validating project acceptance protocol (Abnahmeprotokoll) entities

documentLanguagestringoptional

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

Project this acceptance protocol belongs to

read-only
protocolNumberstringoptional

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

max 100 charactersread-onlynullable
titlestringrequired

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

1–200 characters
statusstringoptional

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

DRAFTSENTSIGNEDREJECTEDCANCELLED
Default: "DRAFT"read-only
introTextstringoptional

Editable protocol body / project description shown to the customer.

max 5000 charactersnullable
scopeItemsobject[]optional

Structured list of accepted deliverables / scope of work.

Default: []nullable
labelstringrequired
1–500 characters
donebooleanoptional
Default: false
notestringoptional
max 1000 charactersnullable
projectSnapshotobjectoptional

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
projectNumberstringoptional
nullable
titlestringoptional
nullable
descriptionstringoptional
nullable
startDatestringoptional
nullable
endDatestringoptional
nullable
managerNamestringoptional
nullable
partyNamestringoptional
nullable
partyAddressstringoptional
nullable
signerNamestringoptional

Name of the customer signer.

max 200 charactersnullable
signerEmailstringoptional

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

max 320 charactersnullable
signerPartyIduuidoptional

Customer party/contact UUID of the signer.

nullable
coSignerUserIduuidoptional

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

nullable
feedbackstringoptional

Free-text feedback the customer enters during acceptance.

max 5000 charactersnullable
envelopeIduuidoptional

Linked sign_envelope that drives the signature workflow. Protected.

read-onlynullable
unsignedPdfFileIduuidoptional

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

read-onlynullable
signedPdfFileIduuidoptional

Final signed protocol PDF (files collection). Protected.

read-onlynullable
sentAtdatetimeoptional

When the protocol was sent for signature. Protected.

read-onlynullable
acceptedAtdatetimeoptional

When the customer signed. Protected.

read-onlynullable
acceptedViastringoptional

How the signature was collected. Protected.

IN_PERSONMAGIC_LINKnull
read-onlynullable
ipAddressstringoptional

Forensic: signer IP at acceptance time. Protected.

max 64 charactersread-onlynullable
userAgentstringoptional

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

max 512 charactersread-onlynullable
rejectionReasonstringoptional

Reason given when the customer rejects the protocol. Protected.

max 2000 charactersread-onlynullable

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/acceptance_protocols — List, paginated + filterable
  • GET /api/v1/acceptance_protocols/<id> — Single entity
  • POST /api/v1/acceptance_protocols — Create
  • PATCH /api/v1/acceptance_protocols/<id> — Partial update
  • DELETE /api/v1/acceptance_protocols/<id> — Soft delete
  • GET /api/v1/acceptance_protocols/<id>/timeline — Audit + activities

Search