Create a new vehicle assessment
POST/v1/vehicle-assessments
Upload the images of the vehicle and get the assessment via webhooks
Request
- application/json
Body
required
- Array [
- ]
registration_number stringrequired
Registration number of the vehicle
assessment_type stringrequired
Possible values: [pre-policy, post-loss]
Type of assessment
pre_policy_assessment_id string
Required when assessment_type is post-loss. ID of the pre-policy assessment.
images object[]required
image urls of the vehicle
url string
URL of the file
part string
Possible values: [left, right, rear, front, dashboard, vin-plate, license-plate, video]
Side of the vehicle
Responses
- 201
- 400
- 401
- 422
OK
- application/json
- Schema
- Example (from schema)
Schema
id integer
ID of the pre-policy assessment
assessment_id integer
ID of the post-loss assessment
claim_id integer
ID of the claim created for a post-loss assessment
info string
Information about the assessment
{
"id": 0,
"assessment_id": 0,
"claim_id": 0,
"info": "Processing images. Updates will be sent via webhooks."
}
Bad request.
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "400 Bad Request (Client Error)"
}
Unauthenticated - no valid API key was provided.
- application/json
- Schema
- Example (from schema)
Schema
data string
{
"data": "Invalid Token"
}
Unprocessable Content
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
message string
error object
property name* string[]
string
{
"message": "The given data was invalid",
"error": {}
}
Loading...