Vehicle Commands
Add Precondition Schedule
Add or update a preconditioning schedule.
post/{vin}/command/add_precondition_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.
one_timeboolean
If this is a one-time schedule.
idinteger
The ID of an existing schedule to modify. Omit if creating a new schedule.
precondition_timeinteger required
The number of minutes into the day the vehicle should complete preconditioning. 1:05 AM is represented as 65.
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