Mercedes.VehicleManagement.API

<back to all web services

VehicleByCommissionNumberRequest

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

public class dtos
{

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

    public static class VehicleByCommissionNumberResponse extends VehicleByIdentifierResponse
    {
        public VehicleIdentifierData vehicle = null;
        
        public VehicleIdentifierData getVehicle() { return vehicle; }
        public VehicleByCommissionNumberResponse setVehicle(VehicleIdentifierData value) { this.vehicle = value; return this; }
    }

    public static class VehicleByIdentifierResponse
    {
        public ArrayList<Offer> campaignOffers = new ArrayList<Offer>();
        public ArrayList<PersonalisedOffer> campaignPersonalisedOffers = new ArrayList<PersonalisedOffer>();
        public ArrayList<Offer> campaignOLEVGrantOffers = new ArrayList<Offer>();
        public ArrayList<Message> campaignMessages = new ArrayList<Message>();
        public ArrayList<OfferHistory> offerHistories = null;
        public ArrayList<FinanceOffer> financeOffers = null;
        
        public ArrayList<Offer> getCampaignOffers() { return campaignOffers; }
        public VehicleByIdentifierResponse setCampaignOffers(ArrayList<Offer> value) { this.campaignOffers = value; return this; }
        public ArrayList<PersonalisedOffer> getCampaignPersonalisedOffers() { return campaignPersonalisedOffers; }
        public VehicleByIdentifierResponse setCampaignPersonalisedOffers(ArrayList<PersonalisedOffer> value) { this.campaignPersonalisedOffers = value; return this; }
        public ArrayList<Offer> getCampaignOLEVGrantOffers() { return campaignOLEVGrantOffers; }
        public VehicleByIdentifierResponse setCampaignOLEVGrantOffers(ArrayList<Offer> value) { this.campaignOLEVGrantOffers = value; return this; }
        public ArrayList<Message> getCampaignMessages() { return campaignMessages; }
        public VehicleByIdentifierResponse setCampaignMessages(ArrayList<Message> value) { this.campaignMessages = value; return this; }
        public ArrayList<OfferHistory> getOfferHistories() { return offerHistories; }
        public VehicleByIdentifierResponse setOfferHistories(ArrayList<OfferHistory> value) { this.offerHistories = value; return this; }
        public ArrayList<FinanceOffer> getFinanceOffers() { return financeOffers; }
        public VehicleByIdentifierResponse setFinanceOffers(ArrayList<FinanceOffer> value) { this.financeOffers = value; return this; }
    }

    public static class Offer
    {
        public Integer id = null;
        public String offerType = null;
        public String campaignName = null;
        public String from = null;
        public String to = null;
        public String value = null;
        public BigDecimal net = null;
        public OfferVehicle offerVehicle = null;
        public Boolean pending = null;
        public String documentUrl = null;
        public Boolean personalised = null;
        public Boolean isPersonalisedMonetaryOffer = null;
        public Boolean campaignVIPDiscount = null;
        public BigDecimal offerValueNet = null;
        
        public Integer getId() { return id; }
        public Offer setId(Integer value) { this.id = value; return this; }
        public String getOfferType() { return offerType; }
        public Offer setOfferType(String value) { this.offerType = value; return this; }
        public String getCampaignName() { return campaignName; }
        public Offer setCampaignName(String value) { this.campaignName = value; return this; }
        public String getFrom() { return from; }
        public Offer setFrom(String value) { this.from = value; return this; }
        public String getTo() { return to; }
        public Offer setTo(String value) { this.to = value; return this; }
        public String getValue() { return value; }
        public Offer setValue(String value) { this.value = value; return this; }
        public BigDecimal getNet() { return net; }
        public Offer setNet(BigDecimal value) { this.net = value; return this; }
        public OfferVehicle getOfferVehicle() { return offerVehicle; }
        public Offer setOfferVehicle(OfferVehicle value) { this.offerVehicle = value; return this; }
        public Boolean isPending() { return pending; }
        public Offer setPending(Boolean value) { this.pending = value; return this; }
        public String getDocumentUrl() { return documentUrl; }
        public Offer setDocumentUrl(String value) { this.documentUrl = value; return this; }
        public Boolean isPersonalised() { return personalised; }
        public Offer setPersonalised(Boolean value) { this.personalised = value; return this; }
        public Boolean getIsPersonalisedMonetaryOffer() { return isPersonalisedMonetaryOffer; }
        public Offer setIsPersonalisedMonetaryOffer(Boolean value) { this.isPersonalisedMonetaryOffer = value; return this; }
        public Boolean isCampaignVIPDiscount() { return campaignVIPDiscount; }
        public Offer setCampaignVIPDiscount(Boolean value) { this.campaignVIPDiscount = value; return this; }
        public BigDecimal getOfferValueNet() { return offerValueNet; }
        public Offer setOfferValueNet(BigDecimal value) { this.offerValueNet = value; return this; }
    }

    public static class OfferVehicle
    {
        public String retailPriceExVAT = null;
        
        public String getRetailPriceExVAT() { return retailPriceExVAT; }
        public OfferVehicle setRetailPriceExVAT(String value) { this.retailPriceExVAT = value; return this; }
    }

    public static class PersonalisedOffer extends Offer
    {
        public String category = null;
        public String description = null;
        public String reference = null;
        
        public String getCategory() { return category; }
        public PersonalisedOffer setCategory(String value) { this.category = value; return this; }
        public String getDescription() { return description; }
        public PersonalisedOffer setDescription(String value) { this.description = value; return this; }
        public String getReference() { return reference; }
        public PersonalisedOffer setReference(String value) { this.reference = value; return this; }
    }

    public static class Message
    {
        public Integer id = null;
        public String vin = null;
        public Integer campaignId = null;
        public String value = null;
        public String campaignDescription = null;
        public String from = null;
        public String to = null;
        public String documentUrl = null;
        
        public Integer getId() { return id; }
        public Message setId(Integer value) { this.id = value; return this; }
        public String getVin() { return vin; }
        public Message setVin(String value) { this.vin = value; return this; }
        public Integer getCampaignId() { return campaignId; }
        public Message setCampaignId(Integer value) { this.campaignId = value; return this; }
        public String getValue() { return value; }
        public Message setValue(String value) { this.value = value; return this; }
        public String getCampaignDescription() { return campaignDescription; }
        public Message setCampaignDescription(String value) { this.campaignDescription = value; return this; }
        public String getFrom() { return from; }
        public Message setFrom(String value) { this.from = value; return this; }
        public String getTo() { return to; }
        public Message setTo(String value) { this.to = value; return this; }
        public String getDocumentUrl() { return documentUrl; }
        public Message setDocumentUrl(String value) { this.documentUrl = value; return this; }
    }

    public static class OfferHistory
    {
        public Integer id = null;
        public String auditType = null;
        public String offerType = null;
        public String source = null;
        public String from = null;
        public String to = null;
        public Boolean personalised = null;
        public String value = null;
        public String net = null;
        public String vat = null;
        public String description = null;
        public String vin = null;
        public String gssn = null;
        public String creation = null;
        public String modified = null;
        public String userId = null;
        public Integer user = null;
        public Integer offerId = null;
        public String commissionNumber = null;
        public Integer campaignId = null;
        public String campaignDescription = null;
        public Date creationDate = null;
        public Boolean isUsedCarOffer = null;
        
        public Integer getId() { return id; }
        public OfferHistory setId(Integer value) { this.id = value; return this; }
        public String getAuditType() { return auditType; }
        public OfferHistory setAuditType(String value) { this.auditType = value; return this; }
        public String getOfferType() { return offerType; }
        public OfferHistory setOfferType(String value) { this.offerType = value; return this; }
        public String getSource() { return source; }
        public OfferHistory setSource(String value) { this.source = value; return this; }
        public String getFrom() { return from; }
        public OfferHistory setFrom(String value) { this.from = value; return this; }
        public String getTo() { return to; }
        public OfferHistory setTo(String value) { this.to = value; return this; }
        public Boolean isPersonalised() { return personalised; }
        public OfferHistory setPersonalised(Boolean value) { this.personalised = value; return this; }
        public String getValue() { return value; }
        public OfferHistory setValue(String value) { this.value = value; return this; }
        public String getNet() { return net; }
        public OfferHistory setNet(String value) { this.net = value; return this; }
        public String getVat() { return vat; }
        public OfferHistory setVat(String value) { this.vat = value; return this; }
        public String getDescription() { return description; }
        public OfferHistory setDescription(String value) { this.description = value; return this; }
        public String getVin() { return vin; }
        public OfferHistory setVin(String value) { this.vin = value; return this; }
        public String getGssn() { return gssn; }
        public OfferHistory setGssn(String value) { this.gssn = value; return this; }
        public String getCreation() { return creation; }
        public OfferHistory setCreation(String value) { this.creation = value; return this; }
        public String getModified() { return modified; }
        public OfferHistory setModified(String value) { this.modified = value; return this; }
        public String getUserId() { return userId; }
        public OfferHistory setUserId(String value) { this.userId = value; return this; }
        public Integer getUser() { return user; }
        public OfferHistory setUser(Integer value) { this.user = value; return this; }
        public Integer getOfferId() { return offerId; }
        public OfferHistory setOfferId(Integer value) { this.offerId = value; return this; }
        public String getCommissionNumber() { return commissionNumber; }
        public OfferHistory setCommissionNumber(String value) { this.commissionNumber = value; return this; }
        public Integer getCampaignId() { return campaignId; }
        public OfferHistory setCampaignId(Integer value) { this.campaignId = value; return this; }
        public String getCampaignDescription() { return campaignDescription; }
        public OfferHistory setCampaignDescription(String value) { this.campaignDescription = value; return this; }
        public Date getCreationDate() { return creationDate; }
        public OfferHistory setCreationDate(Date value) { this.creationDate = value; return this; }
        public Boolean getIsUsedCarOffer() { return isUsedCarOffer; }
        public OfferHistory setIsUsedCarOffer(Boolean value) { this.isUsedCarOffer = value; return this; }
    }

    public static class FinanceOffer
    {
        public String campaignDescription = null;
        public String termsAndConditions = null;
        public String label = null;
        public Integer campaignId = null;
        public String documentUrl = null;
        public String from = null;
        public Integer id = null;
        public String to = null;
        public String value = null;
        public String vin = null;
        public Boolean enabled = null;
        public Boolean pending = null;
        public String offerType = null;
        
        public String getCampaignDescription() { return campaignDescription; }
        public FinanceOffer setCampaignDescription(String value) { this.campaignDescription = value; return this; }
        public String getTermsAndConditions() { return termsAndConditions; }
        public FinanceOffer setTermsAndConditions(String value) { this.termsAndConditions = value; return this; }
        public String getLabel() { return label; }
        public FinanceOffer setLabel(String value) { this.label = value; return this; }
        public Integer getCampaignId() { return campaignId; }
        public FinanceOffer setCampaignId(Integer value) { this.campaignId = value; return this; }
        public String getDocumentUrl() { return documentUrl; }
        public FinanceOffer setDocumentUrl(String value) { this.documentUrl = value; return this; }
        public String getFrom() { return from; }
        public FinanceOffer setFrom(String value) { this.from = value; return this; }
        public Integer getId() { return id; }
        public FinanceOffer setId(Integer value) { this.id = value; return this; }
        public String getTo() { return to; }
        public FinanceOffer setTo(String value) { this.to = value; return this; }
        public String getValue() { return value; }
        public FinanceOffer setValue(String value) { this.value = value; return this; }
        public String getVin() { return vin; }
        public FinanceOffer setVin(String value) { this.vin = value; return this; }
        public Boolean isEnabled() { return enabled; }
        public FinanceOffer setEnabled(Boolean value) { this.enabled = value; return this; }
        public Boolean isPending() { return pending; }
        public FinanceOffer setPending(Boolean value) { this.pending = value; return this; }
        public String getOfferType() { return offerType; }
        public FinanceOffer setOfferType(String value) { this.offerType = 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 VehicleByCommissionNumberRequest DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

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

{"vehicle":{"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":"\/Date(-62135596800000-0000)\/","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":"\/Date(-62135596800000-0000)\/","mileage":0,"tradeInDate":"\/Date(-62135596800000-0000)\/","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":"\/Date(-62135596800000-0000)\/","baumuster":"String","isMotability":false,"pipAdvanceRentalGross":0,"wpmsAdvanceRentalGross":0,"ispVehicleCustomerDescriptions":["String"]},"campaignOffers":[{"id":0,"offerType":"String","campaignName":"String","from":"String","to":"String","value":"String","net":0,"offerVehicle":{"retailPriceExVAT":"String"},"pending":false,"documentUrl":"String","personalised":false,"isPersonalisedMonetaryOffer":false,"campaignVIPDiscount":false,"offerValueNet":0}],"campaignPersonalisedOffers":[{"category":"String","description":"String","reference":"String","id":0,"offerType":"String","campaignName":"String","from":"String","to":"String","value":"String","net":0,"offerVehicle":{"retailPriceExVAT":"String"},"pending":false,"documentUrl":"String","personalised":false,"isPersonalisedMonetaryOffer":false,"campaignVIPDiscount":false,"offerValueNet":0}],"campaignOLEVGrantOffers":[{"id":0,"offerType":"String","campaignName":"String","from":"String","to":"String","value":"String","net":0,"offerVehicle":{"retailPriceExVAT":"String"},"pending":false,"documentUrl":"String","personalised":false,"isPersonalisedMonetaryOffer":false,"campaignVIPDiscount":false,"offerValueNet":0}],"campaignMessages":[{"id":0,"vin":"String","campaignId":0,"value":"String","campaignDescription":"String","from":"String","to":"String","documentUrl":"String"}],"offerHistories":[{"id":0,"auditType":"String","offerType":"String","source":"String","from":"String","to":"String","personalised":false,"value":"String","net":"String","vat":"String","description":"String","vin":"String","gssn":"String","creation":"String","modified":"String","userId":"String","user":0,"offerId":0,"commissionNumber":"String","campaignId":0,"campaignDescription":"String","creationDate":"\/Date(-62135596800000-0000)\/","isUsedCarOffer":false}],"financeOffers":[{"campaignDescription":"String","termsAndConditions":"String","label":"String","campaignId":0,"documentUrl":"String","from":"String","id":0,"to":"String","value":"String","vin":"String","enabled":false,"pending":false,"offerType":"String"}]}