Retrieve a summary of all check-ins for a vehicle
GET/api/vehicles/:vehicleId/checkin-summary
Retrieve a summary of all check-ins for a vehicle. This includes mileage, condition and service check-ins.
Request
Path Parameters
Header Parameters
Partner Id
Client Id
Client Secret
Responses
- 200
- 401
- 403
- 404
- 500
A summary of check-in information about the vehicle.
- application/json
- Schema
- Example (from schema)
Schema
- Array [ 
- Array [ 
- ] 
- Array [ 
- ] 
- ] 
Id of the vehicle
License plate number
Make of the vehicle
Model of the vehicle
VIN of the vehicle.
2 Letter State Code (eg. AL, CA, CO etc.)
mileageCheckinSummary
object
A summary of mileage check-ins for a vehicle.
checkins
object[]
List of all check-ins
Id of the check-in
Type of the check-in
Status of the check-in
Timestamp of the check-in
Admin generated note. Usually used for on-hold or declined check-ins
reward
object
Reward associated with the check-in
Id of the reward
Possible values: [Pending, Confirmed, Declined, Claimed, All]
Status of the reward
Date on which reward was created
Is a check-in unlocked.
If the check-in is unlocked, the time at which it was unlocked.
Number of days to next check-in.
Reward for next check-in based on current campaign setup.
The ordinal of the last confirmed check-in. 0 represents no confirmed check-ins
Mileage of last confirmed check-in.
conditionCheckinSummary
object
A summary of condition check-ins for a vehicle.
checkins
object[]
List of all check-ins
Id of the check-in
Type of the check-in
Status of the check-in
Timestamp of the check-in
Admin generated note. Usually used for on-hold or declined check-ins
reward
object
Reward associated with the check-in
Id of the reward
Possible values: [Pending, Confirmed, Declined, Claimed, All]
Status of the reward
Date on which reward was created
Is a check-in unlocked.
If the check-in is unlocked, the time at which it was unlocked.
Number of days to next check-in.
Reward for next check-in based on current campaign setup.
The ordinal of the last confirmed check-in. 0 represents no confirmed check-ins
[
  {
    "id": "string",
    "license": "string",
    "make": "string",
    "model": "string",
    "vin": "string",
    "state": "string",
    "mileageCheckinSummary": {
      "checkins": [
        {
          "id": "string",
          "checkInType": "string",
          "status": "string",
          "checkinDate": "string",
          "adminNote": "string",
          "reward": {
            "id": "string",
            "status": "Pending",
            "dateRewarded": "string",
            "amount": 0
          }
        }
      ],
      "checkinUnlocked": true,
      "unlockDate": "string",
      "daysToNextCheckin": 0,
      "rewardAmountForNextCheckin": 0,
      "lastConfirmedOrdinal": 0,
      "lastConfirmedMileage": 0
    },
    "conditionCheckinSummary": {
      "checkins": [
        {
          "id": "string",
          "checkInType": "string",
          "status": "string",
          "checkinDate": "string",
          "adminNote": "string",
          "reward": {
            "id": "string",
            "status": "Pending",
            "dateRewarded": "string",
            "amount": 0
          }
        }
      ],
      "checkinUnlocked": true,
      "unlockDate": "string",
      "daysToNextCheckin": 0,
      "rewardAmountForNextCheckin": 0,
      "lastConfirmedOrdinal": 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"
}
Vehicle not found or owning User not found. Possible error codes
- 
ERROR_USER_NOT_FOUND 
- 
ERROR_VEHICLE_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"
}