Mercedes.VehicleManagement.API

<back to all web services

OnlineShowroomStockCsvRequest

Vehicle
Requires Authentication
The following routes are available for this service:
POST/v1/OnlineShowroomCsv/StockSearch for Online Showroom StockCalls Vehicle Data API online showroom stock endpoint and searches for vehicles given a list of retailers. The results are used to populate the Online Showroom Stock full detail CSV export in OneAdmin
OnlineShowroomStockCsvRequest Parameters:
NameParameterData TypeRequiredDescription
GssnsbodyList<string>Yes
InternalAvailableStockResponse Parameters:
NameParameterData TypeRequiredDescription
TotalVehiclesformintNo
VehiclesformIEnumerable<CsvVehicle>Yes
CsvVehicle Parameters:
NameParameterData TypeRequiredDescription
VehicleTypeformstringYes
VidformstringYes
VinformstringYes
FinformstringYes
CommissionNumberformstringYes
ChassisNumberformstringYes
ModelYearformstringYes
ModelYearCodeformstringYes
HalfModelYearCodeformstringYes
FullModelYearCodeformstringYes
SalesDescriptionLongformstringYes
VehicleClassformstringYes
BodyStyleformstringYes
ModelformstringYes
ColourformstringYes
ColourGroupformstringYes
FuelTypeformstringYes
TransmissionformstringYes
PackagesformstringYes
LinesformstringYes
ProductRangeformstringYes
EngineformstringYes
IsAMGformboolNo
UpholsteryformstringYes
NSTformstringYes
BaumusterformstringYes
Bm7NSTformstringYes
Accelerationformdecimal?No
BootCapacityformint?No
TopSpeedformdecimal?No
DriveConceptformstringYes
CombustionPowerHpformdecimal?No
ElectricPowerKwformdecimal?No
ElectricPowerHpformdecimal?No
CombinedPowerKwformdecimal?No
CombinedPowerHPformdecimal?No
ElectricRangeformdecimal?No
ElectricConsumptionformdecimal?No
EmissionCombinedformstringYes
EmissionDirectiveformstringYes
EmissionExtraUrbanformstringYes
EmissionUrbanformstringYes
Emissionformdecimal?No
TestStandardformstringYes
EnergyEfficiencyClassformstringYes
WLTPCombinedformstringYes
WLTPLowformstringYes
WLTPMediumformstringYes
WLTPHighformstringYes
WLTPExtraHighformstringYes
WLTPEmissionCombinedformstringYes
ProductionDateformDateTime?No
PortArrivalDateformDateTime?No
CreationDateformDateTimeNo
LastUpdatedformDateTime?No
RetailPrice_ExVATformdecimalNo
RetailPrice_IncVATformdecimalNo
OTRformdecimalNo
ActualPriceformdecimalNo
UsageCodeformstringYes
SecuredformstringYes
AccountformstringYes
IsDisplayStockformstringYes
DisplayStockAgentformstringYes
IsSpecialistCarformstringYes
CesarIdShipToPartyformstringYes
IsSellableformstringYes
UnderOfferformstringYes
SecuredDateformstringNo
SecuredReasonformstringNo
SecuredByGasIdformstringNo

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

HTTP + CSV

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

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

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

{"totalVehicles":0}