API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen
Entity · audit_assessments

Audit Assessment Schema

Schema-ID
audit_assessment
Collection
audit_assessments
Permissions
  • Lesenaudit_assessment_view
  • Anlegenaudit_assessment_create
  • Ändernaudit_assessment_edit
  • Löschenaudit_assessment_delete

Felder

Audit Assessment Schema

audit_assessments4 Permissions

Schema for a conducted audit/assessment instance

catalogIduuiderforderlich

FK to audit_catalog

versionIduuiderforderlich

FK to audit_catalog_version (locked at creation)

partyIduuidoptional

FK to party (customer being audited)

nullable
partyNamestringoptional

Denormalized party name

max 200 Zeichennullable
assessorIduuidoptional

FK to user conducting the audit

nullable
assessorNamestringoptional

Denormalized assessor name

max 200 Zeichennullable
statusstringerforderlich

Assessment lifecycle status

DRAFTIN_PROGRESSCOMPLETEDARCHIVED
progressnumberoptional

Completion percentage (0-100), computed from answers

0 – 100Default: 0read-only
scorenumberoptional

Weighted compliance score (0-100), computed on completion

0 – 100read-onlynullable
riskLevelstringoptional

Overall risk level derived from score

CRITICALHIGHMEDIUMLOW
read-onlynullable
reportTextstringoptional

AI-generated markdown report

read-onlynullable
reportGeneratedAtdatetimeoptional

Timestamp of last report generation

read-onlynullable
completedAtdatetimeoptional

Timestamp when assessment was completed

read-onlynullable
tagsstring[]optional

Tags for filtering

Default: []nullable
linkedRiskIdsstring[]optional

Linked risk IDs

Default: []
assessmentPurposestringoptional

Purpose of the assessment

INTERNALVENDOR_ASSESSMENTCUSTOMER_ONBOARDING
Default: "INTERNAL"

Standard-Endpoints

Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:

  • GET /api/v1/audit_assessments — Liste, paginiert + filterbar
  • GET /api/v1/audit_assessments/<id> — Einzelne Entity
  • POST /api/v1/audit_assessments — Anlegen
  • PATCH /api/v1/audit_assessments/<id> — Teil-Update
  • DELETE /api/v1/audit_assessments/<id> — Soft-Delete
  • GET /api/v1/audit_assessments/<id>/timeline — Audit + Aktivitäten

Suche