Mercedes.VehicleManagement.API

<back to all web services

DisplayStockRequest

Vehicle
Requires Authentication
The following routes are available for this service:
POST/v1/DisplayStockRetailer/s display stock
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class DisplayStockRequest implements IPost
    {
        /**
        * Gssns
        */
        @ApiMember(Description="Gssns", IsRequired=true)
        public ArrayList<String> gssns = new ArrayList<String>();
        
        public ArrayList<String> getGssns() { return gssns; }
        public DisplayStockRequest setGssns(ArrayList<String> value) { this.gssns = value; return this; }
    }

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

    public static class DisplayStock
    {
        public String vehicleDescription = null;
        public String commissionNumber = null;
        public String vin = null;
        public String retailer = null;
        public String model = null;
        public String fuelType = null;
        public String transmission = null;
        public String colour = null;
        public String actualPrice = null;
        public ArrayList<Integer> activeOffers = new ArrayList<Integer>();
        public String daysAtSite = null;
        public String offerTotalCurrent = null;
        public String offerExpiry = null;
        public String vehicleUsage = null;
        public Boolean underOffer = null;
        public Boolean isSellable = null;
        public String vehicleType = null;
        public String vid = null;
        public String fin = null;
        public String chassisNumber = null;
        public String line = null;
        public String modelYear = null;
        public String modelYearCode = null;
        public String vehicleClass = null;
        public String retailPrice_ExVAT = null;
        public String retailPrice_IncVAT = null;
        public String otr = null;
        public String bodyStyle = null;
        public String productRange = null;
        public String engine = null;
        public Boolean isAMG = null;
        public String colourGroup = null;
        public String upholstery = null;
        public String packages = null;
        public String nst = null;
        public String bM7NST = null;
        public String acceleration = null;
        public String bootCapacity = null;
        public String topSpeed = null;
        public String driveConcept = null;
        public String combustionPowerHp = null;
        public String electricPowerKw = null;
        public String electricPowerHp = null;
        public String combinedPowerKw = null;
        public String combinedPowerHP = null;
        public String electricRange = null;
        public String electricConsumption = null;
        public String emissionCombined = null;
        public String emissionExtraUrban = null;
        public String emissionUrban = null;
        public String emission = null;
        public String emissionDirective = null;
        public String energyEfficiencyClass = null;
        public String wltpCombined = null;
        public String wltpLow = null;
        public String wltpMedium = null;
        public String wltpHigh = null;
        public String wltpExtraHigh = null;
        public String wltpEmissionCombined = 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 account = null;
        public String location = null;
        public String cesarIdShipToParty = null;
        public String vehicleUsageCode = null;
        public Boolean mbukSecured = null;
        public Boolean isAllocatedToBackOrder = null;
        public String backOrderReference = null;
        
        public String getVehicleDescription() { return vehicleDescription; }
        public DisplayStock setVehicleDescription(String value) { this.vehicleDescription = value; return this; }
        public String getCommissionNumber() { return commissionNumber; }
        public DisplayStock setCommissionNumber(String value) { this.commissionNumber = value; return this; }
        public String getVin() { return vin; }
        public DisplayStock setVin(String value) { this.vin = value; return this; }
        public String getRetailer() { return retailer; }
        public DisplayStock setRetailer(String value) { this.retailer = value; return this; }
        public String getModel() { return model; }
        public DisplayStock setModel(String value) { this.model = value; return this; }
        public String getFuelType() { return fuelType; }
        public DisplayStock setFuelType(String value) { this.fuelType = value; return this; }
        public String getTransmission() { return transmission; }
        public DisplayStock setTransmission(String value) { this.transmission = value; return this; }
        public String getColour() { return colour; }
        public DisplayStock setColour(String value) { this.colour = value; return this; }
        public String getActualPrice() { return actualPrice; }
        public DisplayStock setActualPrice(String value) { this.actualPrice = value; return this; }
        public ArrayList<Integer> getActiveOffers() { return activeOffers; }
        public DisplayStock setActiveOffers(ArrayList<Integer> value) { this.activeOffers = value; return this; }
        public String getDaysAtSite() { return daysAtSite; }
        public DisplayStock setDaysAtSite(String value) { this.daysAtSite = value; return this; }
        public String getOfferTotalCurrent() { return offerTotalCurrent; }
        public DisplayStock setOfferTotalCurrent(String value) { this.offerTotalCurrent = value; return this; }
        public String getOfferExpiry() { return offerExpiry; }
        public DisplayStock setOfferExpiry(String value) { this.offerExpiry = value; return this; }
        public String getVehicleUsage() { return vehicleUsage; }
        public DisplayStock setVehicleUsage(String value) { this.vehicleUsage = value; return this; }
        public Boolean isUnderOffer() { return underOffer; }
        public DisplayStock setUnderOffer(Boolean value) { this.underOffer = value; return this; }
        public Boolean getIsSellable() { return isSellable; }
        public DisplayStock setIsSellable(Boolean value) { this.isSellable = value; return this; }
        public String getVehicleType() { return vehicleType; }
        public DisplayStock setVehicleType(String value) { this.vehicleType = value; return this; }
        public String getVid() { return vid; }
        public DisplayStock setVid(String value) { this.vid = value; return this; }
        public String getFin() { return fin; }
        public DisplayStock setFin(String value) { this.fin = value; return this; }
        public String getChassisNumber() { return chassisNumber; }
        public DisplayStock setChassisNumber(String value) { this.chassisNumber = value; return this; }
        public String getLine() { return line; }
        public DisplayStock setLine(String value) { this.line = value; return this; }
        public String getModelYear() { return modelYear; }
        public DisplayStock setModelYear(String value) { this.modelYear = value; return this; }
        public String getModelYearCode() { return modelYearCode; }
        public DisplayStock setModelYearCode(String value) { this.modelYearCode = value; return this; }
        public String getVehicleClass() { return vehicleClass; }
        public DisplayStock setVehicleClass(String value) { this.vehicleClass = value; return this; }
        public String getRetailPriceExVAT() { return retailPrice_ExVAT; }
        public DisplayStock setRetailPriceExVAT(String value) { this.retailPrice_ExVAT = value; return this; }
        public String getRetailPriceIncVAT() { return retailPrice_IncVAT; }
        public DisplayStock setRetailPriceIncVAT(String value) { this.retailPrice_IncVAT = value; return this; }
        public String getOtr() { return otr; }
        public DisplayStock setOtr(String value) { this.otr = value; return this; }
        public String getBodyStyle() { return bodyStyle; }
        public DisplayStock setBodyStyle(String value) { this.bodyStyle = value; return this; }
        public String getProductRange() { return productRange; }
        public DisplayStock setProductRange(String value) { this.productRange = value; return this; }
        public String getEngine() { return engine; }
        public DisplayStock setEngine(String value) { this.engine = value; return this; }
        public Boolean getIsAMG() { return isAMG; }
        public DisplayStock setIsAMG(Boolean value) { this.isAMG = value; return this; }
        public String getColourGroup() { return colourGroup; }
        public DisplayStock setColourGroup(String value) { this.colourGroup = value; return this; }
        public String getUpholstery() { return upholstery; }
        public DisplayStock setUpholstery(String value) { this.upholstery = value; return this; }
        public String getPackages() { return packages; }
        public DisplayStock setPackages(String value) { this.packages = value; return this; }
        public String getNst() { return nst; }
        public DisplayStock setNst(String value) { this.nst = value; return this; }
        public String getBM7NST() { return bM7NST; }
        public DisplayStock setBM7NST(String value) { this.bM7NST = value; return this; }
        public String getAcceleration() { return acceleration; }
        public DisplayStock setAcceleration(String value) { this.acceleration = value; return this; }
        public String getBootCapacity() { return bootCapacity; }
        public DisplayStock setBootCapacity(String value) { this.bootCapacity = value; return this; }
        public String getTopSpeed() { return topSpeed; }
        public DisplayStock setTopSpeed(String value) { this.topSpeed = value; return this; }
        public String getDriveConcept() { return driveConcept; }
        public DisplayStock setDriveConcept(String value) { this.driveConcept = value; return this; }
        public String getCombustionPowerHp() { return combustionPowerHp; }
        public DisplayStock setCombustionPowerHp(String value) { this.combustionPowerHp = value; return this; }
        public String getElectricPowerKw() { return electricPowerKw; }
        public DisplayStock setElectricPowerKw(String value) { this.electricPowerKw = value; return this; }
        public String getElectricPowerHp() { return electricPowerHp; }
        public DisplayStock setElectricPowerHp(String value) { this.electricPowerHp = value; return this; }
        public String getCombinedPowerKw() { return combinedPowerKw; }
        public DisplayStock setCombinedPowerKw(String value) { this.combinedPowerKw = value; return this; }
        public String getCombinedPowerHP() { return combinedPowerHP; }
        public DisplayStock setCombinedPowerHP(String value) { this.combinedPowerHP = value; return this; }
        public String getElectricRange() { return electricRange; }
        public DisplayStock setElectricRange(String value) { this.electricRange = value; return this; }
        public String getElectricConsumption() { return electricConsumption; }
        public DisplayStock setElectricConsumption(String value) { this.electricConsumption = value; return this; }
        public String getEmissionCombined() { return emissionCombined; }
        public DisplayStock setEmissionCombined(String value) { this.emissionCombined = value; return this; }
        public String getEmissionExtraUrban() { return emissionExtraUrban; }
        public DisplayStock setEmissionExtraUrban(String value) { this.emissionExtraUrban = value; return this; }
        public String getEmissionUrban() { return emissionUrban; }
        public DisplayStock setEmissionUrban(String value) { this.emissionUrban = value; return this; }
        public String getEmission() { return emission; }
        public DisplayStock setEmission(String value) { this.emission = value; return this; }
        public String getEmissionDirective() { return emissionDirective; }
        public DisplayStock setEmissionDirective(String value) { this.emissionDirective = value; return this; }
        public String getEnergyEfficiencyClass() { return energyEfficiencyClass; }
        public DisplayStock setEnergyEfficiencyClass(String value) { this.energyEfficiencyClass = value; return this; }
        public String getWltpCombined() { return wltpCombined; }
        public DisplayStock setWltpCombined(String value) { this.wltpCombined = value; return this; }
        public String getWltpLow() { return wltpLow; }
        public DisplayStock setWltpLow(String value) { this.wltpLow = value; return this; }
        public String getWltpMedium() { return wltpMedium; }
        public DisplayStock setWltpMedium(String value) { this.wltpMedium = value; return this; }
        public String getWltpHigh() { return wltpHigh; }
        public DisplayStock setWltpHigh(String value) { this.wltpHigh = value; return this; }
        public String getWltpExtraHigh() { return wltpExtraHigh; }
        public DisplayStock setWltpExtraHigh(String value) { this.wltpExtraHigh = value; return this; }
        public String getWltpEmissionCombined() { return wltpEmissionCombined; }
        public DisplayStock setWltpEmissionCombined(String value) { this.wltpEmissionCombined = value; return this; }
        public Date getPortArrivalDate() { return portArrivalDate; }
        public DisplayStock setPortArrivalDate(Date value) { this.portArrivalDate = value; return this; }
        public Date getCreationDate() { return creationDate; }
        public DisplayStock setCreationDate(Date value) { this.creationDate = value; return this; }
        public Date getLastUpdated() { return lastUpdated; }
        public DisplayStock setLastUpdated(Date value) { this.lastUpdated = value; return this; }
        public Boolean getIsDisplayStock() { return isDisplayStock; }
        public DisplayStock setIsDisplayStock(Boolean value) { this.isDisplayStock = value; return this; }
        public String getDisplayStockAgent() { return displayStockAgent; }
        public DisplayStock setDisplayStockAgent(String value) { this.displayStockAgent = value; return this; }
        public Boolean getIsSpecialistCar() { return isSpecialistCar; }
        public DisplayStock setIsSpecialistCar(Boolean value) { this.isSpecialistCar = value; return this; }
        public String getAccount() { return account; }
        public DisplayStock setAccount(String value) { this.account = value; return this; }
        public String getLocation() { return location; }
        public DisplayStock setLocation(String value) { this.location = value; return this; }
        public String getCesarIdShipToParty() { return cesarIdShipToParty; }
        public DisplayStock setCesarIdShipToParty(String value) { this.cesarIdShipToParty = value; return this; }
        public String getVehicleUsageCode() { return vehicleUsageCode; }
        public DisplayStock setVehicleUsageCode(String value) { this.vehicleUsageCode = value; return this; }
        public Boolean isMbukSecured() { return mbukSecured; }
        public DisplayStock setMbukSecured(Boolean value) { this.mbukSecured = value; return this; }
        public Boolean getIsAllocatedToBackOrder() { return isAllocatedToBackOrder; }
        public DisplayStock setIsAllocatedToBackOrder(Boolean value) { this.isAllocatedToBackOrder = value; return this; }
        public String getBackOrderReference() { return backOrderReference; }
        public DisplayStock setBackOrderReference(String value) { this.backOrderReference = value; return this; }
    }

}

Java DisplayStockRequest 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/DisplayStock HTTP/1.1 
Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<DisplayStockRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.VehicleManagement.API.ServiceModel">
  <Gssns xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </Gssns>
</DisplayStockRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<DisplayStockResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.VehicleManagement.API.Shared.POCO">
  <Vehicles>
    <DisplayStock>
      <Acceleration>String</Acceleration>
      <Account>String</Account>
      <ActiveOffers xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>0</d4p1:int>
      </ActiveOffers>
      <ActualPrice>String</ActualPrice>
      <BM7NST>String</BM7NST>
      <BackOrderReference>String</BackOrderReference>
      <BodyStyle>String</BodyStyle>
      <BootCapacity>String</BootCapacity>
      <CesarIdShipToParty>String</CesarIdShipToParty>
      <ChassisNumber>String</ChassisNumber>
      <Colour>String</Colour>
      <ColourGroup>String</ColourGroup>
      <CombinedPowerHP>String</CombinedPowerHP>
      <CombinedPowerKw>String</CombinedPowerKw>
      <CombustionPowerHp>String</CombustionPowerHp>
      <CommissionNumber>String</CommissionNumber>
      <CreationDate>0001-01-01T00:00:00</CreationDate>
      <DaysAtSite>String</DaysAtSite>
      <DisplayStockAgent>String</DisplayStockAgent>
      <DriveConcept>String</DriveConcept>
      <ElectricConsumption>String</ElectricConsumption>
      <ElectricPowerHp>String</ElectricPowerHp>
      <ElectricPowerKw>String</ElectricPowerKw>
      <ElectricRange>String</ElectricRange>
      <Emission>String</Emission>
      <EmissionCombined>String</EmissionCombined>
      <EmissionDirective>String</EmissionDirective>
      <EmissionExtraUrban>String</EmissionExtraUrban>
      <EmissionUrban>String</EmissionUrban>
      <EnergyEfficiencyClass>String</EnergyEfficiencyClass>
      <Engine>String</Engine>
      <Fin>String</Fin>
      <FuelType>String</FuelType>
      <IsAMG>false</IsAMG>
      <IsAllocatedToBackOrder>false</IsAllocatedToBackOrder>
      <IsDisplayStock>false</IsDisplayStock>
      <IsSellable>false</IsSellable>
      <IsSpecialistCar>false</IsSpecialistCar>
      <LastUpdated>0001-01-01T00:00:00</LastUpdated>
      <Line>String</Line>
      <Location>String</Location>
      <MbukSecured>false</MbukSecured>
      <Model>String</Model>
      <ModelYear>String</ModelYear>
      <ModelYearCode>String</ModelYearCode>
      <Nst>String</Nst>
      <OfferExpiry>String</OfferExpiry>
      <OfferTotalCurrent>String</OfferTotalCurrent>
      <Otr>String</Otr>
      <Packages>String</Packages>
      <PortArrivalDate>0001-01-01T00:00:00</PortArrivalDate>
      <ProductRange>String</ProductRange>
      <RetailPrice_ExVAT>String</RetailPrice_ExVAT>
      <RetailPrice_IncVAT>String</RetailPrice_IncVAT>
      <Retailer>String</Retailer>
      <TopSpeed>String</TopSpeed>
      <Transmission>String</Transmission>
      <UnderOffer>false</UnderOffer>
      <Upholstery>String</Upholstery>
      <VehicleClass>String</VehicleClass>
      <VehicleDescription>String</VehicleDescription>
      <VehicleType>String</VehicleType>
      <VehicleUsage>String</VehicleUsage>
      <VehicleUsageCode>String</VehicleUsageCode>
      <Vid>String</Vid>
      <Vin>String</Vin>
      <WltpCombined>String</WltpCombined>
      <WltpEmissionCombined>String</WltpEmissionCombined>
      <WltpExtraHigh>String</WltpExtraHigh>
      <WltpHigh>String</WltpHigh>
      <WltpLow>String</WltpLow>
      <WltpMedium>String</WltpMedium>
    </DisplayStock>
  </Vehicles>
</DisplayStockResponse>