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
DisplayStockRequest Parameters:
NameParameterData TypeRequiredDescription
GssnsbodyList<string>YesGssns
DisplayStockResponse Parameters:
NameParameterData TypeRequiredDescription
VehiclesformList<DisplayStock>Yes
DisplayStock Parameters:
NameParameterData TypeRequiredDescription
VehicleDescriptionformstringYes
CommissionNumberformstringYes
VinformstringYes
RetailerformstringYes
ModelformstringYes
FuelTypeformstringYes
TransmissionformstringYes
ColourformstringYes
ActualPriceformstringYes
ActiveOffersformint[]Yes
DaysAtSiteformstringYes
OfferTotalCurrentformstringYes
OfferExpiryformstringYes
VehicleUsageformstringYes
UnderOfferformboolNo
IsSellableformboolNo
VehicleTypeformstringYes
VidformstringYes
FinformstringYes
ChassisNumberformstringYes
LineformstringYes
ModelYearformstringYes
ModelYearCodeformstringYes
VehicleClassformstringYes
RetailPrice_ExVATformstringYes
RetailPrice_IncVATformstringYes
OtrformstringYes
BodyStyleformstringYes
ProductRangeformstringYes
EngineformstringYes
IsAMGformboolNo
ColourGroupformstringYes
UpholsteryformstringYes
PackagesformstringYes
NstformstringYes
BM7NSTformstringYes
AccelerationformstringYes
BootCapacityformstringYes
TopSpeedformstringYes
DriveConceptformstringYes
CombustionPowerHpformstringYes
ElectricPowerKwformstringYes
ElectricPowerHpformstringYes
CombinedPowerKwformstringYes
CombinedPowerHPformstringYes
ElectricRangeformstringYes
ElectricConsumptionformstringYes
EmissionCombinedformstringYes
EmissionExtraUrbanformstringYes
EmissionUrbanformstringYes
EmissionformstringYes
EmissionDirectiveformstringYes
EnergyEfficiencyClassformstringYes
WltpCombinedformstringYes
WltpLowformstringYes
WltpMediumformstringYes
WltpHighformstringYes
WltpExtraHighformstringYes
WltpEmissionCombinedformstringYes
PortArrivalDateformDateTime?No
CreationDateformDateTime?No
LastUpdatedformDateTime?No
IsDisplayStockformboolNo
DisplayStockAgentformstringYes
IsSpecialistCarformboolNo
AccountformstringYes
LocationformstringYes
CesarIdShipToPartyformstringYes
VehicleUsageCodeformstringYes
MbukSecuredformboolNo
IsAllocatedToBackOrderformboolNo
BackOrderReferenceformstringNo

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

{
	gssns: 
	[
		String
	]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	vehicles: 
	[
		{
			vehicleDescription: String,
			commissionNumber: String,
			vin: String,
			retailer: String,
			model: String,
			fuelType: String,
			transmission: String,
			colour: String,
			actualPrice: String,
			activeOffers: 
			[
				0
			],
			daysAtSite: String,
			offerTotalCurrent: String,
			offerExpiry: String,
			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
		}
	]
}