Mercedes.VehicleManagement.API

<back to all web services

MotabilityVehiclesRequest

Vehicle
Requires Authentication
The following routes are available for this service:
GET/v1/{VehicleType}/Vehicle/MotabilityGet motability vehicle data
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class MotabilityVehiclesRequest implements IGet
    {
        public String vehicleType = null;
        
        public String getVehicleType() { return vehicleType; }
        public MotabilityVehiclesRequest setVehicleType(String value) { this.vehicleType = value; return this; }
    }

    public static class VehiclesByRetailerResponse
    {
        public ArrayList<VehicleIdentifierData> vehicles = new ArrayList<VehicleIdentifierData>();
        
        public ArrayList<VehicleIdentifierData> getVehicles() { return vehicles; }
        public VehiclesByRetailerResponse setVehicles(ArrayList<VehicleIdentifierData> value) { this.vehicles = value; return this; }
    }

    public static class VehicleIdentifierData extends VehicleData
    {
        public String retailer = null;
        public Boolean hasMotabilityError = null;
        public ArrayList<Equipment> equipment = new ArrayList<Equipment>();
        
        public String getRetailer() { return retailer; }
        public VehicleIdentifierData setRetailer(String value) { this.retailer = value; return this; }
        public Boolean isHasMotabilityError() { return hasMotabilityError; }
        public VehicleIdentifierData setHasMotabilityError(Boolean value) { this.hasMotabilityError = value; return this; }
        public ArrayList<Equipment> getEquipment() { return equipment; }
        public VehicleIdentifierData setEquipment(ArrayList<Equipment> value) { this.equipment = value; return this; }
    }

    public static class VehicleData extends VehicleDataBase
    {
        public String engine = null;
        
        public String getEngine() { return engine; }
        public VehicleData setEngine(String value) { this.engine = value; return this; }
    }

    public static class VehicleDataBase
    {
        public String vin = null;
        public String description = null;
        public String model = null;
        public String otr = null;
        public String retailPriceExVAT = null;
        public String actualPrice = null;
        public String fuelType = null;
        public String transmission = null;
        public String transmissionType = null;
        public String colour = null;
        public String colourCode = null;
        public String colourDescription = null;
        public String commissionNumber = null;
        public Boolean offerAvailable = null;
        public Integer campaignDiscountOfferTotal = null;
        public Integer campaignDiscountOfferTotalCurrent = null;
        public Integer campaignDiscountOfferTotalPending = null;
        public Integer campaignServiceOfferTotal = null;
        public Integer campaignServiceOfferTotalCurrent = null;
        public Integer campaignServiceOfferTotalPending = null;
        public Integer campaignCustomOfferTotal = null;
        public Integer campaignPersonalisedOfferTotalCurrent = null;
        public Integer campaignPersonalisedOfferTotalPending = null;
        public Integer campaignPersonalisedOfferTotal = null;
        public Integer campaignCustomOfferTotalCurrent = null;
        public Integer campaignCustomOfferTotalPending = null;
        public Integer campaignOtherOfferTotal = null;
        public Integer campaignOtherOfferTotalCurrent = null;
        public Integer campaignOtherOfferTotalPending = null;
        public Integer retailerDiscountOfferTotal = null;
        public Integer retailerDiscountOfferTotalCurrent = null;
        public Integer retailerDiscountOfferTotalPending = null;
        public Integer retailerServiceOfferTotal = null;
        public Integer retailerServiceOfferTotalCurrent = null;
        public Integer retailerServiceOfferTotalPending = null;
        public Integer retailerCustomOfferTotal = null;
        public Integer retailerCustomOfferTotalCurrent = null;
        public Integer retailerCustomOfferTotalPending = null;
        public Integer retailerWarrantyOfferTotal = null;
        public Integer retailerWarrantyOfferTotalCurrent = null;
        public Integer retailerWarrantyOfferTotalPending = null;
        public Integer retailerOfferTotal = null;
        public Integer retailerOfferTotalCurrent = null;
        public Integer retailerOfferTotalPending = null;
        public Integer campaignOfferTotal = null;
        public Integer campaignOfferTotalCurrent = null;
        public Integer campaignOfferTotalPending = null;
        public Integer campaignAndOfferTotal = null;
        public Integer campaignAndOfferTotalCurrent = null;
        public Integer campaignAndOfferTotalPending = null;
        public Integer offerTotal = null;
        public Integer offerTotalCurrent = null;
        public Integer offerTotalPending = null;
        public String creation = null;
        public String modified = null;
        public Integer electricRange = null;
        public Integer electricConsumption = null;
        public Date portArrivalDate = null;
        public Integer daysSincePortArrival = null;
        public BigDecimal retailPriceIncVAT = null;
        public String bodyStyle = null;
        public String upholstery = null;
        public String upholsteryCode = null;
        public String upholsteryType = null;
        public ArrayList<String> packageNames = new ArrayList<String>();
        public String line = null;
        public BigDecimal currentRetailerOfferPrice = null;
        public String retailPrice = null;
        public Boolean vatQualifying = null;
        public Integer retailerId = null;
        public String gssnId = null;
        public Boolean noImage = null;
        public String imageUrl = null;
        public Boolean isAvailableOnline = null;
        public Boolean isBackOrdered = null;
        public String creationDate = null;
        public String maintenanceDate = null;
        public String registrationNumber = null;
        public Date registrationDate = null;
        public Integer mileage = null;
        public Date tradeInDate = null;
        public String source = null;
        public String vehicleType = null;
        public String offerAmount = null;
        public String offerExpiry = null;
        public ArrayList<Integer> activeOffers = new ArrayList<Integer>();
        public Integer campaignMessagesTotal = null;
        public Boolean underOffer = null;
        public Boolean isDisplayStock = null;
        public String displayRetailer = null;
        public String displayRetailerGssnId = null;
        public String location = null;
        public String account = null;
        public String accountType = null;
        public String usageCode = null;
        public String bm7NST = null;
        public Boolean isSellable = null;
        public Boolean secured = null;
        public Boolean specialist = null;
        public Boolean isMotabilityRetailer = null;
        public String upholsteryDescription = null;
        public Boolean inBackOrderAccount = null;
        public String fullModelYearCode = null;
        public Date productionDate = null;
        public String baumuster = null;
        public Boolean isMotability = null;
        public BigDecimal pipAdvanceRentalGross = null;
        public BigDecimal wpmsAdvanceRentalGross = null;
        public ArrayList<String> ispVehicleCustomerDescriptions = null;
        
        public String getVin() { return vin; }
        public VehicleDataBase setVin(String value) { this.vin = value; return this; }
        public String getDescription() { return description; }
        public VehicleDataBase setDescription(String value) { this.description = value; return this; }
        public String getModel() { return model; }
        public VehicleDataBase setModel(String value) { this.model = value; return this; }
        public String getOtr() { return otr; }
        public VehicleDataBase setOtr(String value) { this.otr = value; return this; }
        public String getRetailPriceExVAT() { return retailPriceExVAT; }
        public VehicleDataBase setRetailPriceExVAT(String value) { this.retailPriceExVAT = value; return this; }
        public String getActualPrice() { return actualPrice; }
        public VehicleDataBase setActualPrice(String value) { this.actualPrice = value; return this; }
        public String getFuelType() { return fuelType; }
        public VehicleDataBase setFuelType(String value) { this.fuelType = value; return this; }
        public String getTransmission() { return transmission; }
        public VehicleDataBase setTransmission(String value) { this.transmission = value; return this; }
        public String getTransmissionType() { return transmissionType; }
        public VehicleDataBase setTransmissionType(String value) { this.transmissionType = value; return this; }
        public String getColour() { return colour; }
        public VehicleDataBase setColour(String value) { this.colour = value; return this; }
        public String getColourCode() { return colourCode; }
        public VehicleDataBase setColourCode(String value) { this.colourCode = value; return this; }
        public String getColourDescription() { return colourDescription; }
        public VehicleDataBase setColourDescription(String value) { this.colourDescription = value; return this; }
        public String getCommissionNumber() { return commissionNumber; }
        public VehicleDataBase setCommissionNumber(String value) { this.commissionNumber = value; return this; }
        public Boolean isOfferAvailable() { return offerAvailable; }
        public VehicleDataBase setOfferAvailable(Boolean value) { this.offerAvailable = value; return this; }
        public Integer getCampaignDiscountOfferTotal() { return campaignDiscountOfferTotal; }
        public VehicleDataBase setCampaignDiscountOfferTotal(Integer value) { this.campaignDiscountOfferTotal = value; return this; }
        public Integer getCampaignDiscountOfferTotalCurrent() { return campaignDiscountOfferTotalCurrent; }
        public VehicleDataBase setCampaignDiscountOfferTotalCurrent(Integer value) { this.campaignDiscountOfferTotalCurrent = value; return this; }
        public Integer getCampaignDiscountOfferTotalPending() { return campaignDiscountOfferTotalPending; }
        public VehicleDataBase setCampaignDiscountOfferTotalPending(Integer value) { this.campaignDiscountOfferTotalPending = value; return this; }
        public Integer getCampaignServiceOfferTotal() { return campaignServiceOfferTotal; }
        public VehicleDataBase setCampaignServiceOfferTotal(Integer value) { this.campaignServiceOfferTotal = value; return this; }
        public Integer getCampaignServiceOfferTotalCurrent() { return campaignServiceOfferTotalCurrent; }
        public VehicleDataBase setCampaignServiceOfferTotalCurrent(Integer value) { this.campaignServiceOfferTotalCurrent = value; return this; }
        public Integer getCampaignServiceOfferTotalPending() { return campaignServiceOfferTotalPending; }
        public VehicleDataBase setCampaignServiceOfferTotalPending(Integer value) { this.campaignServiceOfferTotalPending = value; return this; }
        public Integer getCampaignCustomOfferTotal() { return campaignCustomOfferTotal; }
        public VehicleDataBase setCampaignCustomOfferTotal(Integer value) { this.campaignCustomOfferTotal = value; return this; }
        public Integer getCampaignPersonalisedOfferTotalCurrent() { return campaignPersonalisedOfferTotalCurrent; }
        public VehicleDataBase setCampaignPersonalisedOfferTotalCurrent(Integer value) { this.campaignPersonalisedOfferTotalCurrent = value; return this; }
        public Integer getCampaignPersonalisedOfferTotalPending() { return campaignPersonalisedOfferTotalPending; }
        public VehicleDataBase setCampaignPersonalisedOfferTotalPending(Integer value) { this.campaignPersonalisedOfferTotalPending = value; return this; }
        public Integer getCampaignPersonalisedOfferTotal() { return campaignPersonalisedOfferTotal; }
        public VehicleDataBase setCampaignPersonalisedOfferTotal(Integer value) { this.campaignPersonalisedOfferTotal = value; return this; }
        public Integer getCampaignCustomOfferTotalCurrent() { return campaignCustomOfferTotalCurrent; }
        public VehicleDataBase setCampaignCustomOfferTotalCurrent(Integer value) { this.campaignCustomOfferTotalCurrent = value; return this; }
        public Integer getCampaignCustomOfferTotalPending() { return campaignCustomOfferTotalPending; }
        public VehicleDataBase setCampaignCustomOfferTotalPending(Integer value) { this.campaignCustomOfferTotalPending = value; return this; }
        public Integer getCampaignOtherOfferTotal() { return campaignOtherOfferTotal; }
        public VehicleDataBase setCampaignOtherOfferTotal(Integer value) { this.campaignOtherOfferTotal = value; return this; }
        public Integer getCampaignOtherOfferTotalCurrent() { return campaignOtherOfferTotalCurrent; }
        public VehicleDataBase setCampaignOtherOfferTotalCurrent(Integer value) { this.campaignOtherOfferTotalCurrent = value; return this; }
        public Integer getCampaignOtherOfferTotalPending() { return campaignOtherOfferTotalPending; }
        public VehicleDataBase setCampaignOtherOfferTotalPending(Integer value) { this.campaignOtherOfferTotalPending = value; return this; }
        public Integer getRetailerDiscountOfferTotal() { return retailerDiscountOfferTotal; }
        public VehicleDataBase setRetailerDiscountOfferTotal(Integer value) { this.retailerDiscountOfferTotal = value; return this; }
        public Integer getRetailerDiscountOfferTotalCurrent() { return retailerDiscountOfferTotalCurrent; }
        public VehicleDataBase setRetailerDiscountOfferTotalCurrent(Integer value) { this.retailerDiscountOfferTotalCurrent = value; return this; }
        public Integer getRetailerDiscountOfferTotalPending() { return retailerDiscountOfferTotalPending; }
        public VehicleDataBase setRetailerDiscountOfferTotalPending(Integer value) { this.retailerDiscountOfferTotalPending = value; return this; }
        public Integer getRetailerServiceOfferTotal() { return retailerServiceOfferTotal; }
        public VehicleDataBase setRetailerServiceOfferTotal(Integer value) { this.retailerServiceOfferTotal = value; return this; }
        public Integer getRetailerServiceOfferTotalCurrent() { return retailerServiceOfferTotalCurrent; }
        public VehicleDataBase setRetailerServiceOfferTotalCurrent(Integer value) { this.retailerServiceOfferTotalCurrent = value; return this; }
        public Integer getRetailerServiceOfferTotalPending() { return retailerServiceOfferTotalPending; }
        public VehicleDataBase setRetailerServiceOfferTotalPending(Integer value) { this.retailerServiceOfferTotalPending = value; return this; }
        public Integer getRetailerCustomOfferTotal() { return retailerCustomOfferTotal; }
        public VehicleDataBase setRetailerCustomOfferTotal(Integer value) { this.retailerCustomOfferTotal = value; return this; }
        public Integer getRetailerCustomOfferTotalCurrent() { return retailerCustomOfferTotalCurrent; }
        public VehicleDataBase setRetailerCustomOfferTotalCurrent(Integer value) { this.retailerCustomOfferTotalCurrent = value; return this; }
        public Integer getRetailerCustomOfferTotalPending() { return retailerCustomOfferTotalPending; }
        public VehicleDataBase setRetailerCustomOfferTotalPending(Integer value) { this.retailerCustomOfferTotalPending = value; return this; }
        public Integer getRetailerWarrantyOfferTotal() { return retailerWarrantyOfferTotal; }
        public VehicleDataBase setRetailerWarrantyOfferTotal(Integer value) { this.retailerWarrantyOfferTotal = value; return this; }
        public Integer getRetailerWarrantyOfferTotalCurrent() { return retailerWarrantyOfferTotalCurrent; }
        public VehicleDataBase setRetailerWarrantyOfferTotalCurrent(Integer value) { this.retailerWarrantyOfferTotalCurrent = value; return this; }
        public Integer getRetailerWarrantyOfferTotalPending() { return retailerWarrantyOfferTotalPending; }
        public VehicleDataBase setRetailerWarrantyOfferTotalPending(Integer value) { this.retailerWarrantyOfferTotalPending = value; return this; }
        public Integer getRetailerOfferTotal() { return retailerOfferTotal; }
        public VehicleDataBase setRetailerOfferTotal(Integer value) { this.retailerOfferTotal = value; return this; }
        public Integer getRetailerOfferTotalCurrent() { return retailerOfferTotalCurrent; }
        public VehicleDataBase setRetailerOfferTotalCurrent(Integer value) { this.retailerOfferTotalCurrent = value; return this; }
        public Integer getRetailerOfferTotalPending() { return retailerOfferTotalPending; }
        public VehicleDataBase setRetailerOfferTotalPending(Integer value) { this.retailerOfferTotalPending = value; return this; }
        public Integer getCampaignOfferTotal() { return campaignOfferTotal; }
        public VehicleDataBase setCampaignOfferTotal(Integer value) { this.campaignOfferTotal = value; return this; }
        public Integer getCampaignOfferTotalCurrent() { return campaignOfferTotalCurrent; }
        public VehicleDataBase setCampaignOfferTotalCurrent(Integer value) { this.campaignOfferTotalCurrent = value; return this; }
        public Integer getCampaignOfferTotalPending() { return campaignOfferTotalPending; }
        public VehicleDataBase setCampaignOfferTotalPending(Integer value) { this.campaignOfferTotalPending = value; return this; }
        public Integer getCampaignAndOfferTotal() { return campaignAndOfferTotal; }
        public VehicleDataBase setCampaignAndOfferTotal(Integer value) { this.campaignAndOfferTotal = value; return this; }
        public Integer getCampaignAndOfferTotalCurrent() { return campaignAndOfferTotalCurrent; }
        public VehicleDataBase setCampaignAndOfferTotalCurrent(Integer value) { this.campaignAndOfferTotalCurrent = value; return this; }
        public Integer getCampaignAndOfferTotalPending() { return campaignAndOfferTotalPending; }
        public VehicleDataBase setCampaignAndOfferTotalPending(Integer value) { this.campaignAndOfferTotalPending = value; return this; }
        public Integer getOfferTotal() { return offerTotal; }
        public VehicleDataBase setOfferTotal(Integer value) { this.offerTotal = value; return this; }
        public Integer getOfferTotalCurrent() { return offerTotalCurrent; }
        public VehicleDataBase setOfferTotalCurrent(Integer value) { this.offerTotalCurrent = value; return this; }
        public Integer getOfferTotalPending() { return offerTotalPending; }
        public VehicleDataBase setOfferTotalPending(Integer value) { this.offerTotalPending = value; return this; }
        public String getCreation() { return creation; }
        public VehicleDataBase setCreation(String value) { this.creation = value; return this; }
        public String getModified() { return modified; }
        public VehicleDataBase setModified(String value) { this.modified = value; return this; }
        public Integer getElectricRange() { return electricRange; }
        public VehicleDataBase setElectricRange(Integer value) { this.electricRange = value; return this; }
        public Integer getElectricConsumption() { return electricConsumption; }
        public VehicleDataBase setElectricConsumption(Integer value) { this.electricConsumption = value; return this; }
        public Date getPortArrivalDate() { return portArrivalDate; }
        public VehicleDataBase setPortArrivalDate(Date value) { this.portArrivalDate = value; return this; }
        public Integer getDaysSincePortArrival() { return daysSincePortArrival; }
        public VehicleDataBase setDaysSincePortArrival(Integer value) { this.daysSincePortArrival = value; return this; }
        public BigDecimal getRetailPriceIncVAT() { return retailPriceIncVAT; }
        public VehicleDataBase setRetailPriceIncVAT(BigDecimal value) { this.retailPriceIncVAT = value; return this; }
        public String getBodyStyle() { return bodyStyle; }
        public VehicleDataBase setBodyStyle(String value) { this.bodyStyle = value; return this; }
        public String getUpholstery() { return upholstery; }
        public VehicleDataBase setUpholstery(String value) { this.upholstery = value; return this; }
        public String getUpholsteryCode() { return upholsteryCode; }
        public VehicleDataBase setUpholsteryCode(String value) { this.upholsteryCode = value; return this; }
        public String getUpholsteryType() { return upholsteryType; }
        public VehicleDataBase setUpholsteryType(String value) { this.upholsteryType = value; return this; }
        public ArrayList<String> getPackageNames() { return packageNames; }
        public VehicleDataBase setPackageNames(ArrayList<String> value) { this.packageNames = value; return this; }
        public String getLine() { return line; }
        public VehicleDataBase setLine(String value) { this.line = value; return this; }
        public BigDecimal getCurrentRetailerOfferPrice() { return currentRetailerOfferPrice; }
        public VehicleDataBase setCurrentRetailerOfferPrice(BigDecimal value) { this.currentRetailerOfferPrice = value; return this; }
        public String getRetailPrice() { return retailPrice; }
        public VehicleDataBase setRetailPrice(String value) { this.retailPrice = value; return this; }
        public Boolean isVatQualifying() { return vatQualifying; }
        public VehicleDataBase setVatQualifying(Boolean value) { this.vatQualifying = value; return this; }
        public Integer getRetailerId() { return retailerId; }
        public VehicleDataBase setRetailerId(Integer value) { this.retailerId = value; return this; }
        public String getGssnId() { return gssnId; }
        public VehicleDataBase setGssnId(String value) { this.gssnId = value; return this; }
        public Boolean isNoImage() { return noImage; }
        public VehicleDataBase setNoImage(Boolean value) { this.noImage = value; return this; }
        public String getImageUrl() { return imageUrl; }
        public VehicleDataBase setImageUrl(String value) { this.imageUrl = value; return this; }
        public Boolean getIsAvailableOnline() { return isAvailableOnline; }
        public VehicleDataBase setIsAvailableOnline(Boolean value) { this.isAvailableOnline = value; return this; }
        public Boolean getIsBackOrdered() { return isBackOrdered; }
        public VehicleDataBase setIsBackOrdered(Boolean value) { this.isBackOrdered = value; return this; }
        public String getCreationDate() { return creationDate; }
        public VehicleDataBase setCreationDate(String value) { this.creationDate = value; return this; }
        public String getMaintenanceDate() { return maintenanceDate; }
        public VehicleDataBase setMaintenanceDate(String value) { this.maintenanceDate = value; return this; }
        public String getRegistrationNumber() { return registrationNumber; }
        public VehicleDataBase setRegistrationNumber(String value) { this.registrationNumber = value; return this; }
        public Date getRegistrationDate() { return registrationDate; }
        public VehicleDataBase setRegistrationDate(Date value) { this.registrationDate = value; return this; }
        public Integer getMileage() { return mileage; }
        public VehicleDataBase setMileage(Integer value) { this.mileage = value; return this; }
        public Date getTradeInDate() { return tradeInDate; }
        public VehicleDataBase setTradeInDate(Date value) { this.tradeInDate = value; return this; }
        public String getSource() { return source; }
        public VehicleDataBase setSource(String value) { this.source = value; return this; }
        public String getVehicleType() { return vehicleType; }
        public VehicleDataBase setVehicleType(String value) { this.vehicleType = value; return this; }
        public String getOfferAmount() { return offerAmount; }
        public VehicleDataBase setOfferAmount(String value) { this.offerAmount = value; return this; }
        public String getOfferExpiry() { return offerExpiry; }
        public VehicleDataBase setOfferExpiry(String value) { this.offerExpiry = value; return this; }
        public ArrayList<Integer> getActiveOffers() { return activeOffers; }
        public VehicleDataBase setActiveOffers(ArrayList<Integer> value) { this.activeOffers = value; return this; }
        public Integer getCampaignMessagesTotal() { return campaignMessagesTotal; }
        public VehicleDataBase setCampaignMessagesTotal(Integer value) { this.campaignMessagesTotal = value; return this; }
        public Boolean isUnderOffer() { return underOffer; }
        public VehicleDataBase setUnderOffer(Boolean value) { this.underOffer = value; return this; }
        public Boolean getIsDisplayStock() { return isDisplayStock; }
        public VehicleDataBase setIsDisplayStock(Boolean value) { this.isDisplayStock = value; return this; }
        public String getDisplayRetailer() { return displayRetailer; }
        public VehicleDataBase setDisplayRetailer(String value) { this.displayRetailer = value; return this; }
        public String getDisplayRetailerGssnId() { return displayRetailerGssnId; }
        public VehicleDataBase setDisplayRetailerGssnId(String value) { this.displayRetailerGssnId = value; return this; }
        public String getLocation() { return location; }
        public VehicleDataBase setLocation(String value) { this.location = value; return this; }
        public String getAccount() { return account; }
        public VehicleDataBase setAccount(String value) { this.account = value; return this; }
        public String getAccountType() { return accountType; }
        public VehicleDataBase setAccountType(String value) { this.accountType = value; return this; }
        public String getUsageCode() { return usageCode; }
        public VehicleDataBase setUsageCode(String value) { this.usageCode = value; return this; }
        public String getBm7NST() { return bm7NST; }
        public VehicleDataBase setBm7NST(String value) { this.bm7NST = value; return this; }
        public Boolean getIsSellable() { return isSellable; }
        public VehicleDataBase setIsSellable(Boolean value) { this.isSellable = value; return this; }
        public Boolean isSecured() { return secured; }
        public VehicleDataBase setSecured(Boolean value) { this.secured = value; return this; }
        public Boolean isSpecialist() { return specialist; }
        public VehicleDataBase setSpecialist(Boolean value) { this.specialist = value; return this; }
        public Boolean getIsMotabilityRetailer() { return isMotabilityRetailer; }
        public VehicleDataBase setIsMotabilityRetailer(Boolean value) { this.isMotabilityRetailer = value; return this; }
        public String getUpholsteryDescription() { return upholsteryDescription; }
        public VehicleDataBase setUpholsteryDescription(String value) { this.upholsteryDescription = value; return this; }
        public Boolean isInBackOrderAccount() { return inBackOrderAccount; }
        public VehicleDataBase setInBackOrderAccount(Boolean value) { this.inBackOrderAccount = value; return this; }
        public String getFullModelYearCode() { return fullModelYearCode; }
        public VehicleDataBase setFullModelYearCode(String value) { this.fullModelYearCode = value; return this; }
        public Date getProductionDate() { return productionDate; }
        public VehicleDataBase setProductionDate(Date value) { this.productionDate = value; return this; }
        public String getBaumuster() { return baumuster; }
        public VehicleDataBase setBaumuster(String value) { this.baumuster = value; return this; }
        public Boolean getIsMotability() { return isMotability; }
        public VehicleDataBase setIsMotability(Boolean value) { this.isMotability = value; return this; }
        public BigDecimal getPipAdvanceRentalGross() { return pipAdvanceRentalGross; }
        public VehicleDataBase setPipAdvanceRentalGross(BigDecimal value) { this.pipAdvanceRentalGross = value; return this; }
        public BigDecimal getWpmsAdvanceRentalGross() { return wpmsAdvanceRentalGross; }
        public VehicleDataBase setWpmsAdvanceRentalGross(BigDecimal value) { this.wpmsAdvanceRentalGross = value; return this; }
        public ArrayList<String> getIspVehicleCustomerDescriptions() { return ispVehicleCustomerDescriptions; }
        public VehicleDataBase setIspVehicleCustomerDescriptions(ArrayList<String> value) { this.ispVehicleCustomerDescriptions = 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; }
    }

}

Java MotabilityVehiclesRequest 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.

GET /v1/{VehicleType}/Vehicle/Motability HTTP/1.1 
Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	vehicles: 
	[
		{
			retailer: String,
			hasMotabilityError: False,
			equipment: 
			[
				{
					id: 0,
					code: String,
					description: String
				}
			],
			engine: String,
			vin: String,
			description: String,
			model: String,
			otr: String,
			retailPriceExVAT: String,
			actualPrice: String,
			fuelType: String,
			transmission: String,
			transmissionType: String,
			colour: String,
			colourCode: String,
			colourDescription: String,
			commissionNumber: String,
			offerAvailable: False,
			campaignDiscountOfferTotal: 0,
			campaignDiscountOfferTotalCurrent: 0,
			campaignDiscountOfferTotalPending: 0,
			campaignServiceOfferTotal: 0,
			campaignServiceOfferTotalCurrent: 0,
			campaignServiceOfferTotalPending: 0,
			campaignCustomOfferTotal: 0,
			campaignPersonalisedOfferTotalCurrent: 0,
			campaignPersonalisedOfferTotalPending: 0,
			campaignPersonalisedOfferTotal: 0,
			campaignCustomOfferTotalCurrent: 0,
			campaignCustomOfferTotalPending: 0,
			campaignOtherOfferTotal: 0,
			campaignOtherOfferTotalCurrent: 0,
			campaignOtherOfferTotalPending: 0,
			retailerDiscountOfferTotal: 0,
			retailerDiscountOfferTotalCurrent: 0,
			retailerDiscountOfferTotalPending: 0,
			retailerServiceOfferTotal: 0,
			retailerServiceOfferTotalCurrent: 0,
			retailerServiceOfferTotalPending: 0,
			retailerCustomOfferTotal: 0,
			retailerCustomOfferTotalCurrent: 0,
			retailerCustomOfferTotalPending: 0,
			retailerWarrantyOfferTotal: 0,
			retailerWarrantyOfferTotalCurrent: 0,
			retailerWarrantyOfferTotalPending: 0,
			retailerOfferTotal: 0,
			retailerOfferTotalCurrent: 0,
			retailerOfferTotalPending: 0,
			campaignOfferTotal: 0,
			campaignOfferTotalCurrent: 0,
			campaignOfferTotalPending: 0,
			campaignAndOfferTotal: 0,
			campaignAndOfferTotalCurrent: 0,
			campaignAndOfferTotalPending: 0,
			offerTotal: 0,
			offerTotalCurrent: 0,
			offerTotalPending: 0,
			creation: String,
			modified: String,
			electricRange: 0,
			electricConsumption: 0,
			portArrivalDate: 0001-01-01,
			daysSincePortArrival: 0,
			retailPriceIncVAT: 0,
			bodyStyle: String,
			upholstery: String,
			upholsteryCode: String,
			upholsteryType: String,
			packageNames: 
			[
				String
			],
			line: String,
			currentRetailerOfferPrice: 0,
			retailPrice: String,
			vatQualifying: False,
			retailerId: 0,
			gssnId: String,
			noImage: False,
			imageUrl: String,
			isAvailableOnline: False,
			isBackOrdered: False,
			creationDate: String,
			maintenanceDate: String,
			registrationNumber: String,
			registrationDate: 0001-01-01,
			mileage: 0,
			tradeInDate: 0001-01-01,
			source: String,
			vehicleType: String,
			offerAmount: String,
			offerExpiry: String,
			activeOffers: 
			[
				0
			],
			campaignMessagesTotal: 0,
			underOffer: False,
			isDisplayStock: False,
			displayRetailer: String,
			displayRetailerGssnId: String,
			location: String,
			account: String,
			accountType: String,
			usageCode: String,
			bm7NST: String,
			isSellable: False,
			secured: False,
			specialist: False,
			isMotabilityRetailer: False,
			upholsteryDescription: String,
			inBackOrderAccount: False,
			fullModelYearCode: String,
			productionDate: 0001-01-01,
			baumuster: String,
			isMotability: False,
			pipAdvanceRentalGross: 0,
			wpmsAdvanceRentalGross: 0,
			ispVehicleCustomerDescriptions: 
			[
				String
			]
		}
	]
}