Update a mileage check-in.
PUT/api/vehicles/checkin/mileage/:id
Update a mileage check-in.
Request
Path Parameters
The id of the checkin
- application/json
Body
required
Array [
]
Array [
]
License plate number of the vehicle.
Current Mileage of vehicle. If this is not the first check-in the mileage will be validated against other check-ins and needs to equal or exceed those.
licensePhotos
object[]
Photos of the license plate. At this time only photo is supported
Url of the photo. The photo needs to be uploaded via the Photo Upload API.
odometerPhotos
object[]
Photos of the odometer. At this time only photo is supported
Url of the photo. The photo needs to be uploaded via the Photo Upload API.
Responses
- 200
OK
- */*
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Id of the checkin
License plate number
Admin generated note. Usually used for on-hold or declined check-ins
Check-in date
Possible values: [Confirmed, Declined, OnHold, Pending]
Status of the check-in
Mileage at time of check-in
A indicative time for the next check-in. If the check-ins are allowed at a specific cadence this value will carry the next recommended check-in date. When more complex rules are allowed this field should not be used.
Last updated on
licensePhotos
object[]
The photo of the license plate
URL of the photo
Latitude at which photo was taken
Longitude at which photo was taken
odometerPhotos
object[]
The photo of the odometer
URL of the photo
Latitude at which photo was taken
Longitude at which photo was taken
{
"id": "string",
"license": "string",
"adminNote": "string",
"checkedInAt": "string",
"checkInStatus": "Confirmed",
"mileage": 0,
"nextCheckInDate": "string",
"updated": "string",
"licensePhotos": [
{
"photoUrl": "string",
"latitude": 0,
"longitude": 0
}
],
"odometerPhotos": [
{
"photoUrl": "string",
"latitude": 0,
"longitude": 0
}
],
"fraud": true
}