POST api/Inventory/SaveVehicleInformation?VehicleID={VehicleID}
Add/Update vehicle information.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
VehicleID | integer |
Required |
Body Parameters
VehicleInformationName | Description | Type | Additional information |
---|---|---|---|
VehicleID | integer |
None. |
|
Mileage | integer |
Required |
|
MileageStatusID | enumMileageStatus |
None. |
|
InteriorColorID | integer |
None. |
|
ExteriorColorID | integer |
None. |
|
OEMInteriorColorID | integer |
None. |
|
OEMExteriorColorID | integer |
None. |
|
ExteriorColorDescription | string |
None. |
|
InteriorSurfaceID | byte |
None. |
|
InStockDate | date |
Required |
|
AgeInStockDate | string |
None. |
|
TitleInHouse | boolean |
None. |
|
TitleNo | string |
None. |
|
TitleState | string |
None. |
|
TitleComments | string |
None. |
|
IsNew | boolean |
None. |
|
VehicleLocationID | integer |
None. |
|
CurbWeight | string |
None. |
|
VehicleReconID | integer |
None. |
|
IsFE | boolean |
None. |
|
IsRE | boolean |
None. |
|
IsDSF | boolean |
None. |
|
IsDSB | boolean |
None. |
|
IsDS | boolean |
None. |
|
IsPSF | boolean |
None. |
|
IsPSB | boolean |
None. |
|
IsPS | boolean |
None. |
|
IsRF | boolean |
None. |
|
IsTR | boolean |
None. |
|
IsFL | boolean |
None. |
|
IsVD | boolean |
None. |
|
IsBR | boolean |
None. |
|
IsRR | boolean |
None. |
|
IsBrandedRecon | boolean |
None. |
|
BrandedReconNotes | string |
None. |
|
InLotDate | date |
None. |
|
AgeInLotDate | string |
None. |
|
OperatorID | integer |
None. |
|
GPSName | string |
None. |
|
GPSUnitNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "VehicleID": 1, "Mileage": 2, "MileageStatusID": 1, "InteriorColorID": 1, "ExteriorColorID": 1, "OEMInteriorColorID": 1, "OEMExteriorColorID": 1, "ExteriorColorDescription": "sample string 3", "InteriorSurfaceID": 64, "InStockDate": "2025-05-11T12:36:22.7176253-04:00", "AgeInStockDate": "Age: 0 Days", "TitleInHouse": true, "TitleNo": "sample string 5", "TitleState": "sample string 6", "TitleComments": "sample string 7", "IsNew": true, "VehicleLocationID": 1, "CurbWeight": "sample string 9", "VehicleReconID": 1, "IsFE": true, "IsRE": true, "IsDSF": true, "IsDSB": true, "IsDS": true, "IsPSF": true, "IsPSB": true, "IsPS": true, "IsRF": true, "IsTR": true, "IsFL": true, "IsVD": true, "IsBR": true, "IsRR": true, "IsBrandedRecon": true, "BrandedReconNotes": "sample string 25", "InLotDate": "2025-05-11T12:36:22.7176253-04:00", "AgeInLotDate": "Age: 0 Days", "OperatorID": 1, "GPSName": "sample string 26", "GPSUnitNumber": "sample string 27" }
application/xml, text/xml
Sample:
<VehicleInformation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DC.Core.Model"> <BrandedReconNotes>sample string 25</BrandedReconNotes> <CurbWeight>sample string 9</CurbWeight> <ExteriorColorDescription>sample string 3</ExteriorColorDescription> <ExteriorColorID>1</ExteriorColorID> <GPSName>sample string 26</GPSName> <GPSUnitNumber>sample string 27</GPSUnitNumber> <InLotDate>2025-05-11T12:36:22.7176253-04:00</InLotDate> <InStockDate>2025-05-11T12:36:22.7176253-04:00</InStockDate> <InteriorColorID>1</InteriorColorID> <InteriorSurfaceID>64</InteriorSurfaceID> <IsBR>true</IsBR> <IsBrandedRecon>true</IsBrandedRecon> <IsDS>true</IsDS> <IsDSB>true</IsDSB> <IsDSF>true</IsDSF> <IsFE>true</IsFE> <IsFL>true</IsFL> <IsNew>true</IsNew> <IsPS>true</IsPS> <IsPSB>true</IsPSB> <IsPSF>true</IsPSF> <IsRE>true</IsRE> <IsRF>true</IsRF> <IsRR>true</IsRR> <IsTR>true</IsTR> <IsVD>true</IsVD> <Mileage>2</Mileage> <MileageStatusID>Actual_Miles</MileageStatusID> <OEMExteriorColorID>1</OEMExteriorColorID> <OEMInteriorColorID>1</OEMInteriorColorID> <OperatorID>1</OperatorID> <TitleComments>sample string 7</TitleComments> <TitleInHouse>true</TitleInHouse> <TitleNo>sample string 5</TitleNo> <TitleState>sample string 6</TitleState> <VehicleID>1</VehicleID> <VehicleLocationID>1</VehicleLocationID> <VehicleReconID>1</VehicleReconID> </VehicleInformation>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.