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

id
string
required

The vehicle ID of the vehicle you are making a request to.

make
string
required

The make 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

chargingLocations
[object] | [empty]

An array of charging locations. Empty if none are currently set on the vehicle.

{
  "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