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 .xml suffix or ?format=xml
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: application/xml
Content-Type: application/xml
Content-Length: length
<UpdateBackOrderVehicleImportsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.ServiceModel.Vehicles">
<VehicleImports xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mercedes.Agency.API.Shared.POCO">
<d2p1:VehicleImport>
<d2p1:Vin>String</d2p1:Vin>
<d2p1:CommissionNumber>String</d2p1:CommissionNumber>
<d2p1:Sellable>false</d2p1:Sellable>
<d2p1:Vehicle>
<d2p1:Vin>String</d2p1:Vin>
<d2p1:Age>0</d2p1:Age>
<d2p1:Baumuster>String</d2p1:Baumuster>
<d2p1:Bm7NST>String</d2p1:Bm7NST>
<d2p1:BodyStyle>String</d2p1:BodyStyle>
<d2p1:Brand>String</d2p1:Brand>
<d2p1:ChassisNumber>String</d2p1:ChassisNumber>
<d2p1:Colour>String</d2p1:Colour>
<d2p1:ColourDescription>String</d2p1:ColourDescription>
<d2p1:ColourGroup>String</d2p1:ColourGroup>
<d2p1:CommissionNumber>String</d2p1:CommissionNumber>
<d2p1:Description>String</d2p1:Description>
<d2p1:DisplayRetailer>String</d2p1:DisplayRetailer>
<d2p1:DisplayRetailerGssnId>String</d2p1:DisplayRetailerGssnId>
<d2p1:DisplayRetailer_Id>0</d2p1:DisplayRetailer_Id>
<d2p1:ElectricConsumption>0</d2p1:ElectricConsumption>
<d2p1:ElectricRange>0</d2p1:ElectricRange>
<d2p1:EligibleForIntegratedServiceCare>false</d2p1:EligibleForIntegratedServiceCare>
<d2p1:Emission>0</d2p1:Emission>
<d2p1:Engine>String</d2p1:Engine>
<d2p1:EngineDescription>String</d2p1:EngineDescription>
<d2p1:Fuel>String</d2p1:Fuel>
<d2p1:FullModelYearCode>String</d2p1:FullModelYearCode>
<d2p1:HalfModelYearCode>String</d2p1:HalfModelYearCode>
<d2p1:ImageUrl>String</d2p1:ImageUrl>
<d2p1:IsDisplayStock>false</d2p1:IsDisplayStock>
<d2p1:IsSellable>false</d2p1:IsSellable>
<d2p1:Line>String</d2p1:Line>
<d2p1:Model>String</d2p1:Model>
<d2p1:ModelYearCode>String</d2p1:ModelYearCode>
<d2p1:OfferExpiryDate>String</d2p1:OfferExpiryDate>
<d2p1:P11D>0</d2p1:P11D>
<d2p1:Packages xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:string>String</d5p1:string>
</d2p1:Packages>
<d2p1:PortArrivalDate>String</d2p1:PortArrivalDate>
<d2p1:Prices>
<d2p1:Price>
<d2p1:Description>String</d2p1:Description>
<d2p1:Gross>0</d2p1:Gross>
<d2p1:Id>String</d2p1:Id>
<d2p1:Net>0</d2p1:Net>
<d2p1:Product>LIST_PRICE</d2p1:Product>
<d2p1:VAT>0</d2p1:VAT>
</d2p1:Price>
</d2p1:Prices>
<d2p1:ProductRange>String</d2p1:ProductRange>
<d2p1:ProductionDate>String</d2p1:ProductionDate>
<d2p1:Retailer>
<d2p1:Agent>false</d2p1:Agent>
<d2p1:ChatEnabled>false</d2p1:ChatEnabled>
<d2p1:City>String</d2p1:City>
<d2p1:Description>String</d2p1:Description>
<d2p1:DigitalLoungeParentGssnId>String</d2p1:DigitalLoungeParentGssnId>
<d2p1:DisplayPhoneNumberNew>String</d2p1:DisplayPhoneNumberNew>
<d2p1:DisplayPhoneNumberUsed>String</d2p1:DisplayPhoneNumberUsed>
<d2p1:Email>String</d2p1:Email>
<d2p1:Fax>String</d2p1:Fax>
<d2p1:GoogleMapPostcode>String</d2p1:GoogleMapPostcode>
<d2p1:GssnId>String</d2p1:GssnId>
<d2p1:Id>0</d2p1:Id>
<d2p1:IsCentralRetailer>false</d2p1:IsCentralRetailer>
<d2p1:IsNewCarRetailer>false</d2p1:IsNewCarRetailer>
<d2p1:IsOnline>false</d2p1:IsOnline>
<d2p1:IsUsedCarRetailer>false</d2p1:IsUsedCarRetailer>
<d2p1:Latitude>0</d2p1:Latitude>
<d2p1:LegacyId>String</d2p1:LegacyId>
<d2p1:Longitude>0</d2p1:Longitude>
<d2p1:MarketAreaId>0</d2p1:MarketAreaId>
<d2p1:OpeningTimes>
<d2p1:New>
<d2p1:RetailerOpeningTime>
<d2p1:Day>String</d2p1:Day>
<d2p1:OpenFrom>String</d2p1:OpenFrom>
<d2p1:OpenTo>String</d2p1:OpenTo>
<d2p1:Special>String</d2p1:Special>
</d2p1:RetailerOpeningTime>
</d2p1:New>
<d2p1:Used>
<d2p1:RetailerOpeningTime>
<d2p1:Day>String</d2p1:Day>
<d2p1:OpenFrom>String</d2p1:OpenFrom>
<d2p1:OpenTo>String</d2p1:OpenTo>
<d2p1:Special>String</d2p1:Special>
</d2p1:RetailerOpeningTime>
</d2p1:Used>
</d2p1:OpeningTimes>
<d2p1:Phone>String</d2p1:Phone>
<d2p1:Postcode>String</d2p1:Postcode>
<d2p1:RetailerGroupId>String</d2p1:RetailerGroupId>
<d2p1:RetailerGroupName>String</d2p1:RetailerGroupName>
<d2p1:SendLeadsToDigitalLoungeParent>false</d2p1:SendLeadsToDigitalLoungeParent>
<d2p1:Street>String</d2p1:Street>
<d2p1:TradeInEnabled>false</d2p1:TradeInEnabled>
<d2p1:Website>String</d2p1:Website>
<d2p1:smart>false</d2p1:smart>
<d2p1:smartDescription>String</d2p1:smartDescription>
<d2p1:smartPhone>String</d2p1:smartPhone>
<d2p1:smartWebsite>String</d2p1:smartWebsite>
</d2p1:Retailer>
<d2p1:Specialist>false</d2p1:Specialist>
<d2p1:Transmission>String</d2p1:Transmission>
<d2p1:TransmissionType>String</d2p1:TransmissionType>
<d2p1:Upholstery>String</d2p1:Upholstery>
<d2p1:UpholsteryDescription>String</d2p1:UpholsteryDescription>
<d2p1:VehicleClass>String</d2p1:VehicleClass>
<d2p1:VehicleCriteriaMatch>
<d2p1:BodyStyle>false</d2p1:BodyStyle>
<d2p1:Colour>false</d2p1:Colour>
<d2p1:Engine>false</d2p1:Engine>
<d2p1:Fuel>false</d2p1:Fuel>
<d2p1:Line>false</d2p1:Line>
<d2p1:Packages>false</d2p1:Packages>
<d2p1:Transmission>false</d2p1:Transmission>
<d2p1:Upholstery>false</d2p1:Upholstery>
</d2p1:VehicleCriteriaMatch>
<d2p1:VehicleType>String</d2p1:VehicleType>
<d2p1:ActualPrice>String</d2p1:ActualPrice>
<d2p1:ColourCode>String</d2p1:ColourCode>
<d2p1:ConsumptionCombined>
<d2p1:Id>0</d2p1:Id>
<d2p1:Lkm>0</d2p1:Lkm>
<d2p1:Mpg>0</d2p1:Mpg>
</d2p1:ConsumptionCombined>
<d2p1:ConsumptionExtraUrban>
<d2p1:Id>0</d2p1:Id>
<d2p1:Lkm>0</d2p1:Lkm>
<d2p1:Mpg>0</d2p1:Mpg>
</d2p1:ConsumptionExtraUrban>
<d2p1:ConsumptionUrban>
<d2p1:Id>0</d2p1:Id>
<d2p1:Lkm>0</d2p1:Lkm>
<d2p1:Mpg>0</d2p1:Mpg>
</d2p1:ConsumptionUrban>
<d2p1:EquipmentCategories>
<d2p1:VehicleEquipmentCategory>
<d2p1:Code>String</d2p1:Code>
<d2p1:Description>String</d2p1:Description>
<d2p1:Equipment xmlns:d7p1="http://schemas.datacontract.org/2004/07/Mercedes.OS.Vehicle.Shared.POCO">
<d7p1:Equipmentv2>
<d7p1:Code>String</d7p1:Code>
<d7p1:Description>String</d7p1:Description>
<d7p1:Id>0</d7p1:Id>
<d7p1:Importance>0</d7p1:Importance>
<d7p1:IsAdditional>false</d7p1:IsAdditional>
</d7p1:Equipmentv2>
</d2p1:Equipment>
<d2p1:Order>0</d2p1:Order>
</d2p1:VehicleEquipmentCategory>
</d2p1:EquipmentCategories>
<d2p1:IntegratedProducts>
<d2p1:VehicleIntegratedServiceCareOption>
<d2p1:BM7NST>String</d2p1:BM7NST>
<d2p1:CustomerDescription>String</d2p1:CustomerDescription>
<d2p1:FullModelYear>String</d2p1:FullModelYear>
<d2p1:IntegratedProductType>String</d2p1:IntegratedProductType>
<d2p1:OneAgentProductType>String</d2p1:OneAgentProductType>
<d2p1:OptionCode>String</d2p1:OptionCode>
</d2p1:VehicleIntegratedServiceCareOption>
</d2p1:IntegratedProducts>
<d2p1:IsHOBackOrderAccountVehicle>false</d2p1:IsHOBackOrderAccountVehicle>
<d2p1:IspVehicleCustomerDescriptions xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:string>String</d5p1:string>
</d2p1:IspVehicleCustomerDescriptions>
<d2p1:OTR>String</d2p1:OTR>
<d2p1:RetailPrice_ExVAT>String</d2p1:RetailPrice_ExVAT>
<d2p1:TotalOfferValue>String</d2p1:TotalOfferValue>
<d2p1:UpholsteryCode>String</d2p1:UpholsteryCode>
<d2p1:VehicleData>
<d2p1:VehicleAttribute>
<d2p1:Description>String</d2p1:Description>
<d2p1:Value>String</d2p1:Value>
</d2p1:VehicleAttribute>
</d2p1:VehicleData>
<d2p1:VehicleEnergyEfficiencyClass>
<d2p1:Colour>String</d2p1:Colour>
<d2p1:Rating>String</d2p1:Rating>
</d2p1:VehicleEnergyEfficiencyClass>
<d2p1:WltpFuelConsumptionCombined>
<d2p1:Id>0</d2p1:Id>
<d2p1:Lkm>0</d2p1:Lkm>
<d2p1:Mpg>0</d2p1:Mpg>
</d2p1:WltpFuelConsumptionCombined>
<d2p1:WltpFuelConsumptionExtraHigh>
<d2p1:Id>0</d2p1:Id>
<d2p1:Lkm>0</d2p1:Lkm>
<d2p1:Mpg>0</d2p1:Mpg>
</d2p1:WltpFuelConsumptionExtraHigh>
<d2p1:WltpFuelConsumptionHigh>
<d2p1:Id>0</d2p1:Id>
<d2p1:Lkm>0</d2p1:Lkm>
<d2p1:Mpg>0</d2p1:Mpg>
</d2p1:WltpFuelConsumptionHigh>
<d2p1:WltpFuelConsumptionLow>
<d2p1:Id>0</d2p1:Id>
<d2p1:Lkm>0</d2p1:Lkm>
<d2p1:Mpg>0</d2p1:Mpg>
</d2p1:WltpFuelConsumptionLow>
<d2p1:WltpFuelConsumptionMedium>
<d2p1:Id>0</d2p1:Id>
<d2p1:Lkm>0</d2p1:Lkm>
<d2p1:Mpg>0</d2p1:Mpg>
</d2p1:WltpFuelConsumptionMedium>
</d2p1:Vehicle>
</d2p1:VehicleImport>
</VehicleImports>
</UpdateBackOrderVehicleImportsRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <UpdateBackOrderVehicleImportsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.ServiceModel.Vehicles" />