fixed to tell open damages from repaired ones.data, an empty array when the vehicle has none. HTTP 200 is also used for failures: always check success. When it is false, the body is an ErrorUnauthorized (status_code 401 or 403).{
"success": true,
"status_code": 200,
"errors": [],
"data": [
{
"id": 88,
"label": "Scratch - Front bumper - 10 cm scratch on the left side",
"reservation_id": 1052,
"description": "10 cm scratch on the left side",
"amount": {
"currency": "usd",
"currency_icon": "$",
"amount": "150.00",
"usd_amount": "150.00",
"amount_for_display": "$150.00"
},
"charge_in_reservation": true,
"fixed": false,
"section": {
"id": 4,
"name": "Front bumper",
"price": {
"currency": "usd",
"currency_icon": "$",
"amount": "120.00",
"usd_amount": "120.00",
"amount_for_display": "$120.00"
}
},
"damage_type": {
"id": 2,
"name": "Scratch"
},
"created_by": "Ana Pérez"
}
]
}