POST Vehicle/AddSmartSchedule/{id}

Create custom SmartClimate schedule for a vehicle.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

VehicleID

string

Required

Body Parameters

AddSmartClimateScheduleParams
NameDescriptionTypeAdditional information
WeekDay

string

None.

WeekHour

integer

None.

HourMinute

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "WeekDay": "sample string 1",
  "WeekHour": 2,
  "HourMinute": 3
}

application/xml, text/xml

Sample:
<AddSmartClimateScheduleParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CreatorsAPI.Models">
  <HourMinute>3</HourMinute>
  <WeekDay>sample string 1</WeekDay>
  <WeekHour>2</WeekHour>
</AddSmartClimateScheduleParams>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AddSmartClimateScheduleParams'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.