PUT api/vehicles/{stockNumber}/floorplan

Request Information

URI Parameters

NameDescriptionTypeAdditional information
stockNumber

integer

Required

Body Parameters

VehicleFloorplanSubModel
NameDescriptionTypeAdditional information
FloorPlaned

boolean

None.

FloorDate

date

None.

CurtailmentDate

date

None.

AmountBorrowed

decimal number

None.

FlooringCompany

string

None.

Rate

decimal number

None.

FloorPlanCost

decimal number

None.

BorrowedAmountOverride

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "FloorPlaned": true,
  "FloorDate": "2025-07-05T07:57:49.823371+00:00",
  "CurtailmentDate": "2025-07-05T07:57:49.823371+00:00",
  "AmountBorrowed": 1.0,
  "FlooringCompany": "sample string 1",
  "Rate": 1.1,
  "FloorPlanCost": 1.0,
  "BorrowedAmountOverride": true
}

application/xml, text/xml

Sample:
<VehicleFloorplanSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.DMS.Business.Entities.SubModels">
  <AmountBorrowed>1</AmountBorrowed>
  <BorrowedAmountOverride>true</BorrowedAmountOverride>
  <CurtailmentDate>2025-07-05T07:57:49.823371+00:00</CurtailmentDate>
  <FloorDate>2025-07-05T07:57:49.823371+00:00</FloorDate>
  <FloorPlanCost>1</FloorPlanCost>
  <FloorPlaned>true</FloorPlaned>
  <FlooringCompany>sample string 1</FlooringCompany>
  <Rate>1.1</Rate>
</VehicleFloorplanSubModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.