Mercedes.VehicleManagement.API

<back to all web services

AllAvailableVehiclesByCriteriaRequest

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

public class dtos
{

    public static class AllAvailableVehiclesByCriteriaRequest extends BaseAllAvailableVehiclesRequest implements IPost
    {
        public VehicleSearchV3Criteria criteria = null;
        
        public VehicleSearchV3Criteria getCriteria() { return criteria; }
        public AllAvailableVehiclesByCriteriaRequest setCriteria(VehicleSearchV3Criteria value) { this.criteria = value; return this; }
    }

    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 VehicleSearchV3Criteria
    {
        public ArrayList<String> vin = new ArrayList<String>();
        public ArrayList<Integer> model = new ArrayList<Integer>();
        public ArrayList<Integer> fuel = new ArrayList<Integer>();
        public ArrayList<Integer> transmission = new ArrayList<Integer>();
        public ArrayList<Integer> engine = new ArrayList<Integer>();
        public ArrayList<String> line = new ArrayList<String>();
        public ArrayList<Integer> mappedLine = new ArrayList<Integer>();
        public ArrayList<String> commissionNumber = new ArrayList<String>();
        public String vehicleType = null;
        public CampaignExclusion exclusion = null;
        public String regNo = null;
        public Boolean includeOffline = null;
        public RegistrationDate registrationDate = null;
        public Age age = null;
        public PortArrivalDate portArrivalDate = null;
        public Boolean isAvailableOnline = null;
        public Boolean isBackOrdered = null;
        public Boolean isSellable = null;
        public Boolean isUnderOffer = null;
        public Boolean mbukSecured = null;
        public ArrayList<String> account = new ArrayList<String>();
        public ArrayList<String> baumuster = new ArrayList<String>();
        public ArrayList<Integer> colours = new ArrayList<Integer>();
        public ArrayList<Integer> upholstery = new ArrayList<Integer>();
        @SerializedName("package") public ArrayList<Integer> Package = new ArrayList<Integer>();
        public ArrayList<String> nst = new ArrayList<String>();
        public ArrayList<String> usageCode = new ArrayList<String>();
        
        public ArrayList<String> getVin() { return vin; }
        public VehicleSearchV3Criteria setVin(ArrayList<String> value) { this.vin = value; return this; }
        public ArrayList<Integer> getModel() { return model; }
        public VehicleSearchV3Criteria setModel(ArrayList<Integer> value) { this.model = value; return this; }
        public ArrayList<Integer> getFuel() { return fuel; }
        public VehicleSearchV3Criteria setFuel(ArrayList<Integer> value) { this.fuel = value; return this; }
        public ArrayList<Integer> getTransmission() { return transmission; }
        public VehicleSearchV3Criteria setTransmission(ArrayList<Integer> value) { this.transmission = value; return this; }
        public ArrayList<Integer> getEngine() { return engine; }
        public VehicleSearchV3Criteria setEngine(ArrayList<Integer> value) { this.engine = value; return this; }
        public ArrayList<String> getLine() { return line; }
        public VehicleSearchV3Criteria setLine(ArrayList<String> value) { this.line = value; return this; }
        public ArrayList<Integer> getMappedLine() { return mappedLine; }
        public VehicleSearchV3Criteria setMappedLine(ArrayList<Integer> value) { this.mappedLine = value; return this; }
        public ArrayList<String> getCommissionNumber() { return commissionNumber; }
        public VehicleSearchV3Criteria setCommissionNumber(ArrayList<String> value) { this.commissionNumber = value; return this; }
        public String getVehicleType() { return vehicleType; }
        public VehicleSearchV3Criteria setVehicleType(String value) { this.vehicleType = value; return this; }
        public CampaignExclusion getExclusion() { return exclusion; }
        public VehicleSearchV3Criteria setExclusion(CampaignExclusion value) { this.exclusion = value; return this; }
        public String getRegNo() { return regNo; }
        public VehicleSearchV3Criteria setRegNo(String value) { this.regNo = value; return this; }
        public Boolean isIncludeOffline() { return includeOffline; }
        public VehicleSearchV3Criteria setIncludeOffline(Boolean value) { this.includeOffline = value; return this; }
        public RegistrationDate getRegistrationDate() { return registrationDate; }
        public VehicleSearchV3Criteria setRegistrationDate(RegistrationDate value) { this.registrationDate = value; return this; }
        public Age getAge() { return age; }
        public VehicleSearchV3Criteria setAge(Age value) { this.age = value; return this; }
        public PortArrivalDate getPortArrivalDate() { return portArrivalDate; }
        public VehicleSearchV3Criteria setPortArrivalDate(PortArrivalDate value) { this.portArrivalDate = value; return this; }
        public Boolean getIsAvailableOnline() { return isAvailableOnline; }
        public VehicleSearchV3Criteria setIsAvailableOnline(Boolean value) { this.isAvailableOnline = value; return this; }
        public Boolean getIsBackOrdered() { return isBackOrdered; }
        public VehicleSearchV3Criteria setIsBackOrdered(Boolean value) { this.isBackOrdered = value; return this; }
        public Boolean getIsSellable() { return isSellable; }
        public VehicleSearchV3Criteria setIsSellable(Boolean value) { this.isSellable = value; return this; }
        public Boolean getIsUnderOffer() { return isUnderOffer; }
        public VehicleSearchV3Criteria setIsUnderOffer(Boolean value) { this.isUnderOffer = value; return this; }
        public Boolean isMbukSecured() { return mbukSecured; }
        public VehicleSearchV3Criteria setMbukSecured(Boolean value) { this.mbukSecured = value; return this; }
        public ArrayList<String> getAccount() { return account; }
        public VehicleSearchV3Criteria setAccount(ArrayList<String> value) { this.account = value; return this; }
        public ArrayList<String> getBaumuster() { return baumuster; }
        public VehicleSearchV3Criteria setBaumuster(ArrayList<String> value) { this.baumuster = value; return this; }
        public ArrayList<Integer> getColours() { return colours; }
        public VehicleSearchV3Criteria setColours(ArrayList<Integer> value) { this.colours = value; return this; }
        public ArrayList<Integer> getUpholstery() { return upholstery; }
        public VehicleSearchV3Criteria setUpholstery(ArrayList<Integer> value) { this.upholstery = value; return this; }
        public ArrayList<Integer> getPackage() { return Package; }
        public VehicleSearchV3Criteria setPackage(ArrayList<Integer> value) { this.Package = value; return this; }
        public ArrayList<String> getNst() { return nst; }
        public VehicleSearchV3Criteria setNst(ArrayList<String> value) { this.nst = value; return this; }
        public ArrayList<String> getUsageCode() { return usageCode; }
        public VehicleSearchV3Criteria setUsageCode(ArrayList<String> value) { this.usageCode = value; return this; }
    }

    public static class CampaignExclusion
    {
        public ArrayList<String> vin = new ArrayList<String>();
        public ArrayList<String> commissionNumber = new ArrayList<String>();
        public String modelYearCode = null;
        public String equipmentCode = null;
        public ArrayList<String> gssn = new ArrayList<String>();
        
        public ArrayList<String> getVin() { return vin; }
        public CampaignExclusion setVin(ArrayList<String> value) { this.vin = value; return this; }
        public ArrayList<String> getCommissionNumber() { return commissionNumber; }
        public CampaignExclusion setCommissionNumber(ArrayList<String> value) { this.commissionNumber = value; return this; }
        public String getModelYearCode() { return modelYearCode; }
        public CampaignExclusion setModelYearCode(String value) { this.modelYearCode = value; return this; }
        public String getEquipmentCode() { return equipmentCode; }
        public CampaignExclusion setEquipmentCode(String value) { this.equipmentCode = value; return this; }
        public ArrayList<String> getGssn() { return gssn; }
        public CampaignExclusion setGssn(ArrayList<String> value) { this.gssn = value; return this; }
    }

    public static class RegistrationDate
    {
        public Date from = null;
        public Date to = null;
        
        public Date getFrom() { return from; }
        public RegistrationDate setFrom(Date value) { this.from = value; return this; }
        public Date getTo() { return to; }
        public RegistrationDate setTo(Date value) { this.to = value; return this; }
    }

    public static class Age
    {
        public Date date = null;
        public Integer min = null;
        public Integer max = null;
        public Boolean includePipelineStock = null;
        
        public Date getDate() { return date; }
        public Age setDate(Date value) { this.date = value; return this; }
        public Integer getMin() { return min; }
        public Age setMin(Integer value) { this.min = value; return this; }
        public Integer getMax() { return max; }
        public Age setMax(Integer value) { this.max = value; return this; }
        public Boolean isIncludePipelineStock() { return includePipelineStock; }
        public Age setIncludePipelineStock(Boolean value) { this.includePipelineStock = value; return this; }
    }

    public static class PortArrivalDate
    {
        public Boolean pipelineStock = null;
        public Date from = null;
        public Date to = null;
        
        public Boolean isPipelineStock() { return pipelineStock; }
        public PortArrivalDate setPipelineStock(Boolean value) { this.pipelineStock = value; return this; }
        public Date getFrom() { return from; }
        public PortArrivalDate setFrom(Date value) { this.from = value; return this; }
        public Date getTo() { return to; }
        public PortArrivalDate setTo(Date value) { this.to = 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 AllAvailableVehiclesByCriteriaRequest DTOs

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

HTTP + XML

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

POST /v1/AllAvailableVehicles/{vehicleType}/{includeBackOrderAccounts} HTTP/1.1 
Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<AllAvailableVehiclesByCriteriaRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.VehicleManagement.API.Shared.POCO.V3">
  <IncludeBackOrderAccounts>false</IncludeBackOrderAccounts>
  <VehicleType>String</VehicleType>
  <Criteria>
    <Account xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </Account>
    <Age>
      <Date>0001-01-01T00:00:00</Date>
      <IncludePipelineStock>false</IncludePipelineStock>
      <Max>0</Max>
      <Min>0</Min>
    </Age>
    <Baumuster xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </Baumuster>
    <Colours xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>0</d3p1:int>
    </Colours>
    <CommissionNumber xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </CommissionNumber>
    <Engine xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>0</d3p1:int>
    </Engine>
    <Exclusion>
      <CommissionNumber xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </CommissionNumber>
      <EquipmentCode>String</EquipmentCode>
      <Gssn xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </Gssn>
      <ModelYearCode>String</ModelYearCode>
      <Vin xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </Vin>
    </Exclusion>
    <Fuel xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>0</d3p1:int>
    </Fuel>
    <IncludeOffline>false</IncludeOffline>
    <IsAvailableOnline>false</IsAvailableOnline>
    <IsBackOrdered>false</IsBackOrdered>
    <IsSellable>false</IsSellable>
    <IsUnderOffer>false</IsUnderOffer>
    <Line xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </Line>
    <MBUKSecured>false</MBUKSecured>
    <MappedLine xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>0</d3p1:int>
    </MappedLine>
    <Model xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>0</d3p1:int>
    </Model>
    <NST xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </NST>
    <Package xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>0</d3p1:int>
    </Package>
    <PortArrivalDate>
      <From>0001-01-01T00:00:00</From>
      <PipelineStock>false</PipelineStock>
      <To>0001-01-01T00:00:00</To>
    </PortArrivalDate>
    <RegNo>String</RegNo>
    <RegistrationDate>
      <From>0001-01-01T00:00:00</From>
      <To>0001-01-01T00:00:00</To>
    </RegistrationDate>
    <Transmission xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>0</d3p1:int>
    </Transmission>
    <Upholstery xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>0</d3p1:int>
    </Upholstery>
    <UsageCode xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </UsageCode>
    <VehicleType>String</VehicleType>
    <Vin xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </Vin>
  </Criteria>
</AllAvailableVehiclesByCriteriaRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<StockManagementResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.VehicleManagement.API.Shared.POCO.V3">
  <TotalVehicles>0</TotalVehicles>
  <Vehicles i:nil="true" />
</StockManagementResponse>