API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · vehicle_damages

Vehicle Damage Schema

ID du schéma
vehicle_damage
Collection
vehicle_damages
Autorisations
  • Lirevehicle_damage_view
  • Créervehicle_damage_create
  • Modifiervehicle_damage_edit
  • Supprimervehicle_damage_delete

Champs

Vehicle Damage Schema

vehicle_damages4 autorisations

Schema for validating vehicle damage report / Schadensmeldung entities

vehicleIduuidobligatoire

Reference to the vehicle

reportedByIduuidfacultatif

User who reported the damage

nullable
datedateobligatoire

Date of the damage incident

descriptionstringobligatoire

Damage description

1–2000 caractères
locationstringfacultatif

Location on the vehicle (e.g. vorne links, Heckklappe)

max. 200 caractèresnullable
damageZonesstring[]facultatif

Affected zones on the vehicle from the SVG damage map

Par défaut : []nullable
severitystringfacultatif

Damage severity

MINORMODERATEMAJOR
Par défaut : "MINOR"
statusstringfacultatif

Current damage status

REPORTEDIN_REPAIRREPAIREDINSURANCE_CLAIM
Par défaut : "REPORTED"
estimatedRepairCoststringfacultatif

Estimated repair cost in EUR

Motifnullable
actualRepairCoststringfacultatif

Actual repair cost in EUR

Motifnullable
repairCoststringfacultatif

Repair cost in EUR as decimal string (legacy)

Motifnullable
repairShopstringfacultatif

Repair shop / Werkstatt

max. 200 caractèresnullable
repairStartDatedatefacultatif

Repair start date

nullable
repairEndDatedatefacultatif

Repair end date

nullable
responsiblePartystringfacultatif

Responsible party for the damage

DRIVERTHIRD_PARTYUNKNOWN
nullable
policeReportNumberstringfacultatif

Police report number / Polizeiaktenzeichen

max. 100 caractèresnullable
insuranceClaimNumberstringfacultatif

Insurance claim number

max. 100 caractèresnullable
insuranceClaimStatusstringfacultatif

Insurance claim processing status

NONESUBMITTEDIN_REVIEWAPPROVEDDENIEDPAID
nullable
thirdPartyInsuranceobjectfacultatif

Third party insurance details

nullable
companystringfacultatif

Third party insurance company

max. 200 caractères
policyNumberstringfacultatif

Third party policy number

max. 100 caractèresnullable
claimNumberstringfacultatif

Third party claim number

max. 100 caractèresnullable
insuranceDeductiblestringfacultatif

Insurance deductible amount in EUR / Selbstbeteiligung

Motifnullable
insuranceReimbursementstringfacultatif

Insurance reimbursement amount in EUR / Erstattungsbetrag

Motifnullable
expertAssessmentDatedatefacultatif

Expert assessment appointment date / Gutachtertermin

nullable
expertAssessmentCoststringfacultatif

Expert assessment cost in EUR / Gutachterkosten

Motifnullable
expertReportAttachmentIdstringfacultatif

Expert report document attachment ID

nullable
insuranceSubmissionDatedatefacultatif

Date insurance claim was submitted / Einreichungsdatum

nullable
insuranceResponseDeadlinedatefacultatif

Insurance response deadline / Frist der Versicherung

nullable
insuranceResolutionDatedatefacultatif

Date insurance claim was resolved / Abschlussdatum der Versicherung

nullable
workflowStepsobject[]facultatif

Audit trail of completed workflow steps

Par défaut : []nullable
stepstringobligatoire

Workflow step identifier

completedAtdatetimeobligatoire

When step was completed

completedByuuidobligatoire

User who completed the step

notesstringfacultatif

Notes for this step

max. 1000 caractèresnullable
linkedTaskIduuidfacultatif

Linked ticket/task ID for repair tracking

nullable
attachmentIdsstring[]facultatif

Photo attachment IDs

Par défaut : []
notesstringfacultatif

Additional notes

max. 2000 caractèresnullable

Endpoints standard

Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :

  • GET /api/v1/vehicle_damages — Liste, paginée et filtrable
  • GET /api/v1/vehicle_damages/<id> — Une entité
  • POST /api/v1/vehicle_damages — Créer
  • PATCH /api/v1/vehicle_damages/<id> — Mise à jour partielle
  • DELETE /api/v1/vehicle_damages/<id> — Suppression logique
  • GET /api/v1/vehicle_damages/<id>/timeline — Audit et activités

Recherche