Mercedes.VehicleManagement.API

<back to all web services

DisplayStockOverviewRequest

Vehicle
Requires Authentication
The following routes are available for this service:
POST/v1/DisplayStockOverviewFilter Display Stock vehicle data with usedCode and MBUKSecured

export class VehicleDisplayStock
{
    public vin?: string;
    public vehicleDescription: string;
    public commissionNumber: string;
    public retailer: string;
    public model: string;
    public fuelType: string;
    public transmission: string;
    public colour: string;
    public actualPrice: string;
    public gbDestDate?: string;
    public vehicleUsage: string;
    public underOffer: boolean;
    public isSellable: boolean;
    public vehicleType: string;
    public vid: string;
    public fin: string;
    public chassisNumber: string;
    public line: string;
    public modelYear: string;
    public modelYearCode: string;
    public vehicleClass: string;
    public retailPrice_ExVAT: string;
    public retailPrice_IncVAT: string;
    public otr: string;
    public bodyStyle: string;
    public productRange: string;
    public engine: string;
    public isAMG: boolean;
    public colourGroup: string;
    public upholstery: string;
    public packages: string;
    public nst: string;
    public bM7NST: string;
    public acceleration: string;
    public bootCapacity: string;
    public topSpeed: string;
    public driveConcept: string;
    public combustionPowerHp: string;
    public electricPowerKw: string;
    public electricPowerHp: string;
    public combinedPowerKw: string;
    public combinedPowerHP: string;
    public electricRange: string;
    public electricConsumption: string;
    public emissionCombined: string;
    public emissionExtraUrban: string;
    public emissionUrban: string;
    public emission: string;
    public emissionDirective: string;
    public energyEfficiencyClass: string;
    public wltpCombined: string;
    public wltpLow: string;
    public wltpMedium: string;
    public wltpHigh: string;
    public wltpExtraHigh: string;
    public wltpEmissionCombined: string;
    public portArrivalDate?: string;
    public creationDate?: string;
    public lastUpdated?: string;
    public isDisplayStock: boolean;
    public displayStockAgent: string;
    public isSpecialistCar: boolean;
    public account: string;
    public location: string;
    public cesarIdShipToParty: string;
    public vehicleUsageCode: string;
    public mbukSecured: boolean;
    public isAllocatedToBackOrder: boolean;
    public backOrderReference?: string;
    public marketAreaName?: string;
    public marketAreaId?: number;
    public daysAtSite?: string;

    public constructor(init?: Partial<VehicleDisplayStock>) { (Object as any).assign(this, init); }
}

export class DisplayStockOverviewResponse
{
    public vehicles: VehicleDisplayStock[] = [];

    public constructor(init?: Partial<DisplayStockOverviewResponse>) { (Object as any).assign(this, init); }
}

export class DisplayStockOverviewRequest implements IPost
{
    /** @description Is vehicle secured */
    // @ApiMember(Description="Is vehicle secured", IsRequired=true)
    public isSecured: boolean;

    /** @description Usage codes */
    // @ApiMember(Description="Usage codes", IsRequired=true)
    public usageCode: string[] = [];

    public constructor(init?: Partial<DisplayStockOverviewRequest>) { (Object as any).assign(this, init); }
}

TypeScript DisplayStockOverviewRequest DTOs

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

HTTP + JSV

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

POST /v1/DisplayStockOverview HTTP/1.1 
Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	isSecured: False,
	usageCode: 
	[
		String
	]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	vehicles: 
	[
		{
			vin: String,
			vehicleDescription: String,
			commissionNumber: String,
			retailer: String,
			model: String,
			fuelType: String,
			transmission: String,
			colour: String,
			actualPrice: String,
			gbDestDate: 0001-01-01,
			vehicleUsage: String,
			underOffer: False,
			isSellable: False,
			vehicleType: String,
			vid: String,
			fin: String,
			chassisNumber: String,
			line: String,
			modelYear: String,
			modelYearCode: String,
			vehicleClass: String,
			retailPrice_ExVAT: String,
			retailPrice_IncVAT: String,
			otr: String,
			bodyStyle: String,
			productRange: String,
			engine: String,
			isAMG: False,
			colourGroup: String,
			upholstery: String,
			packages: String,
			nst: String,
			bM7NST: String,
			acceleration: String,
			bootCapacity: String,
			topSpeed: String,
			driveConcept: String,
			combustionPowerHp: String,
			electricPowerKw: String,
			electricPowerHp: String,
			combinedPowerKw: String,
			combinedPowerHP: String,
			electricRange: String,
			electricConsumption: String,
			emissionCombined: String,
			emissionExtraUrban: String,
			emissionUrban: String,
			emission: String,
			emissionDirective: String,
			energyEfficiencyClass: String,
			wltpCombined: String,
			wltpLow: String,
			wltpMedium: String,
			wltpHigh: String,
			wltpExtraHigh: String,
			wltpEmissionCombined: String,
			portArrivalDate: 0001-01-01,
			creationDate: 0001-01-01,
			lastUpdated: 0001-01-01,
			isDisplayStock: False,
			displayStockAgent: String,
			isSpecialistCar: False,
			account: String,
			location: String,
			cesarIdShipToParty: String,
			vehicleUsageCode: String,
			mbukSecured: False,
			isAllocatedToBackOrder: False,
			backOrderReference: String,
			marketAreaName: String,
			marketAreaId: 0,
			daysAtSite: String
		}
	]
}