Mercedes.Agency.Orchestration.API

<back to all web services

CarConfiguratorStockRequest

CarConfigurator
Requires Authentication
The following routes are available for this service:
POST/v1/CarConfiguratorStockValidate and save a car configurator code for a vehicle searchThis endpoint calls Agency API to validate and save a car configurator code. The code is validated and saved in the database and returns a response from a third party CCS which provides car configuration details. These get saved to open search and used to perform a vehicle search
CarConfiguratorStockRequest Parameters:
NameParameterData TypeRequiredDescription
ConfiguratorCodebodystringYesThe configurator code to search on
IsSellablebodybool?NoWhether to return sellable vehicles
ExactMatchbodyboolNoWhether to only get exact matches
GSSNbodystringNoWhether to restrict vehicles response to a GSSN
CarConfiguratorStockResponse Parameters:
NameParameterData TypeRequiredDescription
TotalVehiclesformintNo
CarConfiguratorResponseformCarConfiguratorResponseYes
ExactMatchesformCarConfiguratorStockMatchesYes
CloseMatchesformCarConfiguratorStockMatchesYes
CarConfiguratorResponse Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
KeyInformationformKeyInformationNo
OrderingOptionsformOrderingOptionsNo
ResponseStatusformResponseStatusYes
ConfiguratorCodeformstringNo
KeyInformation Parameters:
NameParameterData TypeRequiredDescription
BM7NSTformstringNo
ConfigurationDateformstringNo
ModelYearformstringNo
HalfYearformstringNo
OrderingOptions Parameters:
NameParameterData TypeRequiredDescription
InteriorformList<string>No
ExteriorformList<string>No
OptionsformList<string>No
WheelOptionsformList<EquipmentCache>Yes
TrimOptionsformList<EquipmentCache>Yes
OptionCodesformList<EquipmentCache>Yes
EquipmentCache Parameters:
NameParameterData TypeRequiredDescription
CodeformstringYes
DescriptionformstringYes
StandardFlagformstringYes
PriceformdecimalNo
CategoryformstringYes
ImportanceformstringYes
CarConfiguratorStockMatches Parameters:
NameParameterData TypeRequiredDescription
SellableMatchesformList<CarConfiguratorStockMatch>Yes
NonSellableMatchesformList<CarConfiguratorStockMatch>Yes
CarConfiguratorStockMatch Parameters:
NameParameterData TypeRequiredDescription
VehicleformCarConfiguratorVehicleYes
IsSellableformboolNo
VehicleWheelsformstringNo
VehicleTrimformstringNo
VehicleAdditionalOptionCodesformList<string>Yes
FullModelYearDifferencesformList<string>Yes
PaintDifferencesformList<string>Yes
UpholsteryDifferencesformList<string>Yes
WheelDifferencesformList<string>Yes
TrimDifferencesformList<string>Yes
EquipmentDifferencesformList<string>Yes
DifferencesformList<string>Yes
ExactMatchformboolNo
CarConfiguratorVehicle Parameters:
NameParameterData TypeRequiredDescription
ModelYearCodeformstringNo
HalfModelYearCodeformstringNo
ActiveOffersformList<int>Yes
EligibleForMotabilityformboolNo
NearestPortformbool?No
BackOrderVehicleDetailsWithPackages Parameters:
NameParameterData TypeRequiredDescription
PackagesformICollection<Package>Yes
PackageNamesformstringYes
BackOrderVehicleDetails Parameters:
NameParameterData TypeRequiredDescription
VinformstringNo
CommissionNumberformstringNo
DescriptionformstringNo
ShortDescriptionformstringNo
ModelIdformintNo
ModelformstringNo
FullModelYearCodeformstringNo
BrandIdformint?No
BrandformBackOrderVehicleDetailsBrandNo
RetailerIdformintNo
ImageUrlformstringNo
ColourformstringNo
ColourCodeformstringNo
FuelTypeformstringNo
FuelTypeIdformintNo
TransmissionformstringNo
TransmissionTypeformstringNo
EngineformEngineNo
EngineBadgeformstringNo
PackageformstringNo
LineformstringNo
UpholsteryformstringNo
UpholsteryCodeformstringNo
UsageCodeformstringNo
AccountformstringNo
AccountTypeformstringNo
NSTformstringNo
BaumusterformstringNo
ElectricRangeformdecimal?No
ElectricConsumptionformdecimal?No
ActualPriceformdecimal?No
OTRPriceformdecimalNo
RetailPriceExVatformdecimalNo
P11DformdecimalNo
VehicleTypeformstringNo
UpholsteryDescriptionformstringNo
UpholsteryTypeformstringNo
BodyStyleformstringNo
BodyStyleStyleCodeformstringNo
BodyStyleStyleCodeElectricformstringNo
BodyStyleStyleCodeHybridformstringNo
AvailablePackagesformList<string>No
Mapped_Lineformint?No
SecuredformboolNo
Bm7NSTformstringNo
IsAvailableOnlineformboolNo
IsSpecialistCarformboolNo
IsSellableformboolNo
UnderOfferformboolNo
VehicleAuditDetailsformList<VehicleAuditDetails>No
RetailerformRetailerNo
MediaformMediaNo
Emissionformdecimal?No
ColourGroupformstringNo
VehicleClassformstringNo
ProductRangeformstringNo
IsHOBackOrderAccountVehicleformboolNo
IsAllocatedToBackOrderformboolNo
InBackOrderAccountformboolNo
DeliveryChargeformdecimalNo
DeliveryChargeNetformdecimal?No
DeliveryChargeVATformdecimal?No
PlatesformdecimalNo
PlatesNetformdecimal?No
PlatesVATformdecimal?No
FuelChargeformdecimalNo
FuelChargeNetformdecimal?No
FuelChargeVATformdecimal?No
RetailPrice_ExVATformdecimalNo
RetailPrice_IncVATformdecimalNo
VED_Year1formdecimalNo
VED_Year2formdecimalNo
FirstRegFeeformdecimalNo
OTR_ValueformdecimalNo
OTRformdecimalNo
PricesformList<Price>No
ProductionDateformstringNo
PortArrivalDateformDateTime?No
LocationformstringNo
IsDisplayStockformboolNo
DisplayRetailerIdformint?No
DisplayRetailerformstringNo
DisplayRetailerGssnIdformstringNo
DisplayRetailerMarketAreaIdformint?No
IsSmartDisplayRetailerformbool?No
ColourDescriptionformstringNo
CreationformDateTime?No
ModifiedformDateTime?No
VATQualifyingNumberformint?No
VATQualifyingformboolNo
CurrentRetailerOfferPriceformdecimalNo
GssnIdformstringNo
NoImageformboolNo
RegistrationNumberformstringNo
RegistrationDateformDateTime?No
Mileageformint?No
TradeInDateformDateTime?No
VIDformstringNo
EmissionCombinedformstringNo
EmissionDirectiveformstringNo
NormalisedEmissionDirectiveformstringNo
HasMildHybridEquipmentCodeformboolNo
Accelerationformdecimal?No
ChassisNumberformstringNo
NumberOfDoorsformstringNo
NumberOfSeatsformstringNo
SpecialInfoformboolNo
EligibleForIntegratedServiceCareformboolNo
ConsumptionCombinedformConsumptionNo
ConsumptionExtraUrbanformConsumptionNo
ConsumptionUrbanformConsumptionNo
WltpFuelConsumptionCombinedformConsumptionNo
WltpFuelConsumptionExtraHighformConsumptionNo
WltpFuelConsumptionHighformConsumptionNo
WltpFuelConsumptionLowformConsumptionNo
WltpFuelConsumptionMediumformConsumptionNo
EnergyEfficiencyClassformEmissionClassNo
EquipmentformList<Equipmentv2>No
EquipmentAdditionalformList<Equipment>No
EquipmentCategoriesformList<EquipmentCategoryv2>No
VehicleDataformList<VehicleAttribute>No
IntegratedServiceCareOptionsformList<IntegratedServiceCareOptions>No
IspVehicleCustomerDescriptionsformList<string>No
MarketingCodeformstringNo
EligibleForMaTransferformboolNo
ConfirmedProductionDateformstringNo
ForecastedArrivalDateformstringNo
BackOrderVehicleDetailsBrand Parameters:
NameParameterData TypeRequiredDescription
DescriptionformstringNo
Engine Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
BadgeformstringNo
CubicCapacityformintNo
CyclindersformintNo
HorsePowerformstringNo
KwformstringNo
SelectedformboolNo
VehicleAuditDetails Parameters:
NameParameterData TypeRequiredDescription
UserIdformstringNo
StatusformboolNo
NotesformstringNo
CreationDateformstringNo
Retailer Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
GssnIdformstringNo
DescriptionformstringNo
StreetformstringNo
CityformstringNo
DistrictformstringNo
PostcodeformstringNo
GoogleMapPostcodeformstringNo
PhoneformstringNo
FaxformstringNo
EmailformstringNo
WebsiteformstringNo
LatitudeformdoubleNo
LongitudeformdoubleNo
RetailerGroup_Idformint?No
RetailerGroupIdformstringNo
RetailerGroupNameformstringNo
DistanceformdoubleNo
PaymentServiceGuidformstringNo
IsOnlineformbool?No
IsNewCarRetailerformbool?No
IsUsedCarRetailerformbool?No
IsCentralRetailerformboolNo
ChatEnabledformboolNo
TradeInEnabledformboolNo
DisplayPhoneNumberNewformstringNo
DisplayPhoneNumberUsedformstringNo
ServicesformRetailerServicesNo
smartformboolNo
smartDescriptionformstringNo
smartWebsiteformstringNo
smartEmailformstringNo
smartPhoneformstringNo
AdditionalInformationformstringNo
LegacyIdformstringNo
DriveTimeformdecimalNo
AgentformboolNo
Portformint?No
PortNameformstringNo
MarketAreaIdformint?No
MarketAreaNameformstringNo
MaintenanceDateformstringNo
MaintenanceSourceformstringNo
STPAccountNumbersformstringNo
CampaignExcludedformbool?No
DigitalLoungeParentGssnIdformstringNo
SendLeadsToDigitalLoungeParentformboolNo
IsExcludedFromImportformboolNo
OpeningTimesformRetailerOpeningTimesNo
RetailerServices Parameters:
NameParameterData TypeRequiredDescription
NewformList<RetailerService>No
UsedformList<RetailerService>No
RetailerService Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
DescriptionformstringNo
PriorityformboolNo
RetailerOpeningTimes Parameters:
NameParameterData TypeRequiredDescription
NewformList<RetailerOpeningTime>Yes
UsedformList<RetailerOpeningTime>Yes
RetailerOpeningTime Parameters:
NameParameterData TypeRequiredDescription
DayformstringYes
OpenFromformstringYes
OpenToformstringYes
SpecialformstringYes
Media Parameters:
NameParameterData TypeRequiredDescription
ImageCountformintNo
MainImageUrlformstringNo
MainImageUrlMobileformstringNo
NoImageformboolNo
ThreeSixtyDegreeImageUrlsformstring[]No
ThreeSixtyDegreeMobileImageUrlsformstring[]No
VehicleImageUrlsformstring[]No
VehicleMobileImageUrlsformstring[]No
Price Parameters:
NameParameterData TypeRequiredDescription
IdformstringYes
DescriptionformstringYes
NetformdecimalNo
VATformdecimalNo
GrossformdecimalNo
ProductformOfferPriceProductTypeNo
OfferPriceProductType Enum:
LIST_PRICE
NUMBER_PLATE_FEE
DELIVERY_CHARGE
FUEL_CHARGE
MANUFACTURER_OFFER
PERSONALISED_MONEYOFFER
PERSONALISED_NONMONEYOFFER
PERSONALISED_NONMONEYOFFER_NEG
SERVICE
SERVICE_NEG
GOVERNMENT_GRANT
OUTRIGHT_PURCHASE_DISCOUNT
VIP_OFFER
WALLBOX_OFFER
WALLBOX_OFFER_NEG
ROAD_FUND_LICENCE
FIRST_REGISTRATION_FEE
NOT_FOUND
ACCESSORY_OFFER
ACCESSORY_OFFER_NEG
MOTABILITY_DISCOUNT
Consumption Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
LkmformdecimalNo
MpgformdecimalNo
EmissionClass Parameters:
NameParameterData TypeRequiredDescription
ColourformstringNo
RatingformstringNo
Equipmentv2 Parameters:
NameParameterData TypeRequiredDescription
ImportanceformintNo
IsAdditionalformboolNo
Equipment Parameters:
NameParameterData TypeRequiredDescription
Idformint?No
CodeformstringNo
DescriptionformstringNo
EquipmentCategoryv2 Parameters:
NameParameterData TypeRequiredDescription
OrderformintNo
CodeformstringNo
DescriptionformstringNo
EquipmentformList<Equipmentv2>No
VehicleAttribute Parameters:
NameParameterData TypeRequiredDescription
DescriptionformstringNo
ValueformstringNo
IntegratedServiceCareOptions Parameters:
NameParameterData TypeRequiredDescription
OptionCodeformstringNo
BM7NSTformstringNo
FullModelYearformstringNo
IntegratedProductTypeformstringNo
CustomerDescriptionformstringNo
OneAgentProductTypeformstringNo
Package Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
DescriptionformstringNo

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/CarConfiguratorStock HTTP/1.1 
Host: prod-api-agency-orch-mb-dhc.rapp-customers.co.uk 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	ConfiguratorCode: String,
	IsSellable: False,
	ExactMatch: False,
	GSSN: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	TotalVehicles: 4,
	CarConfiguratorResponse: 
	{
		Name: String,
		KeyInformation: 
		{
			BM7NST: String,
			ConfigurationDate: String,
			ModelYear: String,
			HalfYear: String
		},
		OrderingOptions: 
		{
			Interior: 
			[
				String
			],
			Exterior: 
			[
				String
			],
			Options: 
			[
				String
			],
			WheelOptions: 
			[
				{
					Code: String,
					Description: String,
					StandardFlag: String,
					Price: 0,
					Category: String,
					Importance: String
				}
			],
			TrimOptions: 
			[
				{
					Code: String,
					Description: String,
					StandardFlag: String,
					Price: 0,
					Category: String,
					Importance: String
				}
			],
			OptionCodes: 
			[
				{
					Code: String,
					Description: String,
					StandardFlag: String,
					Price: 0,
					Category: String,
					Importance: String
				}
			]
		},
		ResponseStatus: 
		{
			ErrorCode: String,
			Message: String,
			StackTrace: String,
			Errors: 
			[
				{
					ErrorCode: String,
					FieldName: String,
					Message: String,
					Meta: 
					{
						String: String
					}
				}
			],
			Meta: 
			{
				String: String
			}
		},
		ConfiguratorCode: String
	},
	ExactMatches: 
	{
		SellableMatches: 
		[
			{
				
			}
		],
		NonSellableMatches: 
		[
			{
				
			}
		]
	},
	CloseMatches: 
	{
		SellableMatches: 
		[
			{
				
			}
		],
		NonSellableMatches: 
		[
			{
				
			}
		]
	}
}