Create uvv_inspection
POST/v1/uvv_inspections
Create a new uvv_inspection in the active tenant.
Datenmodell
Diese Operation arbeitet auf der Entität UVV Inspection (uvv_inspection). Alle 11 Felder — Typ, Validierung, Pflichtangabe, Beziehungen — stehen in der Schema-Referenz.
- Pflichtfelder:
vehicleId,inspectionDate,nextDueDate - Server-verwaltet:
_id,schema,schemaVersion,tenantId,version,createdAt,updatedAt,createdBy,updatedBy,deletedAt,deletedBy— diese Felder vergibt die Plattform; im Request werden sie verworfen.
Beispiel
curl -X POST https://api.codemeta-os.de/v1/uvv_inspections \
-H "X-Tenant-Id: $TENANT" \
-b cookies.txtconst result = await cm.uvv_inspections.post();Antwortcodes
| HTTP | Bedeutung |
|---|---|
200 |
Default Response |