Mercedes.VehicleManagement.API

<back to all web services

AllAvailableVehiclesRequest

Vehicle
Requires Authentication
The following routes are available for this service:
GET/v1/AllAvailableVehicles/{vehicleType}/{includeBackOrderAccounts}Get all available vehicles
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class AllAvailableVehiclesRequest extends BaseAllAvailableVehiclesRequest implements IGet
    {
        
    }

    public static class BaseAllAvailableVehiclesRequest
    {
        public String vehicleType = null;
        public Boolean includeBackOrderAccounts = null;
        
        public String getVehicleType() { return vehicleType; }
        public BaseAllAvailableVehiclesRequest setVehicleType(String value) { this.vehicleType = value; return this; }
        public Boolean isIncludeBackOrderAccounts() { return includeBackOrderAccounts; }
        public BaseAllAvailableVehiclesRequest setIncludeBackOrderAccounts(Boolean value) { this.includeBackOrderAccounts = value; return this; }
    }

    public static class StockManagementResponse
    {
        public Integer totalVehicles = null;
        public ArrayList<BackOrderVehicle> vehicles = null;
        
        public Integer getTotalVehicles() { return totalVehicles; }
        public StockManagementResponse setTotalVehicles(Integer value) { this.totalVehicles = value; return this; }
        public ArrayList<BackOrderVehicle> getVehicles() { return vehicles; }
        public StockManagementResponse setVehicles(ArrayList<BackOrderVehicle> value) { this.vehicles = value; return this; }
    }

    public static class BackOrderVehicle extends BasicBackOrderVehicle
    {
        public Integer id = null;
        public String vin = null;
        public String vehicleType = null;
        public String vid = null;
        public String fin = null;
        public String chassisNumber = null;
        public String modelYear = null;
        public String modelYearCode = null;
        public String halfModelYearCode = null;
        public String fullModelYearCode = null;
        public String salesDescriptionLong = null;
        public String vehicleClass = null;
        public BigDecimal retailPrice_ExVAT = null;
        public BigDecimal retailPrice_IncVAT = null;
        public BigDecimal otr = null;
        public String bodyStyle = null;
        public String productRange = null;
        public String engine = null;
        public Boolean isAMG = null;
        public String colourGroup = null;
        public String upholsteryCode = null;
        public String nst = null;
        public String bm7NST = null;
        public BigDecimal acceleration = null;
        public Integer bootCapacity = null;
        public BigDecimal topSpeed = null;
        public String driveConcept = null;
        public BigDecimal combustionPowerHp = null;
        public BigDecimal electricPowerKw = null;
        public BigDecimal electricPowerHp = null;
        public BigDecimal combinedPowerKw = null;
        public BigDecimal combinedPowerHP = null;
        public BigDecimal electricRange = null;
        public BigDecimal electricConsumption = null;
        public BigDecimal emission = null;
        public String emissionDirective = null;
        public String emissionExtraUrban = null;
        public String emissionUrban = null;
        public String energyEfficiencyClass = null;
        public String wltpEmissionCombined = null;
        public String wltpCombined = null;
        public String wltpLow = null;
        public String wltpMedium = null;
        public String wltpHigh = null;
        public String wltpExtraHigh = null;
        public Date productionDate = null;
        public Date portArrivalDate = null;
        public Date creationDate = null;
        public Date lastUpdated = null;
        public Boolean isDisplayStock = null;
        public String displayStockAgent = null;
        public Boolean isSpecialistCar = null;
        public String location = null;
        public String cesarIdShipToParty = null;
        public Boolean isSellable = null;
        public Boolean underOffer = null;
        public String baumuster = null;
        
        public Integer getId() { return id; }
        public BackOrderVehicle setId(Integer value) { this.id = value; return this; }
        public String getVin() { return vin; }
        public BackOrderVehicle setVin(String value) { this.vin = value; return this; }
        public String getVehicleType() { return vehicleType; }
        public BackOrderVehicle setVehicleType(String value) { this.vehicleType = value; return this; }
        public String getVid() { return vid; }
        public BackOrderVehicle setVid(String value) { this.vid = value; return this; }
        public String getFin() { return fin; }
        public BackOrderVehicle setFin(String value) { this.fin = value; return this; }
        public String getChassisNumber() { return chassisNumber; }
        public BackOrderVehicle setChassisNumber(String value) { this.chassisNumber = value; return this; }
        public String getModelYear() { return modelYear; }
        public BackOrderVehicle setModelYear(String value) { this.modelYear = value; return this; }
        public String getModelYearCode() { return modelYearCode; }
        public BackOrderVehicle setModelYearCode(String value) { this.modelYearCode = value; return this; }
        public String getHalfModelYearCode() { return halfModelYearCode; }
        public BackOrderVehicle setHalfModelYearCode(String value) { this.halfModelYearCode = value; return this; }
        public String getFullModelYearCode() { return fullModelYearCode; }
        public BackOrderVehicle setFullModelYearCode(String value) { this.fullModelYearCode = value; return this; }
        public String getSalesDescriptionLong() { return salesDescriptionLong; }
        public BackOrderVehicle setSalesDescriptionLong(String value) { this.salesDescriptionLong = value; return this; }
        public String getVehicleClass() { return vehicleClass; }
        public BackOrderVehicle setVehicleClass(String value) { this.vehicleClass = value; return this; }
        public BigDecimal getRetailPriceExVAT() { return retailPrice_ExVAT; }
        public BackOrderVehicle setRetailPriceExVAT(BigDecimal value) { this.retailPrice_ExVAT = value; return this; }
        public BigDecimal getRetailPriceIncVAT() { return retailPrice_IncVAT; }
        public BackOrderVehicle setRetailPriceIncVAT(BigDecimal value) { this.retailPrice_IncVAT = value; return this; }
        public BigDecimal getOtr() { return otr; }
        public BackOrderVehicle setOtr(BigDecimal value) { this.otr = value; return this; }
        public String getBodyStyle() { return bodyStyle; }
        public BackOrderVehicle setBodyStyle(String value) { this.bodyStyle = value; return this; }
        public String getProductRange() { return productRange; }
        public BackOrderVehicle setProductRange(String value) { this.productRange = value; return this; }
        public String getEngine() { return engine; }
        public BackOrderVehicle setEngine(String value) { this.engine = value; return this; }
        public Boolean getIsAMG() { return isAMG; }
        public BackOrderVehicle setIsAMG(Boolean value) { this.isAMG = value; return this; }
        public String getColourGroup() { return colourGroup; }
        public BackOrderVehicle setColourGroup(String value) { this.colourGroup = value; return this; }
        public String getUpholsteryCode() { return upholsteryCode; }
        public BackOrderVehicle setUpholsteryCode(String value) { this.upholsteryCode = value; return this; }
        public String getNst() { return nst; }
        public BackOrderVehicle setNst(String value) { this.nst = value; return this; }
        public String getBm7NST() { return bm7NST; }
        public BackOrderVehicle setBm7NST(String value) { this.bm7NST = value; return this; }
        public BigDecimal getAcceleration() { return acceleration; }
        public BackOrderVehicle setAcceleration(BigDecimal value) { this.acceleration = value; return this; }
        public Integer getBootCapacity() { return bootCapacity; }
        public BackOrderVehicle setBootCapacity(Integer value) { this.bootCapacity = value; return this; }
        public BigDecimal getTopSpeed() { return topSpeed; }
        public BackOrderVehicle setTopSpeed(BigDecimal value) { this.topSpeed = value; return this; }
        public String getDriveConcept() { return driveConcept; }
        public BackOrderVehicle setDriveConcept(String value) { this.driveConcept = value; return this; }
        public BigDecimal getCombustionPowerHp() { return combustionPowerHp; }
        public BackOrderVehicle setCombustionPowerHp(BigDecimal value) { this.combustionPowerHp = value; return this; }
        public BigDecimal getElectricPowerKw() { return electricPowerKw; }
        public BackOrderVehicle setElectricPowerKw(BigDecimal value) { this.electricPowerKw = value; return this; }
        public BigDecimal getElectricPowerHp() { return electricPowerHp; }
        public BackOrderVehicle setElectricPowerHp(BigDecimal value) { this.electricPowerHp = value; return this; }
        public BigDecimal getCombinedPowerKw() { return combinedPowerKw; }
        public BackOrderVehicle setCombinedPowerKw(BigDecimal value) { this.combinedPowerKw = value; return this; }
        public BigDecimal getCombinedPowerHP() { return combinedPowerHP; }
        public BackOrderVehicle setCombinedPowerHP(BigDecimal value) { this.combinedPowerHP = value; return this; }
        public BigDecimal getElectricRange() { return electricRange; }
        public BackOrderVehicle setElectricRange(BigDecimal value) { this.electricRange = value; return this; }
        public BigDecimal getElectricConsumption() { return electricConsumption; }
        public BackOrderVehicle setElectricConsumption(BigDecimal value) { this.electricConsumption = value; return this; }
        public BigDecimal getEmission() { return emission; }
        public BackOrderVehicle setEmission(BigDecimal value) { this.emission = value; return this; }
        public String getEmissionDirective() { return emissionDirective; }
        public BackOrderVehicle setEmissionDirective(String value) { this.emissionDirective = value; return this; }
        public String getEmissionExtraUrban() { return emissionExtraUrban; }
        public BackOrderVehicle setEmissionExtraUrban(String value) { this.emissionExtraUrban = value; return this; }
        public String getEmissionUrban() { return emissionUrban; }
        public BackOrderVehicle setEmissionUrban(String value) { this.emissionUrban = value; return this; }
        public String getEnergyEfficiencyClass() { return energyEfficiencyClass; }
        public BackOrderVehicle setEnergyEfficiencyClass(String value) { this.energyEfficiencyClass = value; return this; }
        public String getWltpEmissionCombined() { return wltpEmissionCombined; }
        public BackOrderVehicle setWltpEmissionCombined(String value) { this.wltpEmissionCombined = value; return this; }
        public String getWltpCombined() { return wltpCombined; }
        public BackOrderVehicle setWltpCombined(String value) { this.wltpCombined = value; return this; }
        public String getWltpLow() { return wltpLow; }
        public BackOrderVehicle setWltpLow(String value) { this.wltpLow = value; return this; }
        public String getWltpMedium() { return wltpMedium; }
        public BackOrderVehicle setWltpMedium(String value) { this.wltpMedium = value; return this; }
        public String getWltpHigh() { return wltpHigh; }
        public BackOrderVehicle setWltpHigh(String value) { this.wltpHigh = value; return this; }
        public String getWltpExtraHigh() { return wltpExtraHigh; }
        public BackOrderVehicle setWltpExtraHigh(String value) { this.wltpExtraHigh = value; return this; }
        public Date getProductionDate() { return productionDate; }
        public BackOrderVehicle setProductionDate(Date value) { this.productionDate = value; return this; }
        public Date getPortArrivalDate() { return portArrivalDate; }
        public BackOrderVehicle setPortArrivalDate(Date value) { this.portArrivalDate = value; return this; }
        public Date getCreationDate() { return creationDate; }
        public BackOrderVehicle setCreationDate(Date value) { this.creationDate = value; return this; }
        public Date getLastUpdated() { return lastUpdated; }
        public BackOrderVehicle setLastUpdated(Date value) { this.lastUpdated = value; return this; }
        public Boolean getIsDisplayStock() { return isDisplayStock; }
        public BackOrderVehicle setIsDisplayStock(Boolean value) { this.isDisplayStock = value; return this; }
        public String getDisplayStockAgent() { return displayStockAgent; }
        public BackOrderVehicle setDisplayStockAgent(String value) { this.displayStockAgent = value; return this; }
        public Boolean getIsSpecialistCar() { return isSpecialistCar; }
        public BackOrderVehicle setIsSpecialistCar(Boolean value) { this.isSpecialistCar = value; return this; }
        public String getLocation() { return location; }
        public BackOrderVehicle setLocation(String value) { this.location = value; return this; }
        public String getCesarIdShipToParty() { return cesarIdShipToParty; }
        public BackOrderVehicle setCesarIdShipToParty(String value) { this.cesarIdShipToParty = value; return this; }
        public Boolean getIsSellable() { return isSellable; }
        public BackOrderVehicle setIsSellable(Boolean value) { this.isSellable = value; return this; }
        public Boolean isUnderOffer() { return underOffer; }
        public BackOrderVehicle setUnderOffer(Boolean value) { this.underOffer = value; return this; }
        public String getBaumuster() { return baumuster; }
        public BackOrderVehicle setBaumuster(String value) { this.baumuster = value; return this; }
    }

    public static class BasicBackOrderVehicle
    {
        public String commissionNumber = null;
        public String description = null;
        public String model = null;
        public String colour = null;
        public String fuelType = null;
        public String transmission = null;
        public String packages = null;
        public String lines = null;
        public String upholstery = null;
        public String emissionCombined = null;
        public BigDecimal actualPrice = null;
        public String usageCode = null;
        public Boolean secured = null;
        public String account = null;
        public String securedTime = null;
        public String securedReason = null;
        public String securedByGasId = null;
        public Date securedDate = null;
        
        public String getCommissionNumber() { return commissionNumber; }
        public BasicBackOrderVehicle setCommissionNumber(String value) { this.commissionNumber = value; return this; }
        public String getDescription() { return description; }
        public BasicBackOrderVehicle setDescription(String value) { this.description = value; return this; }
        public String getModel() { return model; }
        public BasicBackOrderVehicle setModel(String value) { this.model = value; return this; }
        public String getColour() { return colour; }
        public BasicBackOrderVehicle setColour(String value) { this.colour = value; return this; }
        public String getFuelType() { return fuelType; }
        public BasicBackOrderVehicle setFuelType(String value) { this.fuelType = value; return this; }
        public String getTransmission() { return transmission; }
        public BasicBackOrderVehicle setTransmission(String value) { this.transmission = value; return this; }
        public String getPackages() { return packages; }
        public BasicBackOrderVehicle setPackages(String value) { this.packages = value; return this; }
        public String getLines() { return lines; }
        public BasicBackOrderVehicle setLines(String value) { this.lines = value; return this; }
        public String getUpholstery() { return upholstery; }
        public BasicBackOrderVehicle setUpholstery(String value) { this.upholstery = value; return this; }
        public String getEmissionCombined() { return emissionCombined; }
        public BasicBackOrderVehicle setEmissionCombined(String value) { this.emissionCombined = value; return this; }
        public BigDecimal getActualPrice() { return actualPrice; }
        public BasicBackOrderVehicle setActualPrice(BigDecimal value) { this.actualPrice = value; return this; }
        public String getUsageCode() { return usageCode; }
        public BasicBackOrderVehicle setUsageCode(String value) { this.usageCode = value; return this; }
        public Boolean isSecured() { return secured; }
        public BasicBackOrderVehicle setSecured(Boolean value) { this.secured = value; return this; }
        public String getAccount() { return account; }
        public BasicBackOrderVehicle setAccount(String value) { this.account = value; return this; }
        public String getSecuredTime() { return securedTime; }
        public BasicBackOrderVehicle setSecuredTime(String value) { this.securedTime = value; return this; }
        public String getSecuredReason() { return securedReason; }
        public BasicBackOrderVehicle setSecuredReason(String value) { this.securedReason = value; return this; }
        public String getSecuredByGasId() { return securedByGasId; }
        public BasicBackOrderVehicle setSecuredByGasId(String value) { this.securedByGasId = value; return this; }
        public Date getSecuredDate() { return securedDate; }
        public BasicBackOrderVehicle setSecuredDate(Date value) { this.securedDate = value; return this; }
    }

}

Java AllAvailableVehiclesRequest 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/AllAvailableVehicles/{vehicleType}/{includeBackOrderAccounts} 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

{"totalVehicles":0,"vehicles":null}