Retrieve a mileage check-in.
GET/api/vehicles/checkin/mileage/:id
Retrieve a mileage check-in for a vehicle.
Request
Path Parameters
The id of the checkin
Header Parameters
Partner Id
Client Id
Client Secret
Responses
- 200
- 401
- 403
- 404
- 500
The mileage check-in object requested.
- application/json
- 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
}
]
}
Authorization error e.g. due to an invalid or missing API keys.
Forbidden. Possible error codes
-
ERROR_NO_PERMISSIONS_TO_RESOURCE
- application/json
- Schema
- Example (from schema)
Schema
Error code
A verbose error message
{
"error_code": "string",
"error_message": "string"
}
Check-in not found or Vehicle not found or owning User not found. Possible error codes
-
ERROR_USER_NOT_FOUND
-
ERROR_VEHICLE_NOT_FOUND
-
ERROR_MILEAGE_CHECKIN_NOT_FOUND
- application/json
- Schema
- Example (from schema)
Schema
Error code
A verbose error message
{
"error_code": "string",
"error_message": "string"
}
Internal error. Possible error codes
-
INTERNAL_SERVER_ERROR
- application/json
- Schema
- Example (from schema)
Schema
Error code
A verbose error message
{
"error_code": "string",
"error_message": "string"
}