API · v1 · estable
CODEMETA OSDeveloper Center
ES
Abrir la consola
Entidad · acceptance_protocols

Acceptance Protocol Schema

ID del esquema
acceptance_protocol
Colección
acceptance_protocols
Permisos
  • Leeracceptance_protocol_view
  • Crearacceptance_protocol_create
  • Modificaracceptance_protocol_edit
  • Eliminaracceptance_protocol_delete
Relaciones

Campos

Acceptance Protocol Schema

acceptance_protocols4 permisos

Schema for validating project acceptance protocol (Abnahmeprotokoll) entities

documentLanguagestringopcional

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
admite null
projectIduuidobligatorio→ project

Project this acceptance protocol belongs to

solo lectura
protocolNumberstringopcional

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

máx. 100 caracteressolo lecturaadmite null
titlestringobligatorio

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

1–200 caracteres
statusstringopcional

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

DRAFTSENTSIGNEDREJECTEDCANCELLED
Valor por defecto: "DRAFT"solo lectura
introTextstringopcional

Editable protocol body / project description shown to the customer.

máx. 5000 caracteresadmite null
scopeItemsobject[]opcional

Structured list of accepted deliverables / scope of work.

Valor por defecto: []admite null
labelstringobligatorio
1–500 caracteres
donebooleanopcional
Valor por defecto: false
notestringopcional
máx. 1000 caracteresadmite null
projectSnapshotobjectopcional

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

solo lecturaadmite null
projectNumberstringopcional
admite null
titlestringopcional
admite null
descriptionstringopcional
admite null
startDatestringopcional
admite null
endDatestringopcional
admite null
managerNamestringopcional
admite null
partyNamestringopcional
admite null
partyAddressstringopcional
admite null
signerNamestringopcional

Name of the customer signer.

máx. 200 caracteresadmite null
signerEmailstringopcional

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

máx. 320 caracteresadmite null
signerPartyIduuidopcional

Customer party/contact UUID of the signer.

admite null
coSignerUserIduuidopcional

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

admite null
feedbackstringopcional

Free-text feedback the customer enters during acceptance.

máx. 5000 caracteresadmite null
envelopeIduuidopcional

Linked sign_envelope that drives the signature workflow. Protected.

solo lecturaadmite null
unsignedPdfFileIduuidopcional

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

solo lecturaadmite null
signedPdfFileIduuidopcional

Final signed protocol PDF (files collection). Protected.

solo lecturaadmite null
sentAtdatetimeopcional

When the protocol was sent for signature. Protected.

solo lecturaadmite null
acceptedAtdatetimeopcional

When the customer signed. Protected.

solo lecturaadmite null
acceptedViastringopcional

How the signature was collected. Protected.

IN_PERSONMAGIC_LINKnull
solo lecturaadmite null
ipAddressstringopcional

Forensic: signer IP at acceptance time. Protected.

máx. 64 caracteressolo lecturaadmite null
userAgentstringopcional

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

máx. 512 caracteressolo lecturaadmite null
rejectionReasonstringopcional

Reason given when the customer rejects the protocol. Protected.

máx. 2000 caracteressolo lecturaadmite null

Endpoints estándar

Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:

  • GET /api/v1/acceptance_protocols — Lista, paginada y filtrable
  • GET /api/v1/acceptance_protocols/<id> — Una entidad
  • POST /api/v1/acceptance_protocols — Crear
  • PATCH /api/v1/acceptance_protocols/<id> — Actualización parcial
  • DELETE /api/v1/acceptance_protocols/<id> — Eliminación lógica
  • GET /api/v1/acceptance_protocols/<id>/timeline — Auditoría y actividades

Búsqueda