GET
/
vehicles
/
{id}
/
{make}
/
charge
/
schedule
curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/charge/schedule" \
-H "Authorization: Bearer {token}" \
-X "GET"
{
  "chargeSchedules": [
    {
      "end": "2020-01-01T02:00:00.000Z",
      "start": "2020-01-01T01:00:00.000Z",
      "days": [
        "MONDAY",
        "WEDNESDAY",
        "FRIDAY"
      ]
    }
  ]
}

This endpoint is currently available for nissan EVs on the MyNISSAN platform.

Permission

read_charge

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" \
-H "Authorization: Bearer {token}" \
-X "GET"

Response

chargeSchedules
array

An array of charge schedules. Maximum of 3 schedules, empty if no schedules are set.

{
  "chargeSchedules": [
    {
      "end": "2020-01-01T02:00:00.000Z",
      "start": "2020-01-01T01:00:00.000Z",
      "days": [
        "MONDAY",
        "WEDNESDAY",
        "FRIDAY"
      ]
    }
  ]
}