GET

/v2.0/vehicles/{id}/{make}/charge/schedule_by_location

This endpoint is currently available for FORD and LINCOLN

Permission

read_charge_locations

Request

Path

idrequired
string

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

makerequired
string

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,
      "chargeOnPlugin": true,
      "chargingSchedules": {
        "weekday": [
          {
            "end": "17:00",
            "start": "09:00"
          }
        ],
        "weekend": [
          {
            "end": "17:00",
            "start": "09:00"
          }
        ]
      },
      "location": {
        "latitude": 48.8566,
        "longitude": 2.3522
      }
    }
  ]
}