Ford and Lincoln
Charge Schedule by Location
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
Ford and Lincoln
Charge Schedule by Location
Returns all saved charging locations for a vehicle and their associated charging limits, schedules and configurations.
GET
/
vehicles
/
{id}
/
{make}
/
charge
/
schedule_by_location
curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/charge/schedule_by_location" \
-H "Authorization: Bearer {token}" \
-X "GET"
{
"chargingLocations": [
{
"chargeLimit": 0.8,
"chargingSchedules": {
"weekday": [
{
"end": "17:00",
"start": "09:00"
}
],
"weekend": [
{
"end": "17:00",
"start": "09:00"
}
]
},
"location": {
"latitude": 48.8566,
"longitude": 2.3522
}
}
]
}
This endpoint is currently available for ford
and lincoln
Permission
read_charge_locations
Request
Path
The vehicle ID of the vehicle you are making a request to.
curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/charge/schedule_by_location" \
-H "Authorization: Bearer {token}" \
-X "GET"
Response
An array of charging locations. Empty if none are currently set on the vehicle.
The maximum charge limit for the vehicle at the location as a percent.
The weekday and weekend charging schedules for the vehicle at the location.
{
"chargingLocations": [
{
"chargeLimit": 0.8,
"chargingSchedules": {
"weekday": [
{
"end": "17:00",
"start": "09:00"
}
],
"weekend": [
{
"end": "17:00",
"start": "09:00"
}
]
},
"location": {
"latitude": 48.8566,
"longitude": 2.3522
}
}
]
}
Example Schedule States
{
"chargingLocations": [
{
"chargeLimit": 0.8,
"chargingSchedules": {
"weekday": [],
"weekend": []
},
"location": {
"latitude": 48.8566,
"longitude": 2.3522
}
}
]
}
{
"chargingLocations": [
{
"chargeLimit": 0.8,
"chargingSchedules": {
"weekday": [
{
"end": "17:00",
"start": "09:00"
}
],
"weekend": []
},
"location": {
"latitude": 48.8566,
"longitude": 2.3522
}
}
]
}
{
"chargingLocation" : {
"chargeLimit": 0.9,
"chargingSchedules": {
"weekday": [],
"weekend": [
{
"start": "16:00",
"end": "07:00"
}
]
}
}
}
Was this page helpful?
curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/charge/schedule_by_location" \
-H "Authorization: Bearer {token}" \
-X "GET"
{
"chargingLocations": [
{
"chargeLimit": 0.8,
"chargingSchedules": {
"weekday": [
{
"end": "17:00",
"start": "09:00"
}
],
"weekend": [
{
"end": "17:00",
"start": "09:00"
}
]
},
"location": {
"latitude": 48.8566,
"longitude": 2.3522
}
}
]
}