curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/charge/schedule" \ -H "Authorization: Bearer {token}" \ -X "PUT" \ -H "Content-Type: application/json" \ -d '{ "chargeSchedules": [ { "start": "08:00", "end": "12:00", "days": ["MONDAY", "WEDNESDAY", "FRIDAY"] }, { "start": "14:00", "end": "18:00", "days": ["TUESDAY", "THURSDAY", "SATURDAY"] } ] }'
{ "message": "Successfully sent request to vehicle", "status": "success" }
Sets the charging schedule for a vehicle.
nissan
MyNISSAN
control_charge
Hide child attributes
MONDAY
TUESDAY
WEDNESDAY
THURSDAY
FRIDAY
SATURDAY
SUNDAY
success
Was this page helpful?