POST
/
{vin}
/
command
/
add_precondition_schedule
Add Precondition Schedule
curl --request POST \
  --url https://api.tessie.com/{vin}/command/add_precondition_schedule \
  --header 'Authorization: Bearer <token>'
{
  "result": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

vin
string
required

The associated VIN.

Query Parameters

wait_for_completion
boolean
default:true

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

days_of_week
string
required

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

enabled
boolean
required

If this schedule should be considered for execution.

one_time
boolean
default:false

If this is a one-time schedule.

id
integer

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

precondition_time
integer
required

The number of minutes into the day the vehicle should complete preconditioning. 1:05 AM is represented as 65.

lat
number
required

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

lon
number
required

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

Response

200 - application/json

Success

The response is of type object.