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

DMS Retention Policy Schema

Schema-ID
dms_retention_policy
Collection
dms_retention_policies
Permissions
  • Lezendms_retention_policy_view
  • Aanmakendms_retention_policy_create
  • Wijzigendms_retention_policy_edit
  • Verwijderendms_retention_policy_delete

Velden

DMS Retention Policy Schema

dms_retention_policies4 permissions

Schema for validating DMS retention policies (GoBD-Aufbewahrungsrichtlinien)

namestringvereist

Policy name

1–200 tekens
descriptionstringoptioneel
nullable
documentTypesstring[]optioneel

Which document types this policy applies to

Default: []
retentionYearsnumbervereist

Retention period in years (6 for Handelsrecht, 10 for Steuerrecht)

1 – 30
actionstringvereist

Action when retention expires

ARCHIVENOTIFYDELETE_REVIEW
isGobdRelevantbooleanoptioneel

If true, documents can never be auto-deleted

Default: false
notifyBeforeDaysnumberoptioneel

Days before expiry to send notification

≥ 0nullable
isActivebooleanoptioneel
Default: true

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

Zoeken