Repair Decision
Create a Repair Decision
Create a new repair decision
Authorizations
Body
regionstring · enumRequiredPossible values:
user_emailstringRequiredExample:
[email protected]
decision_idstringRequiredExample:
MRC123
loss_datestringOptionalExample:
23 May 2024
estimate_datestringOptionalExample:
02 June 2024
approval_datestringOptionalExample:
14 June 2024
regostringOptionalExample:
1IDX452
statestringOptionalExample:
Only used in Australia when rego is provided
WA
vehicle_titlestringOptionalExample:
2022 Toyota Hilux SR5
odometernumberRequiredExample:
50000
repairer_namestringOptionalExample:
John Smith Auto Services
repair_refitnumberOptionalExample:
Only used when repair_type is estimate
1111
repair_installnumberOptionalExample:
Only used when repair_type is estimate
2222
repair_paintnumberOptionalExample:
Only used when repair_type is estimate
3333
repair_partsnumberOptionalExample:
Only used when repair_type is estimate
4444
repair_miscellaneousnumberOptionalExample:
Only used when repair_type is estimate
5555
repair_costnumberOptionalExample:
Only used when repair_type is exact
12345
repair_supplementarynumberOptionalExample:
Supplementary percentage to add to total repair cost
2
repair_notesstringOptionalExample:
Front left door needs replacing
salvage_notesstringOptionalExample:
Transport
salvage_costnumberOptionalExample:
2000
pav_valuenumberOptionalExample:
Only used when pav_type is exact
30000
decision_notesstringOptionalExample:
Car has sentimental value to the customer
Responses
200
Success
application/json
201
Created
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
post
POST /v2/repair-decisions/ HTTP/1.1
Host: api.autograb.com.au
ApiKey: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 777
{
"region": "au",
"user_email": "[email protected]",
"decision_id": "MRC123",
"loss_date": "23 May 2024",
"estimate_date": "02 June 2024",
"approval_date": "14 June 2024",
"rego": "1IDX452",
"state": "WA",
"vehicle_title": "2022 Toyota Hilux SR5",
"odometer": 50000,
"repairer_name": "John Smith Auto Services",
"repair_type": "estimate",
"repair_refit": 1111,
"repair_install": 2222,
"repair_paint": 3333,
"repair_parts": 4444,
"repair_miscellaneous": 5555,
"repair_cost": 12345,
"repair_supplementary": 2,
"repair_notes": "Front left door needs replacing",
"salvage_type": "estimate",
"salvage_status": "repairable",
"salvage_notes": "Transport",
"salvage_cost": 2000,
"pav_type": "estimate",
"pav_estimate_type": "market",
"pav_value": 30000,
"decision_type": "repair",
"decision_notes": "Car has sentimental value to the customer"
}
{
"success": true,
"error": "text"
}
Last updated
Was this helpful?