GET | /v1/{VehicleType}/Vehicle/Motability | Get 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 .xml suffix or ?format=xml
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: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <VehiclesByRetailerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.VehicleManagement.API.Shared.POCO"> <Vehicles> <VehicleIdentifierData> <Account>String</Account> <AccountType>String</AccountType> <ActiveOffers xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>0</d4p1:int> </ActiveOffers> <ActualPrice>String</ActualPrice> <Baumuster>String</Baumuster> <Bm7NST>String</Bm7NST> <BodyStyle>String</BodyStyle> <CampaignAndOfferTotal>0</CampaignAndOfferTotal> <CampaignAndOfferTotalCurrent>0</CampaignAndOfferTotalCurrent> <CampaignAndOfferTotalPending>0</CampaignAndOfferTotalPending> <CampaignCustomOfferTotal>0</CampaignCustomOfferTotal> <CampaignCustomOfferTotalCurrent>0</CampaignCustomOfferTotalCurrent> <CampaignCustomOfferTotalPending>0</CampaignCustomOfferTotalPending> <CampaignDiscountOfferTotal>0</CampaignDiscountOfferTotal> <CampaignDiscountOfferTotalCurrent>0</CampaignDiscountOfferTotalCurrent> <CampaignDiscountOfferTotalPending>0</CampaignDiscountOfferTotalPending> <CampaignMessagesTotal>0</CampaignMessagesTotal> <CampaignOfferTotal>0</CampaignOfferTotal> <CampaignOfferTotalCurrent>0</CampaignOfferTotalCurrent> <CampaignOfferTotalPending>0</CampaignOfferTotalPending> <CampaignOtherOfferTotal>0</CampaignOtherOfferTotal> <CampaignOtherOfferTotalCurrent>0</CampaignOtherOfferTotalCurrent> <CampaignOtherOfferTotalPending>0</CampaignOtherOfferTotalPending> <CampaignPersonalisedOfferTotal>0</CampaignPersonalisedOfferTotal> <CampaignPersonalisedOfferTotalCurrent>0</CampaignPersonalisedOfferTotalCurrent> <CampaignPersonalisedOfferTotalPending>0</CampaignPersonalisedOfferTotalPending> <CampaignServiceOfferTotal>0</CampaignServiceOfferTotal> <CampaignServiceOfferTotalCurrent>0</CampaignServiceOfferTotalCurrent> <CampaignServiceOfferTotalPending>0</CampaignServiceOfferTotalPending> <Colour>String</Colour> <ColourCode>String</ColourCode> <ColourDescription>String</ColourDescription> <CommissionNumber>String</CommissionNumber> <Creation>String</Creation> <CreationDate>String</CreationDate> <CurrentRetailerOfferPrice>0</CurrentRetailerOfferPrice> <DaysSincePortArrival>0</DaysSincePortArrival> <Description>String</Description> <DisplayRetailer>String</DisplayRetailer> <DisplayRetailerGssnId>String</DisplayRetailerGssnId> <ElectricConsumption>0</ElectricConsumption> <ElectricRange>0</ElectricRange> <FuelType>String</FuelType> <FullModelYearCode>String</FullModelYearCode> <GssnId>String</GssnId> <ImageUrl>String</ImageUrl> <InBackOrderAccount>false</InBackOrderAccount> <IsAvailableOnline>false</IsAvailableOnline> <IsBackOrdered>false</IsBackOrdered> <IsDisplayStock>false</IsDisplayStock> <IsMotability>false</IsMotability> <IsMotabilityRetailer>false</IsMotabilityRetailer> <IsSellable>false</IsSellable> <IspVehicleCustomerDescriptions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>String</d4p1:string> </IspVehicleCustomerDescriptions> <Line>String</Line> <Location>String</Location> <MaintenanceDate>String</MaintenanceDate> <Mileage>0</Mileage> <Model>String</Model> <Modified>String</Modified> <NoImage>false</NoImage> <OfferAmount>String</OfferAmount> <OfferAvailable>false</OfferAvailable> <OfferExpiry>String</OfferExpiry> <OfferTotal>0</OfferTotal> <OfferTotalCurrent>0</OfferTotalCurrent> <OfferTotalPending>0</OfferTotalPending> <Otr>String</Otr> <PackageNames xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>String</d4p1:string> </PackageNames> <PipAdvanceRentalGross>0</PipAdvanceRentalGross> <PortArrivalDate>0001-01-01T00:00:00</PortArrivalDate> <ProductionDate>0001-01-01T00:00:00</ProductionDate> <RegistrationDate>0001-01-01T00:00:00</RegistrationDate> <RegistrationNumber>String</RegistrationNumber> <RetailPrice>String</RetailPrice> <RetailPriceExVAT>String</RetailPriceExVAT> <RetailPriceIncVAT>0</RetailPriceIncVAT> <RetailerCustomOfferTotal>0</RetailerCustomOfferTotal> <RetailerCustomOfferTotalCurrent>0</RetailerCustomOfferTotalCurrent> <RetailerCustomOfferTotalPending>0</RetailerCustomOfferTotalPending> <RetailerDiscountOfferTotal>0</RetailerDiscountOfferTotal> <RetailerDiscountOfferTotalCurrent>0</RetailerDiscountOfferTotalCurrent> <RetailerDiscountOfferTotalPending>0</RetailerDiscountOfferTotalPending> <RetailerId>0</RetailerId> <RetailerOfferTotal>0</RetailerOfferTotal> <RetailerOfferTotalCurrent>0</RetailerOfferTotalCurrent> <RetailerOfferTotalPending>0</RetailerOfferTotalPending> <RetailerServiceOfferTotal>0</RetailerServiceOfferTotal> <RetailerServiceOfferTotalCurrent>0</RetailerServiceOfferTotalCurrent> <RetailerServiceOfferTotalPending>0</RetailerServiceOfferTotalPending> <RetailerWarrantyOfferTotal>0</RetailerWarrantyOfferTotal> <RetailerWarrantyOfferTotalCurrent>0</RetailerWarrantyOfferTotalCurrent> <RetailerWarrantyOfferTotalPending>0</RetailerWarrantyOfferTotalPending> <Secured>false</Secured> <Source>String</Source> <Specialist>false</Specialist> <TradeInDate>0001-01-01T00:00:00</TradeInDate> <Transmission>String</Transmission> <TransmissionType>String</TransmissionType> <UnderOffer>false</UnderOffer> <Upholstery>String</Upholstery> <UpholsteryCode>String</UpholsteryCode> <UpholsteryDescription>String</UpholsteryDescription> <UpholsteryType>String</UpholsteryType> <UsageCode>String</UsageCode> <VATQualifying>false</VATQualifying> <VehicleType>String</VehicleType> <Vin>String</Vin> <WpmsAdvanceRentalGross>0</WpmsAdvanceRentalGross> <Engine>String</Engine> <Equipment xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mercedes.OS.Vehicle.Shared.POCO"> <d4p1:Equipment> <d4p1:Code>String</d4p1:Code> <d4p1:Description>String</d4p1:Description> <d4p1:Id>0</d4p1:Id> </d4p1:Equipment> </Equipment> <HasMotabilityError>false</HasMotabilityError> <Retailer>String</Retailer> </VehicleIdentifierData> </Vehicles> </VehiclesByRetailerResponse>