| GET | /v1/vehicleswap/{VehicleSwapGuid} | Returns current vehicle for vehicle swap Guid and replacement vehicle | Returns the current vehicle for vehicle swap Guid. If the commission number is presentthen the replacement vehicle + offers + optimal vehicle (if there is one) on an existing order with an equivalent vehicle sent in the request or selected in OneAdmin |
|---|---|---|---|
| GET | /v1/vehicleswap/detail/{VehicleSwapGuid} | Returns current vehicle for vehicle swap Guid and replacement vehicle | Returns the current vehicle for vehicle swap Guid. If the commission number is presentthen the replacement vehicle + offers + optimal vehicle (if there is one) on an existing order with an equivalent vehicle sent in the request or selected in OneAdmin |
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 GetVehicleSwapDataRequest implements IGet
{
public UUID VehicleSwapGuid = null;
public UUID getVehicleSwapGuid() { return VehicleSwapGuid; }
public GetVehicleSwapDataRequest setVehicleSwapGuid(UUID value) { this.VehicleSwapGuid = value; return this; }
}
public static class GetVehicleSwapDataResponse
{
public SwapRequestDetails SwapRequestDetails = null;
public BigDecimal ActualPrice = null;
public VehicleDetailDto CurrentVehicle = null;
public ArrayList<OneAgentOfferDetails> CurrentVehicleCampaignOffers = new ArrayList<OneAgentOfferDetails>();
public ArrayList<OneAgentOfferDetails> CurrentVehiclePersonalisedOffers = new ArrayList<OneAgentOfferDetails>();
public VehicleDetailDto SwapVehicle = null;
public ArrayList<VehicleError> SwapVehicleErrors = null;
public ArrayList<OfferDetails> VehicleSwapCampaignOffers = new ArrayList<OfferDetails>();
public ArrayList<PersonalisedOfferDetails> VehicleSwapPersonalisedOffers = new ArrayList<PersonalisedOfferDetails>();
public SwapRequestDetails getSwapRequestDetails() { return SwapRequestDetails; }
public GetVehicleSwapDataResponse setSwapRequestDetails(SwapRequestDetails value) { this.SwapRequestDetails = value; return this; }
public BigDecimal getActualPrice() { return ActualPrice; }
public GetVehicleSwapDataResponse setActualPrice(BigDecimal value) { this.ActualPrice = value; return this; }
public VehicleDetailDto getCurrentVehicle() { return CurrentVehicle; }
public GetVehicleSwapDataResponse setCurrentVehicle(VehicleDetailDto value) { this.CurrentVehicle = value; return this; }
public ArrayList<OneAgentOfferDetails> getCurrentVehicleCampaignOffers() { return CurrentVehicleCampaignOffers; }
public GetVehicleSwapDataResponse setCurrentVehicleCampaignOffers(ArrayList<OneAgentOfferDetails> value) { this.CurrentVehicleCampaignOffers = value; return this; }
public ArrayList<OneAgentOfferDetails> getCurrentVehiclePersonalisedOffers() { return CurrentVehiclePersonalisedOffers; }
public GetVehicleSwapDataResponse setCurrentVehiclePersonalisedOffers(ArrayList<OneAgentOfferDetails> value) { this.CurrentVehiclePersonalisedOffers = value; return this; }
public VehicleDetailDto getSwapVehicle() { return SwapVehicle; }
public GetVehicleSwapDataResponse setSwapVehicle(VehicleDetailDto value) { this.SwapVehicle = value; return this; }
public ArrayList<VehicleError> getSwapVehicleErrors() { return SwapVehicleErrors; }
public GetVehicleSwapDataResponse setSwapVehicleErrors(ArrayList<VehicleError> value) { this.SwapVehicleErrors = value; return this; }
public ArrayList<OfferDetails> getVehicleSwapCampaignOffers() { return VehicleSwapCampaignOffers; }
public GetVehicleSwapDataResponse setVehicleSwapCampaignOffers(ArrayList<OfferDetails> value) { this.VehicleSwapCampaignOffers = value; return this; }
public ArrayList<PersonalisedOfferDetails> getVehicleSwapPersonalisedOffers() { return VehicleSwapPersonalisedOffers; }
public GetVehicleSwapDataResponse setVehicleSwapPersonalisedOffers(ArrayList<PersonalisedOfferDetails> value) { this.VehicleSwapPersonalisedOffers = value; return this; }
}
public static class SwapRequestDetails
{
public String GssnId = null;
public UUID VehicleSwapGuid = null;
public UUID OrderGuid = null;
public UUID BackOrderGuid = null;
public String OrderReference = null;
public String OrderType = null;
public String Showroom = null;
public String SentToCesar = null;
public String RequestReason = null;
public String getGssnId() { return GssnId; }
public SwapRequestDetails setGssnId(String value) { this.GssnId = value; return this; }
public UUID getVehicleSwapGuid() { return VehicleSwapGuid; }
public SwapRequestDetails setVehicleSwapGuid(UUID value) { this.VehicleSwapGuid = value; return this; }
public UUID getOrderGuid() { return OrderGuid; }
public SwapRequestDetails setOrderGuid(UUID value) { this.OrderGuid = value; return this; }
public UUID getBackOrderGuid() { return BackOrderGuid; }
public SwapRequestDetails setBackOrderGuid(UUID value) { this.BackOrderGuid = value; return this; }
public String getOrderReference() { return OrderReference; }
public SwapRequestDetails setOrderReference(String value) { this.OrderReference = value; return this; }
public String getOrderType() { return OrderType; }
public SwapRequestDetails setOrderType(String value) { this.OrderType = value; return this; }
public String getShowroom() { return Showroom; }
public SwapRequestDetails setShowroom(String value) { this.Showroom = value; return this; }
public String getSentToCesar() { return SentToCesar; }
public SwapRequestDetails setSentToCesar(String value) { this.SentToCesar = value; return this; }
public String getRequestReason() { return RequestReason; }
public SwapRequestDetails setRequestReason(String value) { this.RequestReason = 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 ConfirmedProductionDate = null;
public String ForecastedArrivalDate = 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 String getConfirmedProductionDate() { return ConfirmedProductionDate; }
public VehicleDetailDto setConfirmedProductionDate(String value) { this.ConfirmedProductionDate = value; return this; }
public String getForecastedArrivalDate() { return ForecastedArrivalDate; }
public VehicleDetailDto setForecastedArrivalDate(String value) { this.ForecastedArrivalDate = 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 OneAgentOfferDetails
{
public String CampaignOfferType = null;
public String Description = null;
public BigDecimal Net = null;
public BigDecimal Vat = null;
public BigDecimal Gross = null;
public String getCampaignOfferType() { return CampaignOfferType; }
public OneAgentOfferDetails setCampaignOfferType(String value) { this.CampaignOfferType = value; return this; }
public String getDescription() { return Description; }
public OneAgentOfferDetails setDescription(String value) { this.Description = value; return this; }
public BigDecimal getNet() { return Net; }
public OneAgentOfferDetails setNet(BigDecimal value) { this.Net = value; return this; }
public BigDecimal getVat() { return Vat; }
public OneAgentOfferDetails setVat(BigDecimal value) { this.Vat = value; return this; }
public BigDecimal getGross() { return Gross; }
public OneAgentOfferDetails setGross(BigDecimal value) { this.Gross = 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; }
}
public static class OfferDetails
{
public Integer Id = null;
public Integer CampaignId = null;
public String Campaign = null;
public String CampaignOfferType = null;
public String Description = null;
public BigDecimal Net = null;
public Date From = null;
public Date To = null;
public Boolean GovernmentGrant = null;
public Integer getId() { return Id; }
public OfferDetails setId(Integer value) { this.Id = value; return this; }
public Integer getCampaignId() { return CampaignId; }
public OfferDetails setCampaignId(Integer value) { this.CampaignId = value; return this; }
public String getCampaign() { return Campaign; }
public OfferDetails setCampaign(String value) { this.Campaign = value; return this; }
public String getCampaignOfferType() { return CampaignOfferType; }
public OfferDetails setCampaignOfferType(String value) { this.CampaignOfferType = value; return this; }
public String getDescription() { return Description; }
public OfferDetails setDescription(String value) { this.Description = value; return this; }
public BigDecimal getNet() { return Net; }
public OfferDetails setNet(BigDecimal value) { this.Net = value; return this; }
public Date getFrom() { return From; }
public OfferDetails setFrom(Date value) { this.From = value; return this; }
public Date getTo() { return To; }
public OfferDetails setTo(Date value) { this.To = value; return this; }
public Boolean isGovernmentGrant() { return GovernmentGrant; }
public OfferDetails setGovernmentGrant(Boolean value) { this.GovernmentGrant = value; return this; }
}
public static class PersonalisedOfferDetails
{
public Integer Id = null;
public Integer CampaignId = null;
public String Campaign = null;
public String Description = null;
public String Reference = null;
public String Category = null;
public BigDecimal Net = null;
public BigDecimal VAT = null;
public BigDecimal Gross = null;
public String Vin = null;
public Boolean MoneyOffVehicle = null;
public Boolean IsVATCharged = null;
public Boolean IsVATVariable = null;
public Boolean CertificateRequired = null;
public Boolean AutoSelect = null;
public Integer getId() { return Id; }
public PersonalisedOfferDetails setId(Integer value) { this.Id = value; return this; }
public Integer getCampaignId() { return CampaignId; }
public PersonalisedOfferDetails setCampaignId(Integer value) { this.CampaignId = value; return this; }
public String getCampaign() { return Campaign; }
public PersonalisedOfferDetails setCampaign(String value) { this.Campaign = value; return this; }
public String getDescription() { return Description; }
public PersonalisedOfferDetails setDescription(String value) { this.Description = value; return this; }
public String getReference() { return Reference; }
public PersonalisedOfferDetails setReference(String value) { this.Reference = value; return this; }
public String getCategory() { return Category; }
public PersonalisedOfferDetails setCategory(String value) { this.Category = value; return this; }
public BigDecimal getNet() { return Net; }
public PersonalisedOfferDetails setNet(BigDecimal value) { this.Net = value; return this; }
public BigDecimal getVat() { return VAT; }
public PersonalisedOfferDetails setVat(BigDecimal value) { this.VAT = value; return this; }
public BigDecimal getGross() { return Gross; }
public PersonalisedOfferDetails setGross(BigDecimal value) { this.Gross = value; return this; }
public String getVin() { return Vin; }
public PersonalisedOfferDetails setVin(String value) { this.Vin = value; return this; }
public Boolean isMoneyOffVehicle() { return MoneyOffVehicle; }
public PersonalisedOfferDetails setMoneyOffVehicle(Boolean value) { this.MoneyOffVehicle = value; return this; }
public Boolean getIsVATCharged() { return IsVATCharged; }
public PersonalisedOfferDetails setIsVATCharged(Boolean value) { this.IsVATCharged = value; return this; }
public Boolean getIsVATVariable() { return IsVATVariable; }
public PersonalisedOfferDetails setIsVATVariable(Boolean value) { this.IsVATVariable = value; return this; }
public Boolean isCertificateRequired() { return CertificateRequired; }
public PersonalisedOfferDetails setCertificateRequired(Boolean value) { this.CertificateRequired = value; return this; }
public Boolean isAutoSelect() { return AutoSelect; }
public PersonalisedOfferDetails setAutoSelect(Boolean value) { this.AutoSelect = value; return this; }
}
}
Java GetVehicleSwapDataRequest 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.
GET /v1/vehicleswap/{VehicleSwapGuid} HTTP/1.1
Host: prod-api-agency-orch-mb-dhc.rapp-customers.co.uk
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
SwapRequestDetails:
{
GssnId: String,
VehicleSwapGuid: 00000000000000000000000000000000,
OrderGuid: 00000000000000000000000000000000,
BackOrderGuid: 00000000000000000000000000000000,
OrderReference: String,
OrderType: String,
Showroom: String,
SentToCesar: String,
RequestReason: String
},
ActualPrice: 0,
CurrentVehicle:
{
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
],
ConfirmedProductionDate: String,
ForecastedArrivalDate: String
},
CurrentVehicleCampaignOffers:
[
{
CampaignOfferType: String,
Description: String,
Net: 0,
Vat: 0,
Gross: 0
}
],
CurrentVehiclePersonalisedOffers:
[
{
CampaignOfferType: String,
Description: String,
Net: 0,
Vat: 0,
Gross: 0
}
],
SwapVehicle:
{
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
],
ConfirmedProductionDate: String,
ForecastedArrivalDate: String
},
SwapVehicleErrors:
[
{
Field: String,
Message: String
}
],
VehicleSwapCampaignOffers:
[
{
Id: 0,
CampaignId: 0,
Campaign: String,
CampaignOfferType: String,
Description: String,
Net: 0,
From: 0001-01-01,
To: 0001-01-01,
GovernmentGrant: False
}
],
VehicleSwapPersonalisedOffers:
[
{
Id: 0,
CampaignId: 0,
Campaign: String,
Description: String,
Reference: String,
Category: String,
Net: 0,
VAT: 0,
Gross: 0,
Vin: String,
MoneyOffVehicle: False,
IsVATCharged: False,
IsVATVariable: False,
CertificateRequired: False,
AutoSelect: False
}
]
}