PUT api/vehicles/{stockNumber}/pricing

Request Information

URI Parameters

NameDescriptionTypeAdditional information
stockNumber

integer

Required

Body Parameters

VehiclePricingSubModel
NameDescriptionTypeAdditional information
PurchasedFrom

string

None.

PurchasedAgent

string

None.

PurchasedDate

date

None.

PurchasedPrice

decimal number

None.

FloorplanCost

decimal number

None.

TotalCost

decimal number

None.

StickerPrice

decimal number

None.

InternetPrice

decimal number

None.

MinimumPrice

decimal number

None.

WebsitePayment

decimal number

None.

WebsiteDownPayment

decimal number

None.

WholesalePrice

decimal number

None.

PaymentFrequency

string

None.

Pack

decimal number

None.

SlashedPrice

decimal number

None.

PackOverride

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PurchasedFrom": "sample string 1",
  "PurchasedAgent": "sample string 2",
  "PurchasedDate": "2025-07-05T07:32:21.7346014+00:00",
  "PurchasedPrice": 1.0,
  "FloorplanCost": 1.0,
  "TotalCost": 1.0,
  "StickerPrice": 1.0,
  "InternetPrice": 1.0,
  "MinimumPrice": 1.0,
  "WebsitePayment": 3.0,
  "WebsiteDownPayment": 4.0,
  "WholesalePrice": 5.0,
  "PaymentFrequency": "sample string 6",
  "Pack": 7.0,
  "SlashedPrice": 1.0,
  "PackOverride": true
}

application/xml, text/xml

Sample:
<VehiclePricingSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.DMS.Business.Entities.SubModels">
  <FloorplanCost>1</FloorplanCost>
  <InternetPrice>1</InternetPrice>
  <MinimumPrice>1</MinimumPrice>
  <NADA>1</NADA>
  <Pack>7</Pack>
  <PackOverride>true</PackOverride>
  <PaymentFrequency>sample string 6</PaymentFrequency>
  <PurchasedAgent>sample string 2</PurchasedAgent>
  <PurchasedDate>2025-07-05T07:32:21.7346014+00:00</PurchasedDate>
  <PurchasedFrom>sample string 1</PurchasedFrom>
  <PurchasedPrice>1</PurchasedPrice>
  <SlashedPrice>1</SlashedPrice>
  <StickerPrice>1</StickerPrice>
  <TotalCost>1</TotalCost>
  <WebsiteDownPayment>4</WebsiteDownPayment>
  <WebsitePayment>3</WebsitePayment>
  <WholesalePrice>5</WholesalePrice>
</VehiclePricingSubModel>

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 'VehiclePricingSubModel'

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.