POST api/v{version}/customers/me/vehicles

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

CustomerAddVehicleModel
NameDescriptionTypeAdditional information
Title

string

Required

Description

string

None.

ModelId

integer

Required

TrimId

integer

Required

Mileage

integer

Range: inclusive between 0 and 2147483647

VIN

string

String length: inclusive between 3 and 32

ProductionDate

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "Title": "sample string 1",
  "Description": "sample string 2",
  "ModelId": 1,
  "TrimId": 1,
  "Mileage": 3,
  "VIN": "sample string 4",
  "ProductionDate": 1
}

application/xml, text/xml

Sample:
<CustomerAddVehicleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FastFixCore.BindingModels">
  <Description>sample string 2</Description>
  <Mileage>3</Mileage>
  <ModelId>1</ModelId>
  <ProductionDate>1</ProductionDate>
  <Title>sample string 1</Title>
  <TrimId>1</TrimId>
  <VIN>sample string 4</VIN>
</CustomerAddVehicleModel>

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 'CustomerAddVehicleModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.