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

Certificate Schema

Schema-ID
certificate
Collection
certificates
Permissions
  • Lezencertificate_view
  • Aanmakencertificate_create
  • Wijzigencertificate_edit
  • Verwijderencertificate_delete
Relaties

Velden

Certificate Schema

certificates4 permissions

Schema for validating completion certificates in the Academy/LMS module

documentLanguagestringoptioneel

Language the certificate PDF is rendered in. Decided when the certificate is issued and never re-derived. Missing = de.

deenesfrnlnull
nullable
courseIdstringvereist

ID of the completed course

min. 1 tekens
userIdstringvereist

ID of the student who earned the certificate

min. 1 tekensread-only
enrollmentIdstringvereist

ID of the enrollment record

min. 1 tekensread-only
certificateNumberstringvereist

Unique certificate number

min. 1 tekensread-only
issuedAtdatetimevereist

Date and time when the certificate was issued

validUntildatetimeoptioneel

Certificate expiration date (if applicable)

nullable
templateIdstringoptioneel

ID of the certificate template used

nullable
consumerTenantIdstringoptioneel

Tenant the learner belongs to. Null for MSP-internal certificates; set for cross-tenant.

read-onlynullable
courseTenantIdstringoptioneel

Platform courses only (ADR 1074, Weg b): tenant holding the course content. The certificate itself lives in the learner tenant.

read-onlynullable
consumerUserIdstringoptioneel

users._id of the learner in the consumer tenant (ADR 0693). Null for MSP-internal certificates.

read-onlynullable
designobjectoptioneel

Visual design of the completion certificate. Missing = default design.

read-onlynullable
templatestringoptioneel
modernclassicminimal
accentColorstringoptioneel
Patternnullable
titlestringoptioneel
max. 60 tekensnullable
statementstringoptioneel
max. 160 tekensnullable
descriptionstringoptioneel
max. 280 tekensnullable
signerNamestringoptioneel
max. 80 tekensnullable
signerRolestringoptioneel
max. 80 tekensnullable
signatureFileIdstringoptioneel
Patternnullable
logoFileIdstringoptioneel
Patternnullable
showGradebooleanoptioneel
showHoursbooleanoptioneel
showQrbooleanoptioneel
validityMonthsintegeroptioneel
1 – 240nullable
issuerNamestringoptioneel

Issuer as printed on the certificate, shown on the public verification page.

read-onlynullable
verificationTokenstringoptioneel

Capability token in the QR code of the certificate. Never returned by generic reads.

read-onlynullable
metadataobjectvereist
courseNamestringvereist

Name of the completed course

min. 1 tekens
studentNamestringvereist

Name of the student who completed the course

min. 1 tekens
instructorNamestringoptioneel

Name of the course instructor

nullable
completionDatedatetimevereist

Date when the course was completed

gradestringoptioneel

Grade or performance rating

nullable
hoursnumbervereist

Total course hours for certification

≥ 0

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

Zoeken