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
Copy
Ask AI
curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/charge/schedule_by_location" \
-H "Authorization: Bearer {token}" \
-X "GET"
Copy
Ask AI
{
"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.
Copy
Ask AI
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.
Show child attributes
Show child attributes
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.
Show child attributes
Show child attributes
Copy
Ask AI
{
"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
Vehicle will charge at any time
Vehicle will charge at any time
Copy
Ask AI
{
"chargingLocations": [
{
"chargeLimit": 0.8,
"chargingSchedules": {
"weekday": [],
"weekend": []
},
"location": {
"latitude": 48.8566,
"longitude": 2.3522
}
}
]
}
Vehicle has a schedule for Weekdays only
Vehicle has a schedule for Weekdays only
Copy
Ask AI
{
"chargingLocations": [
{
"chargeLimit": 0.8,
"chargingSchedules": {
"weekday": [
{
"end": "17:00",
"start": "09:00"
}
],
"weekend": []
},
"location": {
"latitude": 48.8566,
"longitude": 2.3522
}
}
]
}
Vehicle has a schedule for Weekends only
Vehicle has a schedule for Weekends only
Copy
Ask AI
{
"chargingLocation" : {
"chargeLimit": 0.9,
"chargingSchedules": {
"weekday": [],
"weekend": [
{
"start": "16:00",
"end": "07:00"
}
]
}
}
}
Was this page helpful?
Copy
Ask AI
curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/charge/schedule_by_location" \
-H "Authorization: Bearer {token}" \
-X "GET"
Copy
Ask AI
{
"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
}
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.