Vehicle Endpoints
Service History
Introduction
Compatibility
Connection Management
Vehicle Endpoints
- GETAll Vehicles
- POSTBatch
- GETBattery Capacity
- GETBattery Level
- GETCharge Limit
- POSTCharge Limit
- GETCharge Status
- GETDiagnostic Trouble Codes
- GETFuel Tank
- GETLocation
- GETLock Status
- POSTLock & Unlock
- GETOdometer
- GETOil Life
- GETPermissions
- POSTSend Destination
- POSTStart & Stop Charge
- GETService History
- GETSystem Status
- GETTire Pressure
- GETUser
- GETVehicle Attributes
- GETVIN
Make Specific
- About Make Specific
- Audi
- Chevrolet and Cadillac
- BMW and MINI
- Ford and Lincoln
- Nissan
- Tesla
Vehicle Endpoints
Service History
Retrieve service records tracked by the vehicle’s dealer or manually added by the vehicle owner. Currently supporting Ford, Lincoln, Toyota, Lexus, Mazda and Volkswagen (US)
GET
/
vehicles
/
{id}
/
service
/
history
curl "https://api.smartcar.com/v2.0/vehicles/{id}/service/history \
-H "Authorization: Bearer {token}" \
-X "GET"
{
"serviceId": null,
"odometerDistance": 46047.22,
"serviceDate": "2023-06-28T22:21:41.583Z",
"serviceTasks": [
{
"taskId": "3262",
"taskDescription": "Service Task 0"
},
{
"taskId": "3041",
"taskDescription": null
},
{
"taskId": null,
"taskDescription": null
}
],
"serviceDetails": [
{
"type": "Service Details Type 0",
"value": "Service Details Value 0"
},
{
"type": "Service Details Type 1",
"value": null
}
],
"serviceCost": {
"totalCost": null,
"currency": null
}
}
Permission
read_service_history
curl "https://api.smartcar.com/v2.0/vehicles/{id}/service/history \
-H "Authorization: Bearer {token}" \
-X "GET"
Request
Path
The vehicle ID of the vehicle you are making a request to.
Response
A unique identifier of the service record.
The date and time the vehicle was serviced
the odometer of the vehicle at time of service in kilometers.
Additional service details.
Indicates if the service event was completed by a dealership or manually entered by the vehicle owner.
An overview of service costs.
{
"serviceId": null,
"odometerDistance": 46047.22,
"serviceDate": "2023-06-28T22:21:41.583Z",
"serviceTasks": [
{
"taskId": "3262",
"taskDescription": "Service Task 0"
},
{
"taskId": "3041",
"taskDescription": null
},
{
"taskId": null,
"taskDescription": null
}
],
"serviceDetails": [
{
"type": "Service Details Type 0",
"value": "Service Details Value 0"
},
{
"type": "Service Details Type 1",
"value": null
}
],
"serviceCost": {
"totalCost": null,
"currency": null
}
}
Was this page helpful?
curl "https://api.smartcar.com/v2.0/vehicles/{id}/service/history \
-H "Authorization: Bearer {token}" \
-X "GET"
{
"serviceId": null,
"odometerDistance": 46047.22,
"serviceDate": "2023-06-28T22:21:41.583Z",
"serviceTasks": [
{
"taskId": "3262",
"taskDescription": "Service Task 0"
},
{
"taskId": "3041",
"taskDescription": null
},
{
"taskId": null,
"taskDescription": null
}
],
"serviceDetails": [
{
"type": "Service Details Type 0",
"value": "Service Details Value 0"
},
{
"type": "Service Details Type 1",
"value": null
}
],
"serviceCost": {
"totalCost": null,
"currency": null
}
}