Create a new pre-evaluation
POST/v1/pre-evaluation
Request
- application/json
Body
required
- Array [
- ]
Chassis number of the vehicle
Manufacturer of the vehicle
Model of the vehicle
Year of manufacture of the vehicle
Color of the vehicle
Engine number of the vehicle
Usage of the vehicle
License number of the vehicle
License expiry date of the vehicle
Value of the vehicle
Currency of the vehicle value
Type of the vehicle
vehicle_details object[]
Details of the vehicle
URL of the vehicle
Possible values: [left
, right
, rear
, front
]
Side of the vehicle
Registration number of the vehicle
Type of assessment
Responses
- 201
- 400
- 422
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
data PreEvaluationResponse
Chassis number of the vehicle
Manufacturer of the vehicle
Model of the vehicle
Year of manufacture of the vehicle
Color of the vehicle
Engine number of the vehicle
Usage of the vehicle
License number of the vehicle
License expiry date of the vehicle
Value of the vehicle
Currency of the vehicle value
Type of the vehicle
vehicle_details object[]
Details of the vehicle
URL of the vehicle
Side of the vehicle
Registration number of the vehicle
Type of assessment
Date of creation of the pre-evaluation
Reference of the pre-evaluation
files object[]
Files of the pre-evaluation
URL of the file
Side of the file
Status of the file
{
"data": {
"chassis_number": "string",
"manufacturer": "string",
"model": "string",
"year": "string",
"color": "string",
"engine_no": "string",
"usage": "string",
"license_number": "string",
"license_expiry": "string",
"vehicle_value": "string",
"vehicle_value_currency": "string",
"vehicle_type": "string",
"vehicle_details": [
{
"url": "string",
"side": "string"
}
],
"vehicle_regno": "string",
"assessment_type": "string",
"created_at": "string",
"ref": "string",
"files": [
{
"url": "string",
"side": "string",
"status": "string"
}
]
}
}
Bad request.
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "400 Bad Request (Client Error)"
}
Unprocessable Content
- application/json
- Schema
- Example (from schema)
Schema
errors object
{
"message": "The given data was invalid",
"errors": {
"chassis_number": [
"The chassis number field is required."
]
}
}