POST | /v1/backorder/vehicleimports |
---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
@ApiResponse(Description="Success", StatusCode=200)
// @ApiResponse(Description="BadRequest", StatusCode=400)
public static class UpdateBackOrderVehicleImportsRequest implements IPost
{
public ArrayList<VehicleImport> VehicleImports = new ArrayList<VehicleImport>();
public ArrayList<VehicleImport> getVehicleImports() { return VehicleImports; }
public UpdateBackOrderVehicleImportsRequest setVehicleImports(ArrayList<VehicleImport> value) { this.VehicleImports = value; return this; }
}
public static class VehicleImport extends Vehicle
{
public String CommissionNumber = null;
public Boolean Sellable = null;
public VehicleDetail Vehicle = null;
public String getCommissionNumber() { return CommissionNumber; }
public VehicleImport setCommissionNumber(String value) { this.CommissionNumber = value; return this; }
public Boolean isSellable() { return Sellable; }
public VehicleImport setSellable(Boolean value) { this.Sellable = value; return this; }
public VehicleDetail getVehicle() { return Vehicle; }
public VehicleImport setVehicle(VehicleDetail value) { this.Vehicle = value; return this; }
}
public static class Vehicle
{
public String Vin = null;
public String getVin() { return Vin; }
public Vehicle setVin(String value) { this.Vin = value; return this; }
}
public static class VehicleDetail extends VehicleBaseDetail
{
public String RetailPrice_ExVAT = null;
public String OTR = null;
public String ActualPrice = null;
public String TotalOfferValue = null;
public Boolean IsHOBackOrderAccountVehicle = null;
public VehicleConsumption ConsumptionCombined = null;
public VehicleConsumption ConsumptionExtraUrban = null;
public VehicleConsumption ConsumptionUrban = null;
public VehicleConsumption WltpFuelConsumptionCombined = null;
public VehicleConsumption WltpFuelConsumptionExtraHigh = null;
public VehicleConsumption WltpFuelConsumptionHigh = null;
public VehicleConsumption WltpFuelConsumptionLow = null;
public VehicleConsumption WltpFuelConsumptionMedium = null;
public ArrayList<VehicleEquipmentCategory> EquipmentCategories = null;
public VehicleEmissionClass VehicleEnergyEfficiencyClass = null;
public ArrayList<VehicleAttribute> VehicleData = null;
public ArrayList<VehicleIntegratedServiceCareOption> IntegratedProducts = new ArrayList<VehicleIntegratedServiceCareOption>();
public ArrayList<String> IspVehicleCustomerDescriptions = null;
public String ColourCode = null;
public String UpholsteryCode = null;
public String getRetailPriceExVAT() { return RetailPrice_ExVAT; }
public VehicleDetail setRetailPriceExVAT(String value) { this.RetailPrice_ExVAT = value; return this; }
public String getOtr() { return OTR; }
public VehicleDetail setOtr(String value) { this.OTR = value; return this; }
public String getActualPrice() { return ActualPrice; }
public VehicleDetail setActualPrice(String value) { this.ActualPrice = value; return this; }
public String getTotalOfferValue() { return TotalOfferValue; }
public VehicleDetail setTotalOfferValue(String value) { this.TotalOfferValue = value; return this; }
public Boolean getIsHOBackOrderAccountVehicle() { return IsHOBackOrderAccountVehicle; }
public VehicleDetail setIsHOBackOrderAccountVehicle(Boolean value) { this.IsHOBackOrderAccountVehicle = value; return this; }
public VehicleConsumption getConsumptionCombined() { return ConsumptionCombined; }
public VehicleDetail setConsumptionCombined(VehicleConsumption value) { this.ConsumptionCombined = value; return this; }
public VehicleConsumption getConsumptionExtraUrban() { return ConsumptionExtraUrban; }
public VehicleDetail setConsumptionExtraUrban(VehicleConsumption value) { this.ConsumptionExtraUrban = value; return this; }
public VehicleConsumption getConsumptionUrban() { return ConsumptionUrban; }
public VehicleDetail setConsumptionUrban(VehicleConsumption value) { this.ConsumptionUrban = value; return this; }
public VehicleConsumption getWltpFuelConsumptionCombined() { return WltpFuelConsumptionCombined; }
public VehicleDetail setWltpFuelConsumptionCombined(VehicleConsumption value) { this.WltpFuelConsumptionCombined = value; return this; }
public VehicleConsumption getWltpFuelConsumptionExtraHigh() { return WltpFuelConsumptionExtraHigh; }
public VehicleDetail setWltpFuelConsumptionExtraHigh(VehicleConsumption value) { this.WltpFuelConsumptionExtraHigh = value; return this; }
public VehicleConsumption getWltpFuelConsumptionHigh() { return WltpFuelConsumptionHigh; }
public VehicleDetail setWltpFuelConsumptionHigh(VehicleConsumption value) { this.WltpFuelConsumptionHigh = value; return this; }
public VehicleConsumption getWltpFuelConsumptionLow() { return WltpFuelConsumptionLow; }
public VehicleDetail setWltpFuelConsumptionLow(VehicleConsumption value) { this.WltpFuelConsumptionLow = value; return this; }
public VehicleConsumption getWltpFuelConsumptionMedium() { return WltpFuelConsumptionMedium; }
public VehicleDetail setWltpFuelConsumptionMedium(VehicleConsumption value) { this.WltpFuelConsumptionMedium = value; return this; }
public ArrayList<VehicleEquipmentCategory> getEquipmentCategories() { return EquipmentCategories; }
public VehicleDetail setEquipmentCategories(ArrayList<VehicleEquipmentCategory> value) { this.EquipmentCategories = value; return this; }
public VehicleEmissionClass getVehicleEnergyEfficiencyClass() { return VehicleEnergyEfficiencyClass; }
public VehicleDetail setVehicleEnergyEfficiencyClass(VehicleEmissionClass value) { this.VehicleEnergyEfficiencyClass = value; return this; }
public ArrayList<VehicleAttribute> getVehicleData() { return VehicleData; }
public VehicleDetail setVehicleData(ArrayList<VehicleAttribute> value) { this.VehicleData = value; return this; }
public ArrayList<VehicleIntegratedServiceCareOption> getIntegratedProducts() { return IntegratedProducts; }
public VehicleDetail setIntegratedProducts(ArrayList<VehicleIntegratedServiceCareOption> value) { this.IntegratedProducts = value; return this; }
public ArrayList<String> getIspVehicleCustomerDescriptions() { return IspVehicleCustomerDescriptions; }
public VehicleDetail setIspVehicleCustomerDescriptions(ArrayList<String> value) { this.IspVehicleCustomerDescriptions = value; return this; }
public String getColourCode() { return ColourCode; }
public VehicleDetail setColourCode(String value) { this.ColourCode = value; return this; }
public String getUpholsteryCode() { return UpholsteryCode; }
public VehicleDetail setUpholsteryCode(String value) { this.UpholsteryCode = value; return this; }
}
public static class VehicleBaseDetail extends Vehicle implements ICommissionNumber
{
public String Description = null;
public String CommissionNumber = null;
public String PortArrivalDate = null;
public String OfferExpiryDate = null;
public String Fuel = null;
public String Transmission = null;
public String TransmissionType = null;
public String Colour = null;
public String ColourDescription = null;
public String ImageUrl = null;
public Boolean Specialist = null;
public VehicleCriteriaMatch VehicleCriteriaMatch = null;
public String ColourGroup = null;
public String Model = null;
public String BodyStyle = null;
public String Brand = null;
public String Engine = null;
public String EngineDescription = null;
public String Line = null;
public String Upholstery = null;
public String UpholsteryDescription = null;
public ArrayList<String> Packages = new ArrayList<String>();
public BigDecimal P11D = null;
public ArrayList<Price> Prices = new ArrayList<Price>();
public String VehicleClass = null;
public String ProductRange = null;
public String VehicleType = null;
public BigDecimal Emission = null;
public String Baumuster = null;
public Boolean IsSellable = null;
public String Bm7NST = null;
public BigDecimal ElectricRange = null;
public BigDecimal ElectricConsumption = null;
public Boolean IsDisplayStock = null;
public Integer DisplayRetailer_Id = null;
public String DisplayRetailer = null;
public String DisplayRetailerGssnId = null;
public Retailer Retailer = null;
public Integer Age = null;
public String ModelYearCode = null;
public String HalfModelYearCode = null;
public String FullModelYearCode = null;
public String ProductionDate = null;
public String ChassisNumber = null;
public Boolean EligibleForIntegratedServiceCare = null;
public String getDescription() { return Description; }
public VehicleBaseDetail setDescription(String value) { this.Description = value; return this; }
public String getCommissionNumber() { return CommissionNumber; }
public VehicleBaseDetail setCommissionNumber(String value) { this.CommissionNumber = value; return this; }
public String getPortArrivalDate() { return PortArrivalDate; }
public VehicleBaseDetail setPortArrivalDate(String value) { this.PortArrivalDate = value; return this; }
public String getOfferExpiryDate() { return OfferExpiryDate; }
public VehicleBaseDetail setOfferExpiryDate(String value) { this.OfferExpiryDate = value; return this; }
public String getFuel() { return Fuel; }
public VehicleBaseDetail setFuel(String value) { this.Fuel = value; return this; }
public String getTransmission() { return Transmission; }
public VehicleBaseDetail setTransmission(String value) { this.Transmission = value; return this; }
public String getTransmissionType() { return TransmissionType; }
public VehicleBaseDetail setTransmissionType(String value) { this.TransmissionType = value; return this; }
public String getColour() { return Colour; }
public VehicleBaseDetail setColour(String value) { this.Colour = value; return this; }
public String getColourDescription() { return ColourDescription; }
public VehicleBaseDetail setColourDescription(String value) { this.ColourDescription = value; return this; }
public String getImageUrl() { return ImageUrl; }
public VehicleBaseDetail setImageUrl(String value) { this.ImageUrl = value; return this; }
public Boolean isSpecialist() { return Specialist; }
public VehicleBaseDetail setSpecialist(Boolean value) { this.Specialist = value; return this; }
public VehicleCriteriaMatch getVehicleCriteriaMatch() { return VehicleCriteriaMatch; }
public VehicleBaseDetail setVehicleCriteriaMatch(VehicleCriteriaMatch value) { this.VehicleCriteriaMatch = value; return this; }
public String getColourGroup() { return ColourGroup; }
public VehicleBaseDetail setColourGroup(String value) { this.ColourGroup = value; return this; }
public String getModel() { return Model; }
public VehicleBaseDetail setModel(String value) { this.Model = value; return this; }
public String getBodyStyle() { return BodyStyle; }
public VehicleBaseDetail setBodyStyle(String value) { this.BodyStyle = value; return this; }
public String getBrand() { return Brand; }
public VehicleBaseDetail setBrand(String value) { this.Brand = value; return this; }
public String getEngine() { return Engine; }
public VehicleBaseDetail setEngine(String value) { this.Engine = value; return this; }
public String getEngineDescription() { return EngineDescription; }
public VehicleBaseDetail setEngineDescription(String value) { this.EngineDescription = value; return this; }
public String getLine() { return Line; }
public VehicleBaseDetail setLine(String value) { this.Line = value; return this; }
public String getUpholstery() { return Upholstery; }
public VehicleBaseDetail setUpholstery(String value) { this.Upholstery = value; return this; }
public String getUpholsteryDescription() { return UpholsteryDescription; }
public VehicleBaseDetail setUpholsteryDescription(String value) { this.UpholsteryDescription = value; return this; }
public ArrayList<String> getPackages() { return Packages; }
public VehicleBaseDetail setPackages(ArrayList<String> value) { this.Packages = value; return this; }
public BigDecimal getP11D() { return P11D; }
public VehicleBaseDetail setP11D(BigDecimal value) { this.P11D = value; return this; }
public ArrayList<Price> getPrices() { return Prices; }
public VehicleBaseDetail setPrices(ArrayList<Price> value) { this.Prices = value; return this; }
public String getVehicleClass() { return VehicleClass; }
public VehicleBaseDetail setVehicleClass(String value) { this.VehicleClass = value; return this; }
public String getProductRange() { return ProductRange; }
public VehicleBaseDetail setProductRange(String value) { this.ProductRange = value; return this; }
public String getVehicleType() { return VehicleType; }
public VehicleBaseDetail setVehicleType(String value) { this.VehicleType = value; return this; }
public BigDecimal getEmission() { return Emission; }
public VehicleBaseDetail setEmission(BigDecimal value) { this.Emission = value; return this; }
public String getBaumuster() { return Baumuster; }
public VehicleBaseDetail setBaumuster(String value) { this.Baumuster = value; return this; }
public Boolean getIsSellable() { return IsSellable; }
public VehicleBaseDetail setIsSellable(Boolean value) { this.IsSellable = value; return this; }
public String getBm7NST() { return Bm7NST; }
public VehicleBaseDetail setBm7NST(String value) { this.Bm7NST = value; return this; }
public BigDecimal getElectricRange() { return ElectricRange; }
public VehicleBaseDetail setElectricRange(BigDecimal value) { this.ElectricRange = value; return this; }
public BigDecimal getElectricConsumption() { return ElectricConsumption; }
public VehicleBaseDetail setElectricConsumption(BigDecimal value) { this.ElectricConsumption = value; return this; }
public Boolean getIsDisplayStock() { return IsDisplayStock; }
public VehicleBaseDetail setIsDisplayStock(Boolean value) { this.IsDisplayStock = value; return this; }
public Integer getDisplayRetailerId() { return DisplayRetailer_Id; }
public VehicleBaseDetail setDisplayRetailerId(Integer value) { this.DisplayRetailer_Id = value; return this; }
public String getDisplayRetailer() { return DisplayRetailer; }
public VehicleBaseDetail setDisplayRetailer(String value) { this.DisplayRetailer = value; return this; }
public String getDisplayRetailerGssnId() { return DisplayRetailerGssnId; }
public VehicleBaseDetail setDisplayRetailerGssnId(String value) { this.DisplayRetailerGssnId = value; return this; }
public Retailer getRetailer() { return Retailer; }
public VehicleBaseDetail setRetailer(Retailer value) { this.Retailer = value; return this; }
public Integer getAge() { return Age; }
public VehicleBaseDetail setAge(Integer value) { this.Age = value; return this; }
public String getModelYearCode() { return ModelYearCode; }
public VehicleBaseDetail setModelYearCode(String value) { this.ModelYearCode = value; return this; }
public String getHalfModelYearCode() { return HalfModelYearCode; }
public VehicleBaseDetail setHalfModelYearCode(String value) { this.HalfModelYearCode = value; return this; }
public String getFullModelYearCode() { return FullModelYearCode; }
public VehicleBaseDetail setFullModelYearCode(String value) { this.FullModelYearCode = value; return this; }
public String getProductionDate() { return ProductionDate; }
public VehicleBaseDetail setProductionDate(String value) { this.ProductionDate = value; return this; }
public String getChassisNumber() { return ChassisNumber; }
public VehicleBaseDetail setChassisNumber(String value) { this.ChassisNumber = value; return this; }
public Boolean isEligibleForIntegratedServiceCare() { return EligibleForIntegratedServiceCare; }
public VehicleBaseDetail setEligibleForIntegratedServiceCare(Boolean value) { this.EligibleForIntegratedServiceCare = value; return this; }
}
public static class VehicleCriteriaMatch
{
public Boolean Fuel = null;
public Boolean Transmission = null;
public Boolean Colour = null;
public Boolean Upholstery = null;
public Boolean Line = null;
public Boolean Engine = null;
public Boolean BodyStyle = null;
public Boolean Packages = null;
public Boolean isFuel() { return Fuel; }
public VehicleCriteriaMatch setFuel(Boolean value) { this.Fuel = value; return this; }
public Boolean isTransmission() { return Transmission; }
public VehicleCriteriaMatch setTransmission(Boolean value) { this.Transmission = value; return this; }
public Boolean isColour() { return Colour; }
public VehicleCriteriaMatch setColour(Boolean value) { this.Colour = value; return this; }
public Boolean isUpholstery() { return Upholstery; }
public VehicleCriteriaMatch setUpholstery(Boolean value) { this.Upholstery = value; return this; }
public Boolean isLine() { return Line; }
public VehicleCriteriaMatch setLine(Boolean value) { this.Line = value; return this; }
public Boolean isEngine() { return Engine; }
public VehicleCriteriaMatch setEngine(Boolean value) { this.Engine = value; return this; }
public Boolean isBodyStyle() { return BodyStyle; }
public VehicleCriteriaMatch setBodyStyle(Boolean value) { this.BodyStyle = value; return this; }
public Boolean isPackages() { return Packages; }
public VehicleCriteriaMatch setPackages(Boolean value) { this.Packages = value; return this; }
}
public static class Price
{
public String Id = null;
public String Description = null;
public BigDecimal Net = null;
public BigDecimal VAT = null;
public BigDecimal Gross = null;
public OfferPriceProductType Product = null;
public String getId() { return Id; }
public Price setId(String value) { this.Id = value; return this; }
public String getDescription() { return Description; }
public Price setDescription(String value) { this.Description = value; return this; }
public BigDecimal getNet() { return Net; }
public Price setNet(BigDecimal value) { this.Net = value; return this; }
public BigDecimal getVat() { return VAT; }
public Price setVat(BigDecimal value) { this.VAT = value; return this; }
public BigDecimal getGross() { return Gross; }
public Price setGross(BigDecimal value) { this.Gross = value; return this; }
public OfferPriceProductType getProduct() { return Product; }
public Price setProduct(OfferPriceProductType value) { this.Product = value; return this; }
}
public static enum OfferPriceProductType
{
ListPrice,
NumberPlateFee,
DeliveryCharge,
FuelCharge,
ManufacturerOffer,
PersonalisedMoneyoffer,
PersonalisedNonmoneyoffer,
PersonalisedNonmoneyofferNeg,
Service,
ServiceNeg,
GovernmentGrant,
OutrightPurchaseDiscount,
VipOffer,
WallboxOffer,
WallboxOfferNeg,
RoadFundLicence,
FirstRegistrationFee,
NotFound,
AccessoryOffer,
AccessoryOfferNeg,
MotabilityDiscount;
}
public static class Retailer
{
public Integer Id = null;
public String GssnId = null;
public String Description = null;
public String Street = null;
public String City = null;
public String Postcode = null;
public String GoogleMapPostcode = null;
public String Phone = null;
public String Fax = null;
public String Email = null;
public String Website = null;
public String RetailerGroupId = null;
public String RetailerGroupName = null;
public Boolean IsOnline = null;
public Boolean IsNewCarRetailer = null;
public Boolean IsUsedCarRetailer = null;
public Boolean IsCentralRetailer = null;
public Boolean ChatEnabled = null;
public Boolean TradeInEnabled = null;
public Boolean smart = null;
public String DisplayPhoneNumberNew = null;
public String DisplayPhoneNumberUsed = null;
public BigDecimal Latitude = null;
public BigDecimal Longitude = null;
public String smartDescription = null;
public String smartWebsite = null;
public String smartPhone = null;
public String LegacyId = null;
public Boolean Agent = null;
public Integer MarketAreaId = null;
public String DigitalLoungeParentGssnId = null;
public Boolean SendLeadsToDigitalLoungeParent = null;
public RetailerOpeningTimes OpeningTimes = null;
public Integer getId() { return Id; }
public Retailer setId(Integer value) { this.Id = value; return this; }
public String getGssnId() { return GssnId; }
public Retailer setGssnId(String value) { this.GssnId = value; return this; }
public String getDescription() { return Description; }
public Retailer setDescription(String value) { this.Description = value; return this; }
public String getStreet() { return Street; }
public Retailer setStreet(String value) { this.Street = value; return this; }
public String getCity() { return City; }
public Retailer setCity(String value) { this.City = value; return this; }
public String getPostcode() { return Postcode; }
public Retailer setPostcode(String value) { this.Postcode = value; return this; }
public String getGoogleMapPostcode() { return GoogleMapPostcode; }
public Retailer setGoogleMapPostcode(String value) { this.GoogleMapPostcode = value; return this; }
public String getPhone() { return Phone; }
public Retailer setPhone(String value) { this.Phone = value; return this; }
public String getFax() { return Fax; }
public Retailer setFax(String value) { this.Fax = value; return this; }
public String getEmail() { return Email; }
public Retailer setEmail(String value) { this.Email = value; return this; }
public String getWebsite() { return Website; }
public Retailer setWebsite(String value) { this.Website = value; return this; }
public String getRetailerGroupId() { return RetailerGroupId; }
public Retailer setRetailerGroupId(String value) { this.RetailerGroupId = value; return this; }
public String getRetailerGroupName() { return RetailerGroupName; }
public Retailer setRetailerGroupName(String value) { this.RetailerGroupName = value; return this; }
public Boolean getIsOnline() { return IsOnline; }
public Retailer setIsOnline(Boolean value) { this.IsOnline = value; return this; }
public Boolean getIsNewCarRetailer() { return IsNewCarRetailer; }
public Retailer setIsNewCarRetailer(Boolean value) { this.IsNewCarRetailer = value; return this; }
public Boolean getIsUsedCarRetailer() { return IsUsedCarRetailer; }
public Retailer setIsUsedCarRetailer(Boolean value) { this.IsUsedCarRetailer = value; return this; }
public Boolean getIsCentralRetailer() { return IsCentralRetailer; }
public Retailer setIsCentralRetailer(Boolean value) { this.IsCentralRetailer = value; return this; }
public Boolean isChatEnabled() { return ChatEnabled; }
public Retailer setChatEnabled(Boolean value) { this.ChatEnabled = value; return this; }
public Boolean isTradeInEnabled() { return TradeInEnabled; }
public Retailer setTradeInEnabled(Boolean value) { this.TradeInEnabled = value; return this; }
public Boolean isSmart() { return smart; }
public Retailer setSmart(Boolean value) { this.smart = value; return this; }
public String getDisplayPhoneNumberNew() { return DisplayPhoneNumberNew; }
public Retailer setDisplayPhoneNumberNew(String value) { this.DisplayPhoneNumberNew = value; return this; }
public String getDisplayPhoneNumberUsed() { return DisplayPhoneNumberUsed; }
public Retailer setDisplayPhoneNumberUsed(String value) { this.DisplayPhoneNumberUsed = value; return this; }
public BigDecimal getLatitude() { return Latitude; }
public Retailer setLatitude(BigDecimal value) { this.Latitude = value; return this; }
public BigDecimal getLongitude() { return Longitude; }
public Retailer setLongitude(BigDecimal value) { this.Longitude = value; return this; }
public String getSmartDescription() { return smartDescription; }
public Retailer setSmartDescription(String value) { this.smartDescription = value; return this; }
public String getSmartWebsite() { return smartWebsite; }
public Retailer setSmartWebsite(String value) { this.smartWebsite = value; return this; }
public String getSmartPhone() { return smartPhone; }
public Retailer setSmartPhone(String value) { this.smartPhone = value; return this; }
public String getLegacyId() { return LegacyId; }
public Retailer setLegacyId(String value) { this.LegacyId = value; return this; }
public Boolean isAgent() { return Agent; }
public Retailer setAgent(Boolean value) { this.Agent = value; return this; }
public Integer getMarketAreaId() { return MarketAreaId; }
public Retailer setMarketAreaId(Integer value) { this.MarketAreaId = value; return this; }
public String getDigitalLoungeParentGssnId() { return DigitalLoungeParentGssnId; }
public Retailer setDigitalLoungeParentGssnId(String value) { this.DigitalLoungeParentGssnId = value; return this; }
public Boolean isSendLeadsToDigitalLoungeParent() { return SendLeadsToDigitalLoungeParent; }
public Retailer setSendLeadsToDigitalLoungeParent(Boolean value) { this.SendLeadsToDigitalLoungeParent = value; return this; }
public RetailerOpeningTimes getOpeningTimes() { return OpeningTimes; }
public Retailer setOpeningTimes(RetailerOpeningTimes value) { this.OpeningTimes = value; return this; }
}
public static class RetailerOpeningTimes
{
public ArrayList<RetailerOpeningTime> New = new ArrayList<RetailerOpeningTime>();
public ArrayList<RetailerOpeningTime> Used = new ArrayList<RetailerOpeningTime>();
public ArrayList<RetailerOpeningTime> getNew() { return New; }
public RetailerOpeningTimes setNew(ArrayList<RetailerOpeningTime> value) { this.New = value; return this; }
public ArrayList<RetailerOpeningTime> getUsed() { return Used; }
public RetailerOpeningTimes setUsed(ArrayList<RetailerOpeningTime> value) { this.Used = value; return this; }
}
public static class RetailerOpeningTime
{
public String Day = null;
public String OpenFrom = null;
public String OpenTo = null;
public String Special = null;
public String getDay() { return Day; }
public RetailerOpeningTime setDay(String value) { this.Day = value; return this; }
public String getOpenFrom() { return OpenFrom; }
public RetailerOpeningTime setOpenFrom(String value) { this.OpenFrom = value; return this; }
public String getOpenTo() { return OpenTo; }
public RetailerOpeningTime setOpenTo(String value) { this.OpenTo = value; return this; }
public String getSpecial() { return Special; }
public RetailerOpeningTime setSpecial(String value) { this.Special = value; return this; }
}
public static class VehicleConsumption
{
public Integer Id = null;
public BigDecimal Lkm = null;
public BigDecimal Mpg = null;
public Integer getId() { return Id; }
public VehicleConsumption setId(Integer value) { this.Id = value; return this; }
public BigDecimal getLkm() { return Lkm; }
public VehicleConsumption setLkm(BigDecimal value) { this.Lkm = value; return this; }
public BigDecimal getMpg() { return Mpg; }
public VehicleConsumption setMpg(BigDecimal value) { this.Mpg = value; return this; }
}
public static class VehicleEquipmentCategory
{
public Integer Order = null;
public String Code = null;
public String Description = null;
public ArrayList<Equipmentv2> Equipment = null;
public Integer getOrder() { return Order; }
public VehicleEquipmentCategory setOrder(Integer value) { this.Order = value; return this; }
public String getCode() { return Code; }
public VehicleEquipmentCategory setCode(String value) { this.Code = value; return this; }
public String getDescription() { return Description; }
public VehicleEquipmentCategory setDescription(String value) { this.Description = value; return this; }
public ArrayList<Equipmentv2> getEquipment() { return Equipment; }
public VehicleEquipmentCategory setEquipment(ArrayList<Equipmentv2> value) { this.Equipment = value; return this; }
}
public static class Equipmentv2 extends Equipment
{
public Integer Importance = null;
public Boolean IsAdditional = null;
public Integer getImportance() { return Importance; }
public Equipmentv2 setImportance(Integer value) { this.Importance = value; return this; }
public Boolean getIsAdditional() { return IsAdditional; }
public Equipmentv2 setIsAdditional(Boolean value) { this.IsAdditional = value; return this; }
}
public static class Equipment
{
public Integer Id = null;
public String Code = null;
public String Description = null;
public Integer getId() { return Id; }
public Equipment setId(Integer value) { this.Id = value; return this; }
public String getCode() { return Code; }
public Equipment setCode(String value) { this.Code = value; return this; }
public String getDescription() { return Description; }
public Equipment setDescription(String value) { this.Description = value; return this; }
}
public static class VehicleEmissionClass
{
public String Colour = null;
public String Rating = null;
public String getColour() { return Colour; }
public VehicleEmissionClass setColour(String value) { this.Colour = value; return this; }
public String getRating() { return Rating; }
public VehicleEmissionClass setRating(String value) { this.Rating = value; return this; }
}
public static class VehicleAttribute
{
public String Description = null;
public String Value = null;
public String getDescription() { return Description; }
public VehicleAttribute setDescription(String value) { this.Description = value; return this; }
public String getValue() { return Value; }
public VehicleAttribute setValue(String value) { this.Value = value; return this; }
}
public static class VehicleIntegratedServiceCareOption
{
public String OptionCode = null;
public String BM7NST = null;
public String FullModelYear = null;
public String IntegratedProductType = null;
public String CustomerDescription = null;
public String OneAgentProductType = null;
public String getOptionCode() { return OptionCode; }
public VehicleIntegratedServiceCareOption setOptionCode(String value) { this.OptionCode = value; return this; }
public String getBM7NST() { return BM7NST; }
public VehicleIntegratedServiceCareOption setBM7NST(String value) { this.BM7NST = value; return this; }
public String getFullModelYear() { return FullModelYear; }
public VehicleIntegratedServiceCareOption setFullModelYear(String value) { this.FullModelYear = value; return this; }
public String getIntegratedProductType() { return IntegratedProductType; }
public VehicleIntegratedServiceCareOption setIntegratedProductType(String value) { this.IntegratedProductType = value; return this; }
public String getCustomerDescription() { return CustomerDescription; }
public VehicleIntegratedServiceCareOption setCustomerDescription(String value) { this.CustomerDescription = value; return this; }
public String getOneAgentProductType() { return OneAgentProductType; }
public VehicleIntegratedServiceCareOption setOneAgentProductType(String value) { this.OneAgentProductType = value; return this; }
}
public static class UpdateBackOrderVehicleImportsResponse
{
}
}
Java UpdateBackOrderVehicleImportsRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/backorder/vehicleimports HTTP/1.1
Host: prod-api-agency-orch-mb-dhc.rapp-customers.co.uk
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
VehicleImports:
[
{
CommissionNumber: String,
Sellable: False,
Vehicle:
{
RetailPrice_ExVAT: String,
OTR: String,
ActualPrice: String,
TotalOfferValue: String,
IsHOBackOrderAccountVehicle: False,
ConsumptionCombined:
{
Id: 0,
Lkm: 0,
Mpg: 0
},
ConsumptionExtraUrban:
{
Id: 0,
Lkm: 0,
Mpg: 0
},
ConsumptionUrban:
{
Id: 0,
Lkm: 0,
Mpg: 0
},
WltpFuelConsumptionCombined:
{
Id: 0,
Lkm: 0,
Mpg: 0
},
WltpFuelConsumptionExtraHigh:
{
Id: 0,
Lkm: 0,
Mpg: 0
},
WltpFuelConsumptionHigh:
{
Id: 0,
Lkm: 0,
Mpg: 0
},
WltpFuelConsumptionLow:
{
Id: 0,
Lkm: 0,
Mpg: 0
},
WltpFuelConsumptionMedium:
{
Id: 0,
Lkm: 0,
Mpg: 0
},
EquipmentCategories:
[
{
Order: 0,
Code: String,
Description: String,
Equipment:
[
{
Importance: 0,
IsAdditional: False,
Id: 0,
Code: String,
Description: String
}
]
}
],
VehicleEnergyEfficiencyClass:
{
Colour: String,
Rating: String
},
VehicleData:
[
{
Description: String,
Value: String
}
],
IntegratedProducts:
[
{
OptionCode: String,
BM7NST: String,
FullModelYear: String,
IntegratedProductType: String,
CustomerDescription: String,
OneAgentProductType: String
}
],
IspVehicleCustomerDescriptions:
[
String
],
ColourCode: String,
UpholsteryCode: String,
Description: String,
CommissionNumber: String,
PortArrivalDate: String,
OfferExpiryDate: String,
Fuel: String,
Transmission: String,
TransmissionType: String,
Colour: String,
ColourDescription: String,
ImageUrl: String,
Specialist: False,
VehicleCriteriaMatch:
{
Fuel: False,
Transmission: False,
Colour: False,
Upholstery: False,
Line: False,
Engine: False,
BodyStyle: False,
Packages: False
},
ColourGroup: String,
Model: String,
BodyStyle: String,
Brand: String,
Engine: String,
EngineDescription: String,
Line: String,
Upholstery: String,
UpholsteryDescription: String,
Packages:
[
String
],
P11D: 0,
Prices:
[
{
Id: String,
Description: String,
Net: 0,
VAT: 0,
Gross: 0,
Product: LIST_PRICE
}
],
VehicleClass: String,
ProductRange: String,
VehicleType: String,
Emission: 0,
Baumuster: String,
IsSellable: False,
Bm7NST: String,
ElectricRange: 0,
ElectricConsumption: 0,
IsDisplayStock: False,
DisplayRetailer_Id: 0,
DisplayRetailer: String,
DisplayRetailerGssnId: String,
Retailer:
{
Id: 0,
GssnId: String,
Description: String,
Street: String,
City: String,
Postcode: String,
GoogleMapPostcode: String,
Phone: String,
Fax: String,
Email: String,
Website: String,
RetailerGroupId: String,
RetailerGroupName: String,
IsOnline: False,
IsNewCarRetailer: False,
IsUsedCarRetailer: False,
IsCentralRetailer: False,
ChatEnabled: False,
TradeInEnabled: False,
smart: False,
DisplayPhoneNumberNew: String,
DisplayPhoneNumberUsed: String,
Latitude: 0,
Longitude: 0,
smartDescription: String,
smartWebsite: String,
smartPhone: String,
LegacyId: String,
Agent: False,
MarketAreaId: 0,
DigitalLoungeParentGssnId: String,
SendLeadsToDigitalLoungeParent: False,
OpeningTimes:
{
New:
[
{
Day: String,
OpenFrom: String,
OpenTo: String,
Special: String
}
],
Used:
[
{
Day: String,
OpenFrom: String,
OpenTo: String,
Special: String
}
]
}
},
Age: 0,
ModelYearCode: String,
HalfModelYearCode: String,
FullModelYearCode: String,
ProductionDate: String,
ChassisNumber: String,
EligibleForIntegratedServiceCare: False,
Vin: String
},
Vin: String
}
]
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { }