POST api/Vehicle/SaveVehicle?DealershipID={DealershipID}&UserID={UserID}
Posts vehicle DTO to save.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| DealershipID | integer |
Required |
|
| UserID | integer |
Required |
Body Parameters
VehicleDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| _Vehicle | Vehicle |
None. |
|
| information | VehicleInformation |
None. |
|
| internetMarketing | InternetMarketing |
None. |
|
| flagColor | VehicleFlagColor |
None. |
|
| options | Collection of integer |
None. |
|
| associatedDealerships | Collection of integer |
None. |
|
| VehiclePayments | Collection of PartialPayment |
None. |
|
| financialTransactionDTO | FinancialTransactionDTO |
None. |
|
| CleanTradeInValue | decimal number |
None. |
|
| PackFee | decimal number |
None. |
|
| ChromeStandardOptions | Collection of MasterListGroupItem |
None. |
|
| ChromeOptionalPackage | Collection of ChromeOption |
None. |
|
| financeDetail | VehicleFinance |
None. |
|
| disclosures | Collection of integer |
None. |
|
| OptionalFeatures | Collection of Option |
None. |
Request Formats
application/json, text/json
Sample:
{
"_Vehicle": {
"VehicleID": 1,
"VIN": "sample string 2",
"YoutubeLink": "sample string 3",
"ThreeSixtyViewLink": "sample string 4",
"StockNumber": "sample string 5",
"ModelYear": 6,
"ModelID": 7,
"MakeID": 8,
"BodyStyleID": 1,
"EngineID": 1,
"TransmissionID": 1,
"FuelTypeID": 64,
"DriveTypeID": 64,
"MPGCity": 64,
"MPGHwy": 64,
"TrimID": 1,
"DealershipID": 9,
"SubTitle": "sample string 10",
"IsSold": true,
"NoOfDoors": "sample string 11",
"Arbitrated": true,
"ArbitratedDate": "2025-11-05T10:02:54.7402858-05:00",
"StockPrefix": "sample string 13",
"NextAvailableStockNumber": 14,
"StockNumberType": 1,
"Make": "sample string 15",
"Model": "sample string 16",
"IsEvaluation": true,
"BuyBackDealID": 1,
"OperatorID": 1,
"EngineSoundImageName": "sample string 17",
"EngineSoundImageExtension": "sample string 17",
"ElectricEPARange": "sample string 18",
"DCFastChargeTime": "sample string 19",
"Level2ChargeTime": "sample string 20"
},
"information": {
"VehicleID": 1,
"Mileage": 2,
"MileageStatusID": 1,
"InteriorColorID": 1,
"ExteriorColorID": 1,
"OEMInteriorColorID": 1,
"OEMExteriorColorID": 1,
"ExteriorColorDescription": "sample string 3",
"InteriorSurfaceID": 64,
"InStockDate": "2025-11-05T10:02:54.7402858-05: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-11-05T10:02:54.7402858-05:00",
"AgeInLotDate": "Age: 0 Days",
"OperatorID": 1,
"GPSName": "sample string 26",
"GPSUnitNumber": "sample string 27"
},
"internetMarketing": {
"VehicleID": 1,
"SpotLight": true,
"Featured": true,
"Financed": true,
"Certified": true,
"LowMileage": true,
"SalePending": true,
"Warranty3MonthOR3000Miles": true,
"ShowHighLights": true,
"ReducedPrice": true,
"UseRetailPrice": true,
"ShowCarFaxReportLink": true,
"HideCarFaxSnapshot": true,
"SellerCommentID": 1,
"SellerComment": "sample string 14",
"HighlightCommentID": 1,
"HighlightComment": "sample string 15",
"IsPublished": true,
"ReducedAmount": 1.0,
"InternetPrice": 17.0,
"RetailPrice": 18.0,
"WholesalePrice": 19.0,
"WholesaleLightID": 1,
"IsBlueForWholesale": true,
"WholesaleComments": "sample string 21",
"IsSoldPublished": true,
"KBBPrice": 1.0,
"IsFrameDamage": true,
"NoHagglePricing": true,
"LocalTrade": true,
"OperatorID": 1,
"OperationDate": "2025-11-05T10:02:54.7402858-05:00",
"MonthlyPayment": 1.0,
"WarrantyTypeID": 0,
"TitleStatusID": 0,
"ShowCarGurusLink": true,
"LiveDate": "2025-11-05T10:02:54.7402858-05:00",
"IsPosted": true,
"VehicleNADAPrice": 1.0,
"RequestWebPrice": true,
"VideoLink": "sample string 29",
"ShowAutoCheckReport": true,
"ShowGreenLightInspection": true,
"DownPayment": 1.0,
"SalePrice": 1.0,
"MilitaryDiscount": true,
"WatermarkID": 1
},
"flagColor": {
"VehicleID": 1,
"Memo": "sample string 2",
"ApplyCode": false,
"ColorCodeFlag": 0,
"ColorCode": null
},
"options": [
1,
2
],
"associatedDealerships": [
1,
2
],
"VehiclePayments": [
{
"AppliedDate": "2025-11-05T10:02:54.7402858-05:00",
"BankID": 1,
"SuggestivePrice": 1.0,
"BankList": [
{
"ItemID": 1,
"Description": "sample string 2"
},
{
"ItemID": 1,
"Description": "sample string 2"
}
],
"PaidOff": true,
"context": "sample string 3",
"SoldAtID": 1,
"PayeeID": 1,
"RefNo": "sample string 4",
"VehicleID": 1,
"SoldAtList": [
{
"ItemID": 1,
"Description": "sample string 2"
},
{
"ItemID": 1,
"Description": "sample string 2"
}
],
"IsBatchPart": true,
"IncludeBatchPart": true,
"TransactionID": 7,
"PaymentDate": "2025-11-05T10:02:54.7402858-05:00",
"PaymentDateText": "11/05/25",
"Amount": 9.0,
"AdvanceTax": 10.0,
"PaymentTypeID2": 1,
"PaymentTypeID": 1,
"PreviousPaymentTypeID": 1,
"Memo": "sample string 11",
"CheckNo": 1,
"PrintLater": true,
"CardHolderName": "sample string 13",
"CardNumber": "sample string 14",
"ExpiryMonth": 64,
"ExpiryYear": 1,
"ConvenienceFee": 1.0,
"DebitCardTypeID": 1,
"RecordState": 3,
"IsRemoved": true,
"EnableLocationRestriction": true
},
{
"AppliedDate": "2025-11-05T10:02:54.7402858-05:00",
"BankID": 1,
"SuggestivePrice": 1.0,
"BankList": [
{
"ItemID": 1,
"Description": "sample string 2"
},
{
"ItemID": 1,
"Description": "sample string 2"
}
],
"PaidOff": true,
"context": "sample string 3",
"SoldAtID": 1,
"PayeeID": 1,
"RefNo": "sample string 4",
"VehicleID": 1,
"SoldAtList": [
{
"ItemID": 1,
"Description": "sample string 2"
},
{
"ItemID": 1,
"Description": "sample string 2"
}
],
"IsBatchPart": true,
"IncludeBatchPart": true,
"TransactionID": 7,
"PaymentDate": "2025-11-05T10:02:54.7402858-05:00",
"PaymentDateText": "11/05/25",
"Amount": 9.0,
"AdvanceTax": 10.0,
"PaymentTypeID2": 1,
"PaymentTypeID": 1,
"PreviousPaymentTypeID": 1,
"Memo": "sample string 11",
"CheckNo": 1,
"PrintLater": true,
"CardHolderName": "sample string 13",
"CardNumber": "sample string 14",
"ExpiryMonth": 64,
"ExpiryYear": 1,
"ConvenienceFee": 1.0,
"DebitCardTypeID": 1,
"RecordState": 3,
"IsRemoved": true,
"EnableLocationRestriction": true
}
],
"financialTransactionDTO": {
"_FinancialTransaction": {
"TransactionID": 1,
"TransactionTypeId": 2,
"TransactionDate": "2025-11-05T10:02:54.7402858-05:00",
"TransactionDateText": "11/05/2025",
"TransactionCode": "sample string 4",
"Amount": 5.0,
"AdvanceTax": 6.0,
"Description": "sample string 7",
"PaymentModeID": 1,
"PreviousPaymentModeID": 64,
"PayModeID": 1,
"PaymentType": 1,
"PayeeID": 10,
"PayerID": 11,
"BankID": 12,
"Memo": "sample string 13",
"IsBatchPart": true,
"DealershipID": 15,
"OperatorID": 1,
"OperationDate": "2025-11-05T10:02:54.7402858-05:00",
"VehicleID": 1,
"BusinessName": "sample string 16",
"SoldAtID": 1,
"RefNo": "sample string 17",
"VendorCreditApplied": 1.0,
"IsCarketa": true
},
"_ACHDetail": {
"TransactionID": 1,
"IsAcPersonal": true,
"IsAcTypeChecking": true,
"AccountNumber": "sample string 2",
"RoutingNumber": "sample string 3",
"FirstName": "sample string 4",
"LastName": "sample string 5",
"PPTransactionID": 1
},
"_CheckDetail": {
"TransactionID": 1,
"CheckNo": 1,
"PrintDate": "2025-11-05T10:02:54.7402858-05:00",
"CheckID": 1
},
"_DebitCardDetail": {
"TransactionID": 1,
"CardHolderName": "sample string 2",
"CardNumber": "sample string 3",
"ExpiryMonth": 64,
"ExpiryYear": 1,
"IsSwiped": true,
"PPTransactionID": 1,
"VantivTransactionID": 1,
"TCC": 64,
"DebitCardTypeID": 1,
"ConvenienceFee": 1.0
},
"_FloorPlanDetail": {
"TransactionID": 1,
"AppliedDate": "2025-11-05T10:02:54.7402858-05:00",
"PaidOffTransactionID": 1,
"PaidOff": true
},
"_ConsignmentDetail": {
"TransactionID": 1,
"SuggestedSalePrice": 2.0,
"PaidOffTransactionID": 1,
"IsPaidOff": true
},
"IsRemoved": true
},
"CleanTradeInValue": 1.0,
"PackFee": 1.0,
"ChromeStandardOptions": [
{
"Category": "sample string 1",
"ItemID": 2,
"Description": "sample string 3"
},
{
"Category": "sample string 1",
"ItemID": 2,
"Description": "sample string 3"
}
],
"ChromeOptionalPackage": [
{
"MSRHigh": 1.0,
"Category": "sample string 1",
"ItemID": 2,
"Description": "sample string 3"
},
{
"MSRHigh": 1.0,
"Category": "sample string 1",
"ItemID": 2,
"Description": "sample string 3"
}
],
"financeDetail": {
"VehicleID": 1,
"APR": 2.0,
"NoOfPayments": 3,
"Frequency": 1,
"DownPaymentPercentage": 4.0,
"DownPayment": 5.0,
"PaymentAmount": 6.0,
"TaxPercentage": 7.0,
"TaxAmount": 8.0
},
"disclosures": [
1,
2
],
"OptionalFeatures": [
{
"OptionID": 1,
"Description": "sample string 2",
"OptionTypeID": 1,
"DealershipID": 1,
"SeqNo": 3,
"ChromeID": 1,
"Description2": "sample string 4"
},
{
"OptionID": 1,
"Description": "sample string 2",
"OptionTypeID": 1,
"DealershipID": 1,
"SeqNo": 3,
"ChromeID": 1,
"Description2": "sample string 4"
}
]
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>