v1

latestOpenAPI 3.0.0Apache 2.02026-07-26916119.7 KB
Vehicle Commands

Add Charge Schedule

Add or update a charging schedule.

post/{vin}/command/add_charge_schedule

Query parameters

wait_for_completionboolean

Whether to wait for the command to complete before returning a response.

max_attemptsinteger

The maximum number of attempts to make to execute the command.

days_of_weekstring required

A comma separated list of days this schedule should be enabled. Example: "Thursday,Saturday". Also supports "All" and "Weekdays".

enabledboolean required

If this schedule should be considered for execution.

start_enabledboolean required

If the vehicle should begin charging at the given start_time.

end_enabledboolean required

If the vehicle should stop charging after the given end_time.

one_timeboolean

If this is a one-time schedule.

idinteger

The ID of an existing schedule to modify. Omit if creating a new schedule.

start_timeinteger

The number of minutes into the day this schedule begins. 1:05 AM is represented as 65. Omit if start_enabled set to false.

end_timeinteger

The number of minutes into the day this schedule ends. 1:05 AM is represented as 65. Omit if end_enabled set to false.

latnumber required

The approximate latitude the vehicle must be at to use this schedule.

lonnumber required

The approximate longitude the vehicle must be at to use this schedule.

Response

Success

resultboolean

Whether the command was successful.

All 91 operations