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

Vehicle Damage Schema

Schema-ID
vehicle_damage
Collection
vehicle_damages
Permissions
  • Lezenvehicle_damage_view
  • Aanmakenvehicle_damage_create
  • Wijzigenvehicle_damage_edit
  • Verwijderenvehicle_damage_delete

Velden

Vehicle Damage Schema

vehicle_damages4 permissions

Schema for validating vehicle damage report / Schadensmeldung entities

vehicleIduuidvereist

Reference to the vehicle

reportedByIduuidoptioneel

User who reported the damage

nullable
datedatevereist

Date of the damage incident

descriptionstringvereist

Damage description

1–2000 tekens
locationstringoptioneel

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

max. 200 tekensnullable
damageZonesstring[]optioneel

Affected zones on the vehicle from the SVG damage map

Default: []nullable
severitystringoptioneel

Damage severity

MINORMODERATEMAJOR
Default: "MINOR"
statusstringoptioneel

Current damage status

REPORTEDIN_REPAIRREPAIREDINSURANCE_CLAIM
Default: "REPORTED"
estimatedRepairCoststringoptioneel

Estimated repair cost in EUR

Patternnullable
actualRepairCoststringoptioneel

Actual repair cost in EUR

Patternnullable
repairCoststringoptioneel

Repair cost in EUR as decimal string (legacy)

Patternnullable
repairShopstringoptioneel

Repair shop / Werkstatt

max. 200 tekensnullable
repairStartDatedateoptioneel

Repair start date

nullable
repairEndDatedateoptioneel

Repair end date

nullable
responsiblePartystringoptioneel

Responsible party for the damage

DRIVERTHIRD_PARTYUNKNOWN
nullable
policeReportNumberstringoptioneel

Police report number / Polizeiaktenzeichen

max. 100 tekensnullable
insuranceClaimNumberstringoptioneel

Insurance claim number

max. 100 tekensnullable
insuranceClaimStatusstringoptioneel

Insurance claim processing status

NONESUBMITTEDIN_REVIEWAPPROVEDDENIEDPAID
nullable
thirdPartyInsuranceobjectoptioneel

Third party insurance details

nullable
companystringoptioneel

Third party insurance company

max. 200 tekens
policyNumberstringoptioneel

Third party policy number

max. 100 tekensnullable
claimNumberstringoptioneel

Third party claim number

max. 100 tekensnullable
insuranceDeductiblestringoptioneel

Insurance deductible amount in EUR / Selbstbeteiligung

Patternnullable
insuranceReimbursementstringoptioneel

Insurance reimbursement amount in EUR / Erstattungsbetrag

Patternnullable
expertAssessmentDatedateoptioneel

Expert assessment appointment date / Gutachtertermin

nullable
expertAssessmentCoststringoptioneel

Expert assessment cost in EUR / Gutachterkosten

Patternnullable
expertReportAttachmentIdstringoptioneel

Expert report document attachment ID

nullable
insuranceSubmissionDatedateoptioneel

Date insurance claim was submitted / Einreichungsdatum

nullable
insuranceResponseDeadlinedateoptioneel

Insurance response deadline / Frist der Versicherung

nullable
insuranceResolutionDatedateoptioneel

Date insurance claim was resolved / Abschlussdatum der Versicherung

nullable
workflowStepsobject[]optioneel

Audit trail of completed workflow steps

Default: []nullable
stepstringvereist

Workflow step identifier

completedAtdatetimevereist

When step was completed

completedByuuidvereist

User who completed the step

notesstringoptioneel

Notes for this step

max. 1000 tekensnullable
linkedTaskIduuidoptioneel

Linked ticket/task ID for repair tracking

nullable
attachmentIdsstring[]optioneel

Photo attachment IDs

Default: []
notesstringoptioneel

Additional notes

max. 2000 tekensnullable

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

Zoeken