POST Api/Vehicle/Save

Request Information

URI Parameters

None.

Body Parameters

Vehicle
NameDescriptionTypeAdditional information
Id

integer

None.

Vin

string

None.

Odo

integer

None.

Year

integer

None.

Make

IdNamePair

None.

Model

IdNamePair

None.

ExteriorColors

Collection of ExtendedIdNamePair

None.

InteriorTypes

Collection of ExtendedIdNamePair

None.

InteriorColors

Collection of ExtendedIdNamePair

None.

BlackBookTrims

Collection of Object

None.

ChromeTrims

Collection of ChromeTrim

None.

NadaTrims

Collection of NadaTrim

None.

GalvesTrims

Collection of GalvesTrim

None.

KbbTrims

Collection of KbbTrim

None.

Stock

string

None.

VinEntryMethod

string

None.

NeedReplacementVehicle

string

None.

AffiliateCode

string

None.

TransactionContact

Customer

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'CarOffer.Domain.Models.VendorModels.Vendor'. Path 'transactionContact.client.vendorGroup.vendors[0].vendors'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'CarOffer.Domain.Models.VendorModels.Vendor'. Path 'transactionContact.client.vendorGroup.vendors[0].vendors'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: There was an error generating the XML document.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: There was an error generating the XML document.

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.