Mercedes.Agency.Orchestration.API

<back to all web services

GetVehicleRequest

Vehicle
Requires Authentication
The following routes are available for this service:
POST/v1/vehicleGet Vehicle by Vin
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class GetVehicleRequest
    {
        public String Vin = null;
        public Boolean IncludeAllocatedToOrder = null;
        public String Gssn = null;
        public Boolean IsOneAdmin = null;
        
        public String getVin() { return Vin; }
        public GetVehicleRequest setVin(String value) { this.Vin = value; return this; }
        public Boolean isIncludeAllocatedToOrder() { return IncludeAllocatedToOrder; }
        public GetVehicleRequest setIncludeAllocatedToOrder(Boolean value) { this.IncludeAllocatedToOrder = value; return this; }
        public String getGssn() { return Gssn; }
        public GetVehicleRequest setGssn(String value) { this.Gssn = value; return this; }
        public Boolean getIsOneAdmin() { return IsOneAdmin; }
        public GetVehicleRequest setIsOneAdmin(Boolean value) { this.IsOneAdmin = value; return this; }
    }

    public static class GetVehicleResponse
    {
        public VehicleDetailDto Vehicle = null;
        public ArrayList<VehicleError> Errors = new ArrayList<VehicleError>();
        
        public VehicleDetailDto getVehicle() { return Vehicle; }
        public GetVehicleResponse setVehicle(VehicleDetailDto value) { this.Vehicle = value; return this; }
        public ArrayList<VehicleError> getErrors() { return Errors; }
        public GetVehicleResponse setErrors(ArrayList<VehicleError> value) { this.Errors = value; return this; }
    }

    public static class VehicleDetailDto
    {
        public String BodyStyle = null;
        public String Vin = null;
        public String Description = null;
        public String Colour = null;
        public String ColourCode = null;
        public String ColourDescription = null;
        public String ColourGroup = null;
        public String Model = null;
        public String CommissionNumber = null;
        public Integer BrandId = null;
        public Brand Brand = null;
        public Engine Engine = null;
        public String EngineBadge = null;
        public Media Media = null;
        public String Line = null;
        public String UpholsteryCode = null;
        public String UpholsteryType = null;
        public String Upholstery = null;
        public String UpholsteryDescription = null;
        public ArrayList<String> AvailablePackages = new ArrayList<String>();
        public ArrayList<String> Packages = new ArrayList<String>();
        public BigDecimal P11D = null;
        public Date PortArrivalDate = null;
        public ArrayList<Price> Prices = new ArrayList<Price>();
        public String TransmissionType = null;
        public String FuelType = null;
        public String VehicleClass = null;
        public String ProductRange = null;
        public String VehicleType = null;
        public BigDecimal Emission = null;
        public Boolean IsAvailableOnline = null;
        public Boolean UnderOffer = null;
        public Boolean IsExcluded = null;
        public Boolean IsSellable = null;
        public Boolean OnHold = null;
        public BigDecimal ElectricConsumption = null;
        public BigDecimal ElectricRange = null;
        public String ImageUrl = null;
        public String Baumuster = null;
        public Retailer Retailer = null;
        public String Bm7NST = null;
        public BigDecimal OTR = null;
        public BigDecimal ActualPrice = null;
        public Boolean IsDisplayStock = null;
        public Integer DisplayRetailerId = null;
        public String DisplayRetailer = null;
        public String DisplayRetailerGssnId = null;
        public String DisplayRetailerMarketAreaId = null;
        public Boolean IsSmartDisplayRetailer = null;
        public Boolean IsSpecialistCar = null;
        public Integer Age = null;
        public Boolean Secured = null;
        public Boolean IsHOBackOrderAccountVehicle = null;
        public Boolean IsAllocatedToBackOrder = null;
        public String UsageCode = null;
        public BigDecimal EmissionCombined = null;
        public String NormalisedEmissionDirective = null;
        public Boolean HasMildHybridEquipmentCode = null;
        public BigDecimal RetailPriceExVat = null;
        public BigDecimal RetailPrice_IncVAT = null;
        public BigDecimal RetailPrice_ExVAT = null;
        public Integer ModelId = null;
        public String VID = null;
        public String ProductionDate = null;
        public String FullModelYearCode = null;
        public String ChassisNumber = null;
        public Boolean EligibleForIntegratedServiceCare = null;
        public String AccountType = 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<Equipmentv2> Equipment = null;
        public ArrayList<VehicleEquipmentCategory> EquipmentCategories = null;
        public VehicleEmissionClass EnergyEfficiencyClass = null;
        public ArrayList<VehicleAttribute> VehicleData = null;
        public ArrayList<VehicleIntegratedServiceCareOption> IntegratedServiceCareOptions = new ArrayList<VehicleIntegratedServiceCareOption>();
        public ArrayList<String> IspVehicleCustomerDescriptions = null;
        
        public String getBodyStyle() { return BodyStyle; }
        public VehicleDetailDto setBodyStyle(String value) { this.BodyStyle = value; return this; }
        public String getVin() { return Vin; }
        public VehicleDetailDto setVin(String value) { this.Vin = value; return this; }
        public String getDescription() { return Description; }
        public VehicleDetailDto setDescription(String value) { this.Description = value; return this; }
        public String getColour() { return Colour; }
        public VehicleDetailDto setColour(String value) { this.Colour = value; return this; }
        public String getColourCode() { return ColourCode; }
        public VehicleDetailDto setColourCode(String value) { this.ColourCode = value; return this; }
        public String getColourDescription() { return ColourDescription; }
        public VehicleDetailDto setColourDescription(String value) { this.ColourDescription = value; return this; }
        public String getColourGroup() { return ColourGroup; }
        public VehicleDetailDto setColourGroup(String value) { this.ColourGroup = value; return this; }
        public String getModel() { return Model; }
        public VehicleDetailDto setModel(String value) { this.Model = value; return this; }
        public String getCommissionNumber() { return CommissionNumber; }
        public VehicleDetailDto setCommissionNumber(String value) { this.CommissionNumber = value; return this; }
        public Integer getBrandId() { return BrandId; }
        public VehicleDetailDto setBrandId(Integer value) { this.BrandId = value; return this; }
        public Brand getBrand() { return Brand; }
        public VehicleDetailDto setBrand(Brand value) { this.Brand = value; return this; }
        public Engine getEngine() { return Engine; }
        public VehicleDetailDto setEngine(Engine value) { this.Engine = value; return this; }
        public String getEngineBadge() { return EngineBadge; }
        public VehicleDetailDto setEngineBadge(String value) { this.EngineBadge = value; return this; }
        public Media getMedia() { return Media; }
        public VehicleDetailDto setMedia(Media value) { this.Media = value; return this; }
        public String getLine() { return Line; }
        public VehicleDetailDto setLine(String value) { this.Line = value; return this; }
        public String getUpholsteryCode() { return UpholsteryCode; }
        public VehicleDetailDto setUpholsteryCode(String value) { this.UpholsteryCode = value; return this; }
        public String getUpholsteryType() { return UpholsteryType; }
        public VehicleDetailDto setUpholsteryType(String value) { this.UpholsteryType = value; return this; }
        public String getUpholstery() { return Upholstery; }
        public VehicleDetailDto setUpholstery(String value) { this.Upholstery = value; return this; }
        public String getUpholsteryDescription() { return UpholsteryDescription; }
        public VehicleDetailDto setUpholsteryDescription(String value) { this.UpholsteryDescription = value; return this; }
        public ArrayList<String> getAvailablePackages() { return AvailablePackages; }
        public VehicleDetailDto setAvailablePackages(ArrayList<String> value) { this.AvailablePackages = value; return this; }
        public ArrayList<String> getPackages() { return Packages; }
        public VehicleDetailDto setPackages(ArrayList<String> value) { this.Packages = value; return this; }
        public BigDecimal getP11D() { return P11D; }
        public VehicleDetailDto setP11D(BigDecimal value) { this.P11D = value; return this; }
        public Date getPortArrivalDate() { return PortArrivalDate; }
        public VehicleDetailDto setPortArrivalDate(Date value) { this.PortArrivalDate = value; return this; }
        public ArrayList<Price> getPrices() { return Prices; }
        public VehicleDetailDto setPrices(ArrayList<Price> value) { this.Prices = value; return this; }
        public String getTransmissionType() { return TransmissionType; }
        public VehicleDetailDto setTransmissionType(String value) { this.TransmissionType = value; return this; }
        public String getFuelType() { return FuelType; }
        public VehicleDetailDto setFuelType(String value) { this.FuelType = value; return this; }
        public String getVehicleClass() { return VehicleClass; }
        public VehicleDetailDto setVehicleClass(String value) { this.VehicleClass = value; return this; }
        public String getProductRange() { return ProductRange; }
        public VehicleDetailDto setProductRange(String value) { this.ProductRange = value; return this; }
        public String getVehicleType() { return VehicleType; }
        public VehicleDetailDto setVehicleType(String value) { this.VehicleType = value; return this; }
        public BigDecimal getEmission() { return Emission; }
        public VehicleDetailDto setEmission(BigDecimal value) { this.Emission = value; return this; }
        public Boolean getIsAvailableOnline() { return IsAvailableOnline; }
        public VehicleDetailDto setIsAvailableOnline(Boolean value) { this.IsAvailableOnline = value; return this; }
        public Boolean isUnderOffer() { return UnderOffer; }
        public VehicleDetailDto setUnderOffer(Boolean value) { this.UnderOffer = value; return this; }
        public Boolean getIsExcluded() { return IsExcluded; }
        public VehicleDetailDto setIsExcluded(Boolean value) { this.IsExcluded = value; return this; }
        public Boolean getIsSellable() { return IsSellable; }
        public VehicleDetailDto setIsSellable(Boolean value) { this.IsSellable = value; return this; }
        public Boolean isOnHold() { return OnHold; }
        public VehicleDetailDto setOnHold(Boolean value) { this.OnHold = value; return this; }
        public BigDecimal getElectricConsumption() { return ElectricConsumption; }
        public VehicleDetailDto setElectricConsumption(BigDecimal value) { this.ElectricConsumption = value; return this; }
        public BigDecimal getElectricRange() { return ElectricRange; }
        public VehicleDetailDto setElectricRange(BigDecimal value) { this.ElectricRange = value; return this; }
        public String getImageUrl() { return ImageUrl; }
        public VehicleDetailDto setImageUrl(String value) { this.ImageUrl = value; return this; }
        public String getBaumuster() { return Baumuster; }
        public VehicleDetailDto setBaumuster(String value) { this.Baumuster = value; return this; }
        public Retailer getRetailer() { return Retailer; }
        public VehicleDetailDto setRetailer(Retailer value) { this.Retailer = value; return this; }
        public String getBm7NST() { return Bm7NST; }
        public VehicleDetailDto setBm7NST(String value) { this.Bm7NST = value; return this; }
        public BigDecimal getOtr() { return OTR; }
        public VehicleDetailDto setOtr(BigDecimal value) { this.OTR = value; return this; }
        public BigDecimal getActualPrice() { return ActualPrice; }
        public VehicleDetailDto setActualPrice(BigDecimal value) { this.ActualPrice = value; return this; }
        public Boolean getIsDisplayStock() { return IsDisplayStock; }
        public VehicleDetailDto setIsDisplayStock(Boolean value) { this.IsDisplayStock = value; return this; }
        public Integer getDisplayRetailerId() { return DisplayRetailerId; }
        public VehicleDetailDto setDisplayRetailerId(Integer value) { this.DisplayRetailerId = value; return this; }
        public String getDisplayRetailer() { return DisplayRetailer; }
        public VehicleDetailDto setDisplayRetailer(String value) { this.DisplayRetailer = value; return this; }
        public String getDisplayRetailerGssnId() { return DisplayRetailerGssnId; }
        public VehicleDetailDto setDisplayRetailerGssnId(String value) { this.DisplayRetailerGssnId = value; return this; }
        public String getDisplayRetailerMarketAreaId() { return DisplayRetailerMarketAreaId; }
        public VehicleDetailDto setDisplayRetailerMarketAreaId(String value) { this.DisplayRetailerMarketAreaId = value; return this; }
        public Boolean getIsSmartDisplayRetailer() { return IsSmartDisplayRetailer; }
        public VehicleDetailDto setIsSmartDisplayRetailer(Boolean value) { this.IsSmartDisplayRetailer = value; return this; }
        public Boolean getIsSpecialistCar() { return IsSpecialistCar; }
        public VehicleDetailDto setIsSpecialistCar(Boolean value) { this.IsSpecialistCar = value; return this; }
        public Integer getAge() { return Age; }
        public VehicleDetailDto setAge(Integer value) { this.Age = value; return this; }
        public Boolean isSecured() { return Secured; }
        public VehicleDetailDto setSecured(Boolean value) { this.Secured = value; return this; }
        public Boolean getIsHOBackOrderAccountVehicle() { return IsHOBackOrderAccountVehicle; }
        public VehicleDetailDto setIsHOBackOrderAccountVehicle(Boolean value) { this.IsHOBackOrderAccountVehicle = value; return this; }
        public Boolean getIsAllocatedToBackOrder() { return IsAllocatedToBackOrder; }
        public VehicleDetailDto setIsAllocatedToBackOrder(Boolean value) { this.IsAllocatedToBackOrder = value; return this; }
        public String getUsageCode() { return UsageCode; }
        public VehicleDetailDto setUsageCode(String value) { this.UsageCode = value; return this; }
        public BigDecimal getEmissionCombined() { return EmissionCombined; }
        public VehicleDetailDto setEmissionCombined(BigDecimal value) { this.EmissionCombined = value; return this; }
        public String getNormalisedEmissionDirective() { return NormalisedEmissionDirective; }
        public VehicleDetailDto setNormalisedEmissionDirective(String value) { this.NormalisedEmissionDirective = value; return this; }
        public Boolean isHasMildHybridEquipmentCode() { return HasMildHybridEquipmentCode; }
        public VehicleDetailDto setHasMildHybridEquipmentCode(Boolean value) { this.HasMildHybridEquipmentCode = value; return this; }
        public BigDecimal getRetailPriceExVat() { return RetailPriceExVat; }
        public VehicleDetailDto setRetailPriceExVat(BigDecimal value) { this.RetailPriceExVat = value; return this; }
        public BigDecimal getRetailPriceIncVAT() { return RetailPrice_IncVAT; }
        public VehicleDetailDto setRetailPriceIncVAT(BigDecimal value) { this.RetailPrice_IncVAT = value; return this; }
        public BigDecimal getRetailPriceExVAT() { return RetailPrice_ExVAT; }
        public VehicleDetailDto setRetailPriceExVAT(BigDecimal value) { this.RetailPrice_ExVAT = value; return this; }
        public Integer getModelId() { return ModelId; }
        public VehicleDetailDto setModelId(Integer value) { this.ModelId = value; return this; }
        public String getVid() { return VID; }
        public VehicleDetailDto setVid(String value) { this.VID = value; return this; }
        public String getProductionDate() { return ProductionDate; }
        public VehicleDetailDto setProductionDate(String value) { this.ProductionDate = value; return this; }
        public String getFullModelYearCode() { return FullModelYearCode; }
        public VehicleDetailDto setFullModelYearCode(String value) { this.FullModelYearCode = value; return this; }
        public String getChassisNumber() { return ChassisNumber; }
        public VehicleDetailDto setChassisNumber(String value) { this.ChassisNumber = value; return this; }
        public Boolean isEligibleForIntegratedServiceCare() { return EligibleForIntegratedServiceCare; }
        public VehicleDetailDto setEligibleForIntegratedServiceCare(Boolean value) { this.EligibleForIntegratedServiceCare = value; return this; }
        public String getAccountType() { return AccountType; }
        public VehicleDetailDto setAccountType(String value) { this.AccountType = value; return this; }
        public VehicleConsumption getConsumptionCombined() { return ConsumptionCombined; }
        public VehicleDetailDto setConsumptionCombined(VehicleConsumption value) { this.ConsumptionCombined = value; return this; }
        public VehicleConsumption getConsumptionExtraUrban() { return ConsumptionExtraUrban; }
        public VehicleDetailDto setConsumptionExtraUrban(VehicleConsumption value) { this.ConsumptionExtraUrban = value; return this; }
        public VehicleConsumption getConsumptionUrban() { return ConsumptionUrban; }
        public VehicleDetailDto setConsumptionUrban(VehicleConsumption value) { this.ConsumptionUrban = value; return this; }
        public VehicleConsumption getWltpFuelConsumptionCombined() { return WltpFuelConsumptionCombined; }
        public VehicleDetailDto setWltpFuelConsumptionCombined(VehicleConsumption value) { this.WltpFuelConsumptionCombined = value; return this; }
        public VehicleConsumption getWltpFuelConsumptionExtraHigh() { return WltpFuelConsumptionExtraHigh; }
        public VehicleDetailDto setWltpFuelConsumptionExtraHigh(VehicleConsumption value) { this.WltpFuelConsumptionExtraHigh = value; return this; }
        public VehicleConsumption getWltpFuelConsumptionHigh() { return WltpFuelConsumptionHigh; }
        public VehicleDetailDto setWltpFuelConsumptionHigh(VehicleConsumption value) { this.WltpFuelConsumptionHigh = value; return this; }
        public VehicleConsumption getWltpFuelConsumptionLow() { return WltpFuelConsumptionLow; }
        public VehicleDetailDto setWltpFuelConsumptionLow(VehicleConsumption value) { this.WltpFuelConsumptionLow = value; return this; }
        public VehicleConsumption getWltpFuelConsumptionMedium() { return WltpFuelConsumptionMedium; }
        public VehicleDetailDto setWltpFuelConsumptionMedium(VehicleConsumption value) { this.WltpFuelConsumptionMedium = value; return this; }
        public ArrayList<Equipmentv2> getEquipment() { return Equipment; }
        public VehicleDetailDto setEquipment(ArrayList<Equipmentv2> value) { this.Equipment = value; return this; }
        public ArrayList<VehicleEquipmentCategory> getEquipmentCategories() { return EquipmentCategories; }
        public VehicleDetailDto setEquipmentCategories(ArrayList<VehicleEquipmentCategory> value) { this.EquipmentCategories = value; return this; }
        public VehicleEmissionClass getEnergyEfficiencyClass() { return EnergyEfficiencyClass; }
        public VehicleDetailDto setEnergyEfficiencyClass(VehicleEmissionClass value) { this.EnergyEfficiencyClass = value; return this; }
        public ArrayList<VehicleAttribute> getVehicleData() { return VehicleData; }
        public VehicleDetailDto setVehicleData(ArrayList<VehicleAttribute> value) { this.VehicleData = value; return this; }
        public ArrayList<VehicleIntegratedServiceCareOption> getIntegratedServiceCareOptions() { return IntegratedServiceCareOptions; }
        public VehicleDetailDto setIntegratedServiceCareOptions(ArrayList<VehicleIntegratedServiceCareOption> value) { this.IntegratedServiceCareOptions = value; return this; }
        public ArrayList<String> getIspVehicleCustomerDescriptions() { return IspVehicleCustomerDescriptions; }
        public VehicleDetailDto setIspVehicleCustomerDescriptions(ArrayList<String> value) { this.IspVehicleCustomerDescriptions = value; return this; }
    }

    public static class Brand
    {
        public Integer Id = null;
        public String Description = null;
        public String DisplayName = null;
        public ArrayList<BodyStyle> BodyStyles = null;
        
        public Integer getId() { return Id; }
        public Brand setId(Integer value) { this.Id = value; return this; }
        public String getDescription() { return Description; }
        public Brand setDescription(String value) { this.Description = value; return this; }
        public String getDisplayName() { return DisplayName; }
        public Brand setDisplayName(String value) { this.DisplayName = value; return this; }
        public ArrayList<BodyStyle> getBodyStyles() { return BodyStyles; }
        public Brand setBodyStyles(ArrayList<BodyStyle> value) { this.BodyStyles = value; return this; }
    }

    public static class BodyStyle
    {
        public Integer Id = null;
        public String Description = null;
        public ArrayList<Model> Models = null;
        
        public Integer getId() { return Id; }
        public BodyStyle setId(Integer value) { this.Id = value; return this; }
        public String getDescription() { return Description; }
        public BodyStyle setDescription(String value) { this.Description = value; return this; }
        public ArrayList<Model> getModels() { return Models; }
        public BodyStyle setModels(ArrayList<Model> value) { this.Models = value; return this; }
    }

    public static class Model
    {
        public Integer Id = null;
        public String Description = null;
        public String DisplayName = null;
        public String ImageUrlSmall = null;
        public String ImageUrlMedium = null;
        public String ImageUrlLarge = null;
        public Boolean Specialist = null;
        public Integer Priority = null;
        public Boolean ExcludeFromOnlineShowroomFilters = null;
        
        public Integer getId() { return Id; }
        public Model setId(Integer value) { this.Id = value; return this; }
        public String getDescription() { return Description; }
        public Model setDescription(String value) { this.Description = value; return this; }
        public String getDisplayName() { return DisplayName; }
        public Model setDisplayName(String value) { this.DisplayName = value; return this; }
        public String getImageUrlSmall() { return ImageUrlSmall; }
        public Model setImageUrlSmall(String value) { this.ImageUrlSmall = value; return this; }
        public String getImageUrlMedium() { return ImageUrlMedium; }
        public Model setImageUrlMedium(String value) { this.ImageUrlMedium = value; return this; }
        public String getImageUrlLarge() { return ImageUrlLarge; }
        public Model setImageUrlLarge(String value) { this.ImageUrlLarge = value; return this; }
        public Boolean isSpecialist() { return Specialist; }
        public Model setSpecialist(Boolean value) { this.Specialist = value; return this; }
        public Integer getPriority() { return Priority; }
        public Model setPriority(Integer value) { this.Priority = value; return this; }
        public Boolean isExcludeFromOnlineShowroomFilters() { return ExcludeFromOnlineShowroomFilters; }
        public Model setExcludeFromOnlineShowroomFilters(Boolean value) { this.ExcludeFromOnlineShowroomFilters = value; return this; }
    }

    public static class Engine
    {
        public Integer Id = null;
        public String Badge = null;
        
        public Integer getId() { return Id; }
        public Engine setId(Integer value) { this.Id = value; return this; }
        public String getBadge() { return Badge; }
        public Engine setBadge(String value) { this.Badge = value; return this; }
    }

    public static class Media
    {
        public Boolean NoImage = null;
        public String MainImageUrl = null;
        
        public Boolean isNoImage() { return NoImage; }
        public Media setNoImage(Boolean value) { this.NoImage = value; return this; }
        public String getMainImageUrl() { return MainImageUrl; }
        public Media setMainImageUrl(String value) { this.MainImageUrl = 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 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 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 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 VehicleError
    {
        public String Field = null;
        public String Message = null;
        
        public String getField() { return Field; }
        public VehicleError setField(String value) { this.Field = value; return this; }
        public String getMessage() { return Message; }
        public VehicleError setMessage(String value) { this.Message = value; return this; }
    }

}

Java GetVehicleRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /v1/vehicle HTTP/1.1 
Host: prod-api-agency-orch-mb-dhc.rapp-customers.co.uk 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Vin: String,
	IncludeAllocatedToOrder: False,
	Gssn: String,
	IsOneAdmin: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Vehicle: 
	{
		BodyStyle: String,
		Vin: String,
		Description: String,
		Colour: String,
		ColourCode: String,
		ColourDescription: String,
		ColourGroup: String,
		Model: String,
		CommissionNumber: String,
		BrandId: 0,
		Brand: 
		{
			Id: 0,
			Description: String,
			DisplayName: String,
			BodyStyles: 
			[
				{
					Id: 0,
					Description: String,
					Models: 
					[
						{
							Id: 0,
							Description: String,
							DisplayName: String,
							ImageUrlSmall: String,
							ImageUrlMedium: String,
							ImageUrlLarge: String,
							Specialist: False,
							Priority: 0,
							ExcludeFromOnlineShowroomFilters: False
						}
					]
				}
			]
		},
		Engine: 
		{
			Id: 0,
			Badge: String
		},
		EngineBadge: String,
		Media: 
		{
			NoImage: False,
			MainImageUrl: String
		},
		Line: String,
		UpholsteryCode: String,
		UpholsteryType: String,
		Upholstery: String,
		UpholsteryDescription: String,
		AvailablePackages: 
		[
			String
		],
		Packages: 
		[
			String
		],
		P11D: 0,
		PortArrivalDate: 0001-01-01,
		Prices: 
		[
			{
				Id: String,
				Description: String,
				Net: 0,
				VAT: 0,
				Gross: 0,
				Product: LIST_PRICE
			}
		],
		TransmissionType: String,
		FuelType: String,
		VehicleClass: String,
		ProductRange: String,
		VehicleType: String,
		Emission: 0,
		IsAvailableOnline: False,
		UnderOffer: False,
		IsExcluded: False,
		IsSellable: False,
		OnHold: False,
		ElectricConsumption: 0,
		ElectricRange: 0,
		ImageUrl: String,
		Baumuster: 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
					}
				]
			}
		},
		Bm7NST: String,
		OTR: 0,
		ActualPrice: 0,
		IsDisplayStock: False,
		DisplayRetailerId: 0,
		DisplayRetailer: String,
		DisplayRetailerGssnId: String,
		DisplayRetailerMarketAreaId: String,
		IsSmartDisplayRetailer: False,
		IsSpecialistCar: False,
		Age: 0,
		Secured: False,
		IsHOBackOrderAccountVehicle: False,
		IsAllocatedToBackOrder: False,
		UsageCode: String,
		EmissionCombined: 0,
		NormalisedEmissionDirective: String,
		HasMildHybridEquipmentCode: False,
		RetailPriceExVat: 0,
		RetailPrice_IncVAT: 0,
		RetailPrice_ExVAT: 0,
		ModelId: 0,
		VID: String,
		ProductionDate: String,
		FullModelYearCode: String,
		ChassisNumber: String,
		EligibleForIntegratedServiceCare: False,
		AccountType: String,
		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
		},
		Equipment: 
		[
			{
				Importance: 0,
				IsAdditional: False,
				Id: 0,
				Code: String,
				Description: String
			}
		],
		EquipmentCategories: 
		[
			{
				Order: 0,
				Code: String,
				Description: String,
				Equipment: 
				[
					{
						Importance: 0,
						IsAdditional: False,
						Id: 0,
						Code: String,
						Description: String
					}
				]
			}
		],
		EnergyEfficiencyClass: 
		{
			Colour: String,
			Rating: String
		},
		VehicleData: 
		[
			{
				Description: String,
				Value: String
			}
		],
		IntegratedServiceCareOptions: 
		[
			{
				OptionCode: String,
				BM7NST: String,
				FullModelYear: String,
				IntegratedProductType: String,
				CustomerDescription: String,
				OneAgentProductType: String
			}
		],
		IspVehicleCustomerDescriptions: 
		[
			String
		]
	},
	Errors: 
	[
		{
			Field: String,
			Message: String
		}
	]
}