POST | /v1/AllAvailableVehiclesCsv/{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 AllAvailableVehiclesByCriteriaCsvRequest extends BaseAllAvailableVehiclesRequest implements IPost
{
public VehicleSearchV3Criteria criteria = null;
public VehicleSearchV3Criteria getCriteria() { return criteria; }
public AllAvailableVehiclesByCriteriaCsvRequest 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 InternalAvailableStockResponse
{
public Integer totalVehicles = null;
public ArrayList<CsvVehicle> vehicles = null;
public Integer getTotalVehicles() { return totalVehicles; }
public InternalAvailableStockResponse setTotalVehicles(Integer value) { this.totalVehicles = value; return this; }
public ArrayList<CsvVehicle> getVehicles() { return vehicles; }
public InternalAvailableStockResponse setVehicles(ArrayList<CsvVehicle> value) { this.vehicles = value; return this; }
}
public static class CsvVehicle
{
@DataMember(Name="Vehicle Type")
@SerializedName("Vehicle Type")
public String vehicleType = null;
public String vid = null;
public String vin = null;
public String fin = null;
@DataMember(Name="Comm")
@SerializedName("Comm")
public String commissionNumber = null;
@DataMember(Name="Chassis Number")
@SerializedName("Chassis Number")
public String chassisNumber = null;
@DataMember(Name="Model Year")
@SerializedName("Model Year")
public String modelYear = null;
@DataMember(Name="Model Year Code")
@SerializedName("Model Year Code")
public String modelYearCode = null;
@DataMember(Name="Half Model Year Code")
@SerializedName("Half Model Year Code")
public String halfModelYearCode = null;
@DataMember(Name="Full Model Year Code")
@SerializedName("Full Model Year Code")
public String fullModelYearCode = null;
@DataMember(Name="Description")
@SerializedName("Description")
public String salesDescriptionLong = null;
@DataMember(Name="Vehicle Class")
@SerializedName("Vehicle Class")
public String vehicleClass = null;
@DataMember(Name="Body Style")
@SerializedName("Body Style")
public String bodyStyle = null;
public String model = null;
public String colour = null;
@DataMember(Name="Colour Group")
@SerializedName("Colour Group")
public String colourGroup = null;
@DataMember(Name="Fuel Type")
@SerializedName("Fuel Type")
public String fuelType = null;
public String transmission = null;
public String packages = null;
public String lines = null;
@DataMember(Name="Product Range")
@SerializedName("Product Range")
public String productRange = null;
public String engine = null;
public Boolean isAMG = null;
public String upholstery = null;
public String nst = null;
public String baumuster = null;
public String bm7NST = null;
public BigDecimal acceleration = null;
@DataMember(Name="Boot Capacity")
@SerializedName("Boot Capacity")
public Integer bootCapacity = null;
@DataMember(Name="Top Speed")
@SerializedName("Top Speed")
public BigDecimal topSpeed = null;
@DataMember(Name="Drive Concept")
@SerializedName("Drive Concept")
public String driveConcept = null;
@DataMember(Name="Combustion Power HP")
@SerializedName("Combustion Power HP")
public BigDecimal combustionPowerHp = null;
@DataMember(Name="Electric Power KW")
@SerializedName("Electric Power KW")
public BigDecimal electricPowerKw = null;
@DataMember(Name="Electric Power HP")
@SerializedName("Electric Power HP")
public BigDecimal electricPowerHp = null;
@DataMember(Name="Combined Power KW")
@SerializedName("Combined Power KW")
public BigDecimal combinedPowerKw = null;
@DataMember(Name="Combined Power HP")
@SerializedName("Combined Power HP")
public BigDecimal combinedPowerHP = null;
@DataMember(Name="Electric Range")
@SerializedName("Electric Range")
public BigDecimal electricRange = null;
@DataMember(Name="Electric Consumption")
@SerializedName("Electric Consumption")
public BigDecimal electricConsumption = null;
@DataMember(Name="Emission Combined")
@SerializedName("Emission Combined")
public String emissionCombined = null;
@DataMember(Name="Emission Directive")
@SerializedName("Emission Directive")
public String emissionDirective = null;
@DataMember(Name="Emission Extra Urban")
@SerializedName("Emission Extra Urban")
public String emissionExtraUrban = null;
@DataMember(Name="Emission Urban")
@SerializedName("Emission Urban")
public String emissionUrban = null;
public BigDecimal emission = null;
@DataMember(Name="Test Standard")
@SerializedName("Test Standard")
public String testStandard = null;
@DataMember(Name="Energy Efficiency Class")
@SerializedName("Energy Efficiency Class")
public String energyEfficiencyClass = null;
@DataMember(Name="WLTP Combined")
@SerializedName("WLTP Combined")
public String wltpCombined = null;
@DataMember(Name="WLTP Low")
@SerializedName("WLTP Low")
public String wltpLow = null;
@DataMember(Name="WLTP Medium")
@SerializedName("WLTP Medium")
public String wltpMedium = null;
@DataMember(Name="WLTP High")
@SerializedName("WLTP High")
public String wltpHigh = null;
@DataMember(Name="WLTP Extra High")
@SerializedName("WLTP Extra High")
public String wltpExtraHigh = null;
@DataMember(Name="WLTP CO2 Emissions")
@SerializedName("WLTP CO2 Emissions")
public String wltpEmissionCombined = null;
@DataMember(Name="Production Date")
@SerializedName("Production Date")
public Date productionDate = null;
@DataMember(Name="Port Arrival Date")
@SerializedName("Port Arrival Date")
public Date portArrivalDate = null;
@DataMember(Name="Creation Date")
@SerializedName("Creation Date")
public Date creationDate = null;
@DataMember(Name="Maintenance Date")
@SerializedName("Maintenance Date")
public Date lastUpdated = null;
@DataMember(Name="Net Price")
@SerializedName("Net Price")
public BigDecimal retailPrice_ExVAT = null;
@DataMember(Name="Retail Price")
@SerializedName("Retail Price")
public BigDecimal retailPrice_IncVAT = null;
@DataMember(Name="OTR Price")
@SerializedName("OTR Price")
public BigDecimal otr = null;
@DataMember(Name="Actual Price")
@SerializedName("Actual Price")
public BigDecimal actualPrice = null;
@DataMember(Name="Usage Code")
@SerializedName("Usage Code")
public String usageCode = null;
public String secured = null;
public String account = null;
public String isDisplayStock = null;
@DataMember(Name="Display Agent")
@SerializedName("Display Agent")
public String displayStockAgent = null;
public String isSpecialistCar = null;
public String cesarIdShipToParty = null;
public String isSellable = null;
@DataMember(Name="Under Offer")
@SerializedName("Under Offer")
public String underOffer = null;
@DataMember(Name="Secured Date")
@SerializedName("Secured Date")
public String securedDate = null;
@DataMember(Name="Secured Reason")
@SerializedName("Secured Reason")
public String securedReason = null;
@DataMember(Name="Secured By Gas Id")
@SerializedName("Secured By Gas Id")
public String securedByGasId = null;
public String getVehicleType() { return vehicleType; }
public CsvVehicle setVehicleType(String value) { this.vehicleType = value; return this; }
public String getVid() { return vid; }
public CsvVehicle setVid(String value) { this.vid = value; return this; }
public String getVin() { return vin; }
public CsvVehicle setVin(String value) { this.vin = value; return this; }
public String getFin() { return fin; }
public CsvVehicle setFin(String value) { this.fin = value; return this; }
public String getCommissionNumber() { return commissionNumber; }
public CsvVehicle setCommissionNumber(String value) { this.commissionNumber = value; return this; }
public String getChassisNumber() { return chassisNumber; }
public CsvVehicle setChassisNumber(String value) { this.chassisNumber = value; return this; }
public String getModelYear() { return modelYear; }
public CsvVehicle setModelYear(String value) { this.modelYear = value; return this; }
public String getModelYearCode() { return modelYearCode; }
public CsvVehicle setModelYearCode(String value) { this.modelYearCode = value; return this; }
public String getHalfModelYearCode() { return halfModelYearCode; }
public CsvVehicle setHalfModelYearCode(String value) { this.halfModelYearCode = value; return this; }
public String getFullModelYearCode() { return fullModelYearCode; }
public CsvVehicle setFullModelYearCode(String value) { this.fullModelYearCode = value; return this; }
public String getSalesDescriptionLong() { return salesDescriptionLong; }
public CsvVehicle setSalesDescriptionLong(String value) { this.salesDescriptionLong = value; return this; }
public String getVehicleClass() { return vehicleClass; }
public CsvVehicle setVehicleClass(String value) { this.vehicleClass = value; return this; }
public String getBodyStyle() { return bodyStyle; }
public CsvVehicle setBodyStyle(String value) { this.bodyStyle = value; return this; }
public String getModel() { return model; }
public CsvVehicle setModel(String value) { this.model = value; return this; }
public String getColour() { return colour; }
public CsvVehicle setColour(String value) { this.colour = value; return this; }
public String getColourGroup() { return colourGroup; }
public CsvVehicle setColourGroup(String value) { this.colourGroup = value; return this; }
public String getFuelType() { return fuelType; }
public CsvVehicle setFuelType(String value) { this.fuelType = value; return this; }
public String getTransmission() { return transmission; }
public CsvVehicle setTransmission(String value) { this.transmission = value; return this; }
public String getPackages() { return packages; }
public CsvVehicle setPackages(String value) { this.packages = value; return this; }
public String getLines() { return lines; }
public CsvVehicle setLines(String value) { this.lines = value; return this; }
public String getProductRange() { return productRange; }
public CsvVehicle setProductRange(String value) { this.productRange = value; return this; }
public String getEngine() { return engine; }
public CsvVehicle setEngine(String value) { this.engine = value; return this; }
public Boolean getIsAMG() { return isAMG; }
public CsvVehicle setIsAMG(Boolean value) { this.isAMG = value; return this; }
public String getUpholstery() { return upholstery; }
public CsvVehicle setUpholstery(String value) { this.upholstery = value; return this; }
public String getNst() { return nst; }
public CsvVehicle setNst(String value) { this.nst = value; return this; }
public String getBaumuster() { return baumuster; }
public CsvVehicle setBaumuster(String value) { this.baumuster = value; return this; }
public String getBm7NST() { return bm7NST; }
public CsvVehicle setBm7NST(String value) { this.bm7NST = value; return this; }
public BigDecimal getAcceleration() { return acceleration; }
public CsvVehicle setAcceleration(BigDecimal value) { this.acceleration = value; return this; }
public Integer getBootCapacity() { return bootCapacity; }
public CsvVehicle setBootCapacity(Integer value) { this.bootCapacity = value; return this; }
public BigDecimal getTopSpeed() { return topSpeed; }
public CsvVehicle setTopSpeed(BigDecimal value) { this.topSpeed = value; return this; }
public String getDriveConcept() { return driveConcept; }
public CsvVehicle setDriveConcept(String value) { this.driveConcept = value; return this; }
public BigDecimal getCombustionPowerHp() { return combustionPowerHp; }
public CsvVehicle setCombustionPowerHp(BigDecimal value) { this.combustionPowerHp = value; return this; }
public BigDecimal getElectricPowerKw() { return electricPowerKw; }
public CsvVehicle setElectricPowerKw(BigDecimal value) { this.electricPowerKw = value; return this; }
public BigDecimal getElectricPowerHp() { return electricPowerHp; }
public CsvVehicle setElectricPowerHp(BigDecimal value) { this.electricPowerHp = value; return this; }
public BigDecimal getCombinedPowerKw() { return combinedPowerKw; }
public CsvVehicle setCombinedPowerKw(BigDecimal value) { this.combinedPowerKw = value; return this; }
public BigDecimal getCombinedPowerHP() { return combinedPowerHP; }
public CsvVehicle setCombinedPowerHP(BigDecimal value) { this.combinedPowerHP = value; return this; }
public BigDecimal getElectricRange() { return electricRange; }
public CsvVehicle setElectricRange(BigDecimal value) { this.electricRange = value; return this; }
public BigDecimal getElectricConsumption() { return electricConsumption; }
public CsvVehicle setElectricConsumption(BigDecimal value) { this.electricConsumption = value; return this; }
public String getEmissionCombined() { return emissionCombined; }
public CsvVehicle setEmissionCombined(String value) { this.emissionCombined = value; return this; }
public String getEmissionDirective() { return emissionDirective; }
public CsvVehicle setEmissionDirective(String value) { this.emissionDirective = value; return this; }
public String getEmissionExtraUrban() { return emissionExtraUrban; }
public CsvVehicle setEmissionExtraUrban(String value) { this.emissionExtraUrban = value; return this; }
public String getEmissionUrban() { return emissionUrban; }
public CsvVehicle setEmissionUrban(String value) { this.emissionUrban = value; return this; }
public BigDecimal getEmission() { return emission; }
public CsvVehicle setEmission(BigDecimal value) { this.emission = value; return this; }
public String getTestStandard() { return testStandard; }
public CsvVehicle setTestStandard(String value) { this.testStandard = value; return this; }
public String getEnergyEfficiencyClass() { return energyEfficiencyClass; }
public CsvVehicle setEnergyEfficiencyClass(String value) { this.energyEfficiencyClass = value; return this; }
public String getWltpCombined() { return wltpCombined; }
public CsvVehicle setWltpCombined(String value) { this.wltpCombined = value; return this; }
public String getWltpLow() { return wltpLow; }
public CsvVehicle setWltpLow(String value) { this.wltpLow = value; return this; }
public String getWltpMedium() { return wltpMedium; }
public CsvVehicle setWltpMedium(String value) { this.wltpMedium = value; return this; }
public String getWltpHigh() { return wltpHigh; }
public CsvVehicle setWltpHigh(String value) { this.wltpHigh = value; return this; }
public String getWltpExtraHigh() { return wltpExtraHigh; }
public CsvVehicle setWltpExtraHigh(String value) { this.wltpExtraHigh = value; return this; }
public String getWltpEmissionCombined() { return wltpEmissionCombined; }
public CsvVehicle setWltpEmissionCombined(String value) { this.wltpEmissionCombined = value; return this; }
public Date getProductionDate() { return productionDate; }
public CsvVehicle setProductionDate(Date value) { this.productionDate = value; return this; }
public Date getPortArrivalDate() { return portArrivalDate; }
public CsvVehicle setPortArrivalDate(Date value) { this.portArrivalDate = value; return this; }
public Date getCreationDate() { return creationDate; }
public CsvVehicle setCreationDate(Date value) { this.creationDate = value; return this; }
public Date getLastUpdated() { return lastUpdated; }
public CsvVehicle setLastUpdated(Date value) { this.lastUpdated = value; return this; }
public BigDecimal getRetailPriceExVAT() { return retailPrice_ExVAT; }
public CsvVehicle setRetailPriceExVAT(BigDecimal value) { this.retailPrice_ExVAT = value; return this; }
public BigDecimal getRetailPriceIncVAT() { return retailPrice_IncVAT; }
public CsvVehicle setRetailPriceIncVAT(BigDecimal value) { this.retailPrice_IncVAT = value; return this; }
public BigDecimal getOtr() { return otr; }
public CsvVehicle setOtr(BigDecimal value) { this.otr = value; return this; }
public BigDecimal getActualPrice() { return actualPrice; }
public CsvVehicle setActualPrice(BigDecimal value) { this.actualPrice = value; return this; }
public String getUsageCode() { return usageCode; }
public CsvVehicle setUsageCode(String value) { this.usageCode = value; return this; }
public String getSecured() { return secured; }
public CsvVehicle setSecured(String value) { this.secured = value; return this; }
public String getAccount() { return account; }
public CsvVehicle setAccount(String value) { this.account = value; return this; }
public String getIsDisplayStock() { return isDisplayStock; }
public CsvVehicle setIsDisplayStock(String value) { this.isDisplayStock = value; return this; }
public String getDisplayStockAgent() { return displayStockAgent; }
public CsvVehicle setDisplayStockAgent(String value) { this.displayStockAgent = value; return this; }
public String getIsSpecialistCar() { return isSpecialistCar; }
public CsvVehicle setIsSpecialistCar(String value) { this.isSpecialistCar = value; return this; }
public String getCesarIdShipToParty() { return cesarIdShipToParty; }
public CsvVehicle setCesarIdShipToParty(String value) { this.cesarIdShipToParty = value; return this; }
public String getIsSellable() { return isSellable; }
public CsvVehicle setIsSellable(String value) { this.isSellable = value; return this; }
public String getUnderOffer() { return underOffer; }
public CsvVehicle setUnderOffer(String value) { this.underOffer = value; return this; }
public String getSecuredDate() { return securedDate; }
public CsvVehicle setSecuredDate(String value) { this.securedDate = value; return this; }
public String getSecuredReason() { return securedReason; }
public CsvVehicle setSecuredReason(String value) { this.securedReason = value; return this; }
public String getSecuredByGasId() { return securedByGasId; }
public CsvVehicle setSecuredByGasId(String value) { this.securedByGasId = value; return this; }
}
}
Java AllAvailableVehiclesByCriteriaCsvRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/AllAvailableVehiclesCsv/{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
<AllAvailableVehiclesByCriteriaCsvRequest 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>
</AllAvailableVehiclesByCriteriaCsvRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <InternalAvailableStockResponse 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" /> </InternalAvailableStockResponse>