GET

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

This endpoint is currently available for NISSAN EVs on the MyNissan platform.

Permission

read_charge

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" \
-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"
      ]
    }
  ]
}