Mercedes.Agency.Orchestration.API

<back to all web services

GetVehicleWithOptimalRequest

Vehicle
Requires Authentication
The following routes are available for this service:
POST/v1/VehicleWithOptimalGet Vehicle by Vin and a more optimal option if available
namespace Mercedes.Agency.API.Shared.Enums

open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type GetVehicleWithOptimalRequest() = 
        member val VehicleIdentifier:String = null with get,set
        member val IncludeAllocatedToBackOrder:Boolean = new Boolean() with get,set
        member val Gssn:String = null with get,set
        member val IsOneAdmin:Boolean = new Boolean() with get,set
        member val MotabilityPricingId:Nullable<Int32> = new Nullable<Int32>() with get,set

    [<AllowNullLiteral>]
    type Model() = 
        member val Id:Int32 = new Int32() with get,set
        member val Description:String = null with get,set
        member val DisplayName:String = null with get,set
        member val ImageUrlSmall:String = null with get,set
        member val ImageUrlMedium:String = null with get,set
        member val ImageUrlLarge:String = null with get,set
        member val Specialist:Boolean = new Boolean() with get,set
        member val Priority:Int32 = new Int32() with get,set
        member val ExcludeFromOnlineShowroomFilters:Nullable<Boolean> = new Nullable<Boolean>() with get,set

    [<AllowNullLiteral>]
    type BodyStyle() = 
        member val Id:Int32 = new Int32() with get,set
        member val Description:String = null with get,set
        member val Models:ResizeArray<Model> = null with get,set

    [<AllowNullLiteral>]
    type Brand() = 
        member val Id:Int32 = new Int32() with get,set
        member val Description:String = null with get,set
        member val DisplayName:String = null with get,set
        member val BodyStyles:ResizeArray<BodyStyle> = null with get,set

    [<AllowNullLiteral>]
    type Engine() = 
        member val Id:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val Badge:String = null with get,set

    [<AllowNullLiteral>]
    type Media() = 
        member val NoImage:Boolean = new Boolean() with get,set
        member val MainImageUrl:String = null with get,set

    type OfferPriceProductType =
        | LIST_PRICE = 0
        | NUMBER_PLATE_FEE = 1
        | DELIVERY_CHARGE = 2
        | FUEL_CHARGE = 3
        | MANUFACTURER_OFFER = 4
        | PERSONALISED_MONEYOFFER = 5
        | PERSONALISED_NONMONEYOFFER = 6
        | PERSONALISED_NONMONEYOFFER_NEG = 7
        | SERVICE = 8
        | SERVICE_NEG = 9
        | GOVERNMENT_GRANT = 10
        | OUTRIGHT_PURCHASE_DISCOUNT = 11
        | VIP_OFFER = 12
        | WALLBOX_OFFER = 13
        | WALLBOX_OFFER_NEG = 14
        | ROAD_FUND_LICENCE = 15
        | FIRST_REGISTRATION_FEE = 16
        | NOT_FOUND = 17
        | ACCESSORY_OFFER = 18
        | ACCESSORY_OFFER_NEG = 19
        | MOTABILITY_DISCOUNT = 20

    [<AllowNullLiteral>]
    type Price() = 
        member val Id:String = null with get,set
        member val Description:String = null with get,set
        member val Net:Decimal = new Decimal() with get,set
        member val VAT:Decimal = new Decimal() with get,set
        member val Gross:Decimal = new Decimal() with get,set
        member val Product:OfferPriceProductType = new OfferPriceProductType() with get,set

    [<AllowNullLiteral>]
    type RetailerOpeningTime() = 
        member val Day:String = null with get,set
        member val OpenFrom:String = null with get,set
        member val OpenTo:String = null with get,set
        member val Special:String = null with get,set

    [<AllowNullLiteral>]
    type RetailerOpeningTimes() = 
        member val New:ResizeArray<RetailerOpeningTime> = null with get,set
        member val Used:ResizeArray<RetailerOpeningTime> = null with get,set

    [<AllowNullLiteral>]
    type Retailer() = 
        member val Id:Int32 = new Int32() with get,set
        member val GssnId:String = null with get,set
        member val Description:String = null with get,set
        member val Street:String = null with get,set
        member val City:String = null with get,set
        member val Postcode:String = null with get,set
        member val GoogleMapPostcode:String = null with get,set
        member val Phone:String = null with get,set
        member val Fax:String = null with get,set
        member val Email:String = null with get,set
        member val Website:String = null with get,set
        member val RetailerGroupId:String = null with get,set
        member val RetailerGroupName:String = null with get,set
        member val IsOnline:Boolean = new Boolean() with get,set
        member val IsNewCarRetailer:Boolean = new Boolean() with get,set
        member val IsUsedCarRetailer:Boolean = new Boolean() with get,set
        member val IsCentralRetailer:Boolean = new Boolean() with get,set
        member val ChatEnabled:Boolean = new Boolean() with get,set
        member val TradeInEnabled:Boolean = new Boolean() with get,set
        member val smart:Boolean = new Boolean() with get,set
        member val DisplayPhoneNumberNew:String = null with get,set
        member val DisplayPhoneNumberUsed:String = null with get,set
        member val Latitude:Decimal = new Decimal() with get,set
        member val Longitude:Decimal = new Decimal() with get,set
        member val smartDescription:String = null with get,set
        member val smartWebsite:String = null with get,set
        member val smartPhone:String = null with get,set
        member val LegacyId:String = null with get,set
        member val Agent:Boolean = new Boolean() with get,set
        member val MarketAreaId:Int32 = new Int32() with get,set
        member val DigitalLoungeParentGssnId:String = null with get,set
        member val SendLeadsToDigitalLoungeParent:Boolean = new Boolean() with get,set
        member val OpeningTimes:RetailerOpeningTimes = null with get,set

    [<AllowNullLiteral>]
    type VehicleConsumption() = 
        member val Id:Int32 = new Int32() with get,set
        member val Lkm:Decimal = new Decimal() with get,set
        member val Mpg:Decimal = new Decimal() with get,set

    [<AllowNullLiteral>]
    type Equipment() = 
        member val Id:Int32 = new Int32() with get,set
        member val Code:String = null with get,set
        member val Description:String = null with get,set

    [<AllowNullLiteral>]
    type Equipmentv2() = 
        inherit Equipment()
        member val Importance:Int32 = new Int32() with get,set
        member val IsAdditional:Boolean = new Boolean() with get,set

    [<AllowNullLiteral>]
    type VehicleEquipmentCategory() = 
        member val Order:Int32 = new Int32() with get,set
        member val Code:String = null with get,set
        member val Description:String = null with get,set
        member val Equipment:ResizeArray<Equipmentv2> = null with get,set

    [<AllowNullLiteral>]
    type VehicleEmissionClass() = 
        member val Colour:String = null with get,set
        member val Rating:String = null with get,set

    [<AllowNullLiteral>]
    type VehicleAttribute() = 
        member val Description:String = null with get,set
        member val Value:String = null with get,set

    [<AllowNullLiteral>]
    type VehicleIntegratedServiceCareOption() = 
        member val OptionCode:String = null with get,set
        member val BM7NST:String = null with get,set
        member val FullModelYear:String = null with get,set
        member val IntegratedProductType:String = null with get,set
        member val CustomerDescription:String = null with get,set
        member val OneAgentProductType:String = null with get,set

    [<AllowNullLiteral>]
    type VehicleDetailDto() = 
        member val BodyStyle:String = null with get,set
        member val Vin:String = null with get,set
        member val Description:String = null with get,set
        member val Colour:String = null with get,set
        member val ColourCode:String = null with get,set
        member val ColourDescription:String = null with get,set
        member val ColourGroup:String = null with get,set
        member val Model:String = null with get,set
        member val CommissionNumber:String = null with get,set
        member val BrandId:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val Brand:Brand = null with get,set
        member val Engine:Engine = null with get,set
        member val EngineBadge:String = null with get,set
        member val Media:Media = null with get,set
        member val Line:String = null with get,set
        member val UpholsteryCode:String = null with get,set
        member val UpholsteryType:String = null with get,set
        member val Upholstery:String = null with get,set
        member val UpholsteryDescription:String = null with get,set
        member val AvailablePackages:ResizeArray<String> = null with get,set
        member val Packages:ResizeArray<String> = null with get,set
        member val P11D:Decimal = new Decimal() with get,set
        member val PortArrivalDate:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val Prices:ResizeArray<Price> = null with get,set
        member val TransmissionType:String = null with get,set
        member val FuelType:String = null with get,set
        member val VehicleClass:String = null with get,set
        member val ProductRange:String = null with get,set
        member val VehicleType:String = null with get,set
        member val Emission:Nullable<Decimal> = new Nullable<Decimal>() with get,set
        member val IsAvailableOnline:Boolean = new Boolean() with get,set
        member val UnderOffer:Boolean = new Boolean() with get,set
        member val IsExcluded:Boolean = new Boolean() with get,set
        member val IsSellable:Boolean = new Boolean() with get,set
        member val OnHold:Boolean = new Boolean() with get,set
        member val ElectricConsumption:Nullable<Decimal> = new Nullable<Decimal>() with get,set
        member val ElectricRange:Nullable<Decimal> = new Nullable<Decimal>() with get,set
        member val ImageUrl:String = null with get,set
        member val Baumuster:String = null with get,set
        member val Retailer:Retailer = null with get,set
        member val Bm7NST:String = null with get,set
        member val OTR:Decimal = new Decimal() with get,set
        member val ActualPrice:Decimal = new Decimal() with get,set
        member val IsDisplayStock:Boolean = new Boolean() with get,set
        member val DisplayRetailerId:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val DisplayRetailer:String = null with get,set
        member val DisplayRetailerGssnId:String = null with get,set
        member val DisplayRetailerMarketAreaId:String = null with get,set
        member val IsSmartDisplayRetailer:Boolean = new Boolean() with get,set
        member val IsSpecialistCar:Boolean = new Boolean() with get,set
        member val Age:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val Secured:Boolean = new Boolean() with get,set
        member val IsHOBackOrderAccountVehicle:Boolean = new Boolean() with get,set
        member val IsAllocatedToBackOrder:Boolean = new Boolean() with get,set
        member val UsageCode:String = null with get,set
        member val EmissionCombined:Nullable<Decimal> = new Nullable<Decimal>() with get,set
        member val NormalisedEmissionDirective:String = null with get,set
        member val HasMildHybridEquipmentCode:Boolean = new Boolean() with get,set
        member val RetailPriceExVat:Decimal = new Decimal() with get,set
        member val RetailPrice_IncVAT:Decimal = new Decimal() with get,set
        member val RetailPrice_ExVAT:Decimal = new Decimal() with get,set
        member val ModelId:Int32 = new Int32() with get,set
        member val VID:String = null with get,set
        member val ProductionDate:String = null with get,set
        member val FullModelYearCode:String = null with get,set
        member val ChassisNumber:String = null with get,set
        member val EligibleForIntegratedServiceCare:Boolean = new Boolean() with get,set
        member val AccountType:String = null with get,set
        member val ConsumptionCombined:VehicleConsumption = null with get,set
        member val ConsumptionExtraUrban:VehicleConsumption = null with get,set
        member val ConsumptionUrban:VehicleConsumption = null with get,set
        member val WltpFuelConsumptionCombined:VehicleConsumption = null with get,set
        member val WltpFuelConsumptionExtraHigh:VehicleConsumption = null with get,set
        member val WltpFuelConsumptionHigh:VehicleConsumption = null with get,set
        member val WltpFuelConsumptionLow:VehicleConsumption = null with get,set
        member val WltpFuelConsumptionMedium:VehicleConsumption = null with get,set
        member val Equipment:ResizeArray<Equipmentv2> = null with get,set
        member val EquipmentCategories:ResizeArray<VehicleEquipmentCategory> = null with get,set
        member val EnergyEfficiencyClass:VehicleEmissionClass = null with get,set
        member val VehicleData:ResizeArray<VehicleAttribute> = null with get,set
        member val IntegratedServiceCareOptions:ResizeArray<VehicleIntegratedServiceCareOption> = null with get,set
        member val IspVehicleCustomerDescriptions:ResizeArray<String> = null with get,set

    [<AllowNullLiteral>]
    type VehicleError() = 
        member val Field:String = null with get,set
        member val Message:String = null with get,set

    [<AllowNullLiteral>]
    type GetVehicleResponse() = 
        member val Vehicle:VehicleDetailDto = null with get,set
        member val Errors:ResizeArray<VehicleError> = null with get,set

    [<AllowNullLiteral>]
    type GetVehicleWithOptimalResponse() = 
        inherit GetVehicleResponse()
        member val OptimumVehicle:VehicleDetailDto = null with get,set

F# GetVehicleWithOptimalRequest DTOs

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

HTTP + XML

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

POST /v1/VehicleWithOptimal HTTP/1.1 
Host: prod-api-agency-orch-mb-dhc.rapp-customers.co.uk 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<GetVehicleWithOptimalRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.ServiceModel.Vehicles">
  <Gssn>String</Gssn>
  <IncludeAllocatedToBackOrder>false</IncludeAllocatedToBackOrder>
  <IsOneAdmin>false</IsOneAdmin>
  <MotabilityPricingId>0</MotabilityPricingId>
  <VehicleIdentifier>String</VehicleIdentifier>
</GetVehicleWithOptimalRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetVehicleWithOptimalResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.ServiceModel.Vehicles">
  <Errors xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mercedes.Agency.API.Shared.POCO">
    <d2p1:VehicleError>
      <d2p1:Field>String</d2p1:Field>
      <d2p1:Message>String</d2p1:Message>
    </d2p1:VehicleError>
  </Errors>
  <Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mercedes.Agency.API.Shared.POCO">
    <d2p1:AccountType>String</d2p1:AccountType>
    <d2p1:ActualPrice>0</d2p1:ActualPrice>
    <d2p1:Age>0</d2p1:Age>
    <d2p1:AvailablePackages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </d2p1:AvailablePackages>
    <d2p1:Baumuster>String</d2p1:Baumuster>
    <d2p1:Bm7NST>String</d2p1:Bm7NST>
    <d2p1:BodyStyle>String</d2p1:BodyStyle>
    <d2p1:Brand xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mercedes.OS.Vehicle.Shared.POCO.Filters.v2">
      <d3p1:BodyStyles>
        <d3p1:BodyStyle>
          <d3p1:Description>String</d3p1:Description>
          <d3p1:Id>0</d3p1:Id>
          <d3p1:Models>
            <d3p1:Model>
              <d3p1:Description>String</d3p1:Description>
              <d3p1:DisplayName>String</d3p1:DisplayName>
              <d3p1:ExcludeFromOnlineShowroomFilters>false</d3p1:ExcludeFromOnlineShowroomFilters>
              <d3p1:Id>0</d3p1:Id>
              <d3p1:ImageUrlLarge>String</d3p1:ImageUrlLarge>
              <d3p1:ImageUrlMedium>String</d3p1:ImageUrlMedium>
              <d3p1:ImageUrlSmall>String</d3p1:ImageUrlSmall>
              <d3p1:Priority>0</d3p1:Priority>
              <d3p1:Specialist>false</d3p1:Specialist>
            </d3p1:Model>
          </d3p1:Models>
        </d3p1:BodyStyle>
      </d3p1:BodyStyles>
      <d3p1:Description>String</d3p1:Description>
      <d3p1:DisplayName>String</d3p1:DisplayName>
      <d3p1:Id>0</d3p1:Id>
    </d2p1:Brand>
    <d2p1:BrandId>0</d2p1:BrandId>
    <d2p1:ChassisNumber>String</d2p1:ChassisNumber>
    <d2p1:Colour>String</d2p1:Colour>
    <d2p1:ColourCode>String</d2p1:ColourCode>
    <d2p1:ColourDescription>String</d2p1:ColourDescription>
    <d2p1:ColourGroup>String</d2p1:ColourGroup>
    <d2p1:CommissionNumber>String</d2p1:CommissionNumber>
    <d2p1:ConsumptionCombined>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Lkm>0</d2p1:Lkm>
      <d2p1:Mpg>0</d2p1:Mpg>
    </d2p1:ConsumptionCombined>
    <d2p1:ConsumptionExtraUrban>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Lkm>0</d2p1:Lkm>
      <d2p1:Mpg>0</d2p1:Mpg>
    </d2p1:ConsumptionExtraUrban>
    <d2p1:ConsumptionUrban>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Lkm>0</d2p1:Lkm>
      <d2p1:Mpg>0</d2p1:Mpg>
    </d2p1:ConsumptionUrban>
    <d2p1:Description>String</d2p1:Description>
    <d2p1:DisplayRetailer>String</d2p1:DisplayRetailer>
    <d2p1:DisplayRetailerGssnId>String</d2p1:DisplayRetailerGssnId>
    <d2p1:DisplayRetailerId>0</d2p1:DisplayRetailerId>
    <d2p1:DisplayRetailerMarketAreaId>String</d2p1:DisplayRetailerMarketAreaId>
    <d2p1:ElectricConsumption>0</d2p1:ElectricConsumption>
    <d2p1:ElectricRange>0</d2p1:ElectricRange>
    <d2p1:EligibleForIntegratedServiceCare>false</d2p1:EligibleForIntegratedServiceCare>
    <d2p1:Emission>0</d2p1:Emission>
    <d2p1:EmissionCombined>0</d2p1:EmissionCombined>
    <d2p1:EnergyEfficiencyClass>
      <d2p1:Colour>String</d2p1:Colour>
      <d2p1:Rating>String</d2p1:Rating>
    </d2p1:EnergyEfficiencyClass>
    <d2p1:Engine>
      <d2p1:Badge>String</d2p1:Badge>
      <d2p1:Id>0</d2p1:Id>
    </d2p1:Engine>
    <d2p1:Equipment xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mercedes.OS.Vehicle.Shared.POCO">
      <d3p1:Equipmentv2>
        <d3p1:Code>String</d3p1:Code>
        <d3p1:Description>String</d3p1:Description>
        <d3p1:Id>0</d3p1:Id>
        <d3p1:Importance>0</d3p1:Importance>
        <d3p1:IsAdditional>false</d3p1:IsAdditional>
      </d3p1:Equipmentv2>
    </d2p1:Equipment>
    <d2p1:EquipmentCategories>
      <d2p1:VehicleEquipmentCategory>
        <d2p1:Code>String</d2p1:Code>
        <d2p1:Description>String</d2p1:Description>
        <d2p1:Equipment xmlns:d5p1="http://schemas.datacontract.org/2004/07/Mercedes.OS.Vehicle.Shared.POCO">
          <d5p1:Equipmentv2>
            <d5p1:Code>String</d5p1:Code>
            <d5p1:Description>String</d5p1:Description>
            <d5p1:Id>0</d5p1:Id>
            <d5p1:Importance>0</d5p1:Importance>
            <d5p1:IsAdditional>false</d5p1:IsAdditional>
          </d5p1:Equipmentv2>
        </d2p1:Equipment>
        <d2p1:Order>0</d2p1:Order>
      </d2p1:VehicleEquipmentCategory>
    </d2p1:EquipmentCategories>
    <d2p1:FuelType>String</d2p1:FuelType>
    <d2p1:FullModelYearCode>String</d2p1:FullModelYearCode>
    <d2p1:HasMildHybridEquipmentCode>false</d2p1:HasMildHybridEquipmentCode>
    <d2p1:IntegratedServiceCareOptions>
      <d2p1:VehicleIntegratedServiceCareOption>
        <d2p1:BM7NST>String</d2p1:BM7NST>
        <d2p1:CustomerDescription>String</d2p1:CustomerDescription>
        <d2p1:FullModelYear>String</d2p1:FullModelYear>
        <d2p1:IntegratedProductType>String</d2p1:IntegratedProductType>
        <d2p1:OneAgentProductType>String</d2p1:OneAgentProductType>
        <d2p1:OptionCode>String</d2p1:OptionCode>
      </d2p1:VehicleIntegratedServiceCareOption>
    </d2p1:IntegratedServiceCareOptions>
    <d2p1:IsAllocatedToBackOrder>false</d2p1:IsAllocatedToBackOrder>
    <d2p1:IsAvailableOnline>false</d2p1:IsAvailableOnline>
    <d2p1:IsDisplayStock>false</d2p1:IsDisplayStock>
    <d2p1:IsExcluded>false</d2p1:IsExcluded>
    <d2p1:IsHOBackOrderAccountVehicle>false</d2p1:IsHOBackOrderAccountVehicle>
    <d2p1:IsSellable>false</d2p1:IsSellable>
    <d2p1:IsSmartDisplayRetailer>false</d2p1:IsSmartDisplayRetailer>
    <d2p1:IsSpecialistCar>false</d2p1:IsSpecialistCar>
    <d2p1:IspVehicleCustomerDescriptions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </d2p1:IspVehicleCustomerDescriptions>
    <d2p1:Line>String</d2p1:Line>
    <d2p1:Media>
      <d2p1:MainImageUrl>String</d2p1:MainImageUrl>
      <d2p1:NoImage>false</d2p1:NoImage>
    </d2p1:Media>
    <d2p1:Model>String</d2p1:Model>
    <d2p1:ModelId>0</d2p1:ModelId>
    <d2p1:NormalisedEmissionDirective>String</d2p1:NormalisedEmissionDirective>
    <d2p1:OTR>0</d2p1:OTR>
    <d2p1:OnHold>false</d2p1:OnHold>
    <d2p1:P11D>0</d2p1:P11D>
    <d2p1:Packages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </d2p1:Packages>
    <d2p1:PortArrivalDate>0001-01-01T00:00:00</d2p1:PortArrivalDate>
    <d2p1:Prices>
      <d2p1:Price>
        <d2p1:Description>String</d2p1:Description>
        <d2p1:Gross>0</d2p1:Gross>
        <d2p1:Id>String</d2p1:Id>
        <d2p1:Net>0</d2p1:Net>
        <d2p1:Product>LIST_PRICE</d2p1:Product>
        <d2p1:VAT>0</d2p1:VAT>
      </d2p1:Price>
    </d2p1:Prices>
    <d2p1:ProductRange>String</d2p1:ProductRange>
    <d2p1:ProductionDate>String</d2p1:ProductionDate>
    <d2p1:RetailPriceExVat>0</d2p1:RetailPriceExVat>
    <d2p1:RetailPrice_ExVAT>0</d2p1:RetailPrice_ExVAT>
    <d2p1:RetailPrice_IncVAT>0</d2p1:RetailPrice_IncVAT>
    <d2p1:Retailer>
      <d2p1:Agent>false</d2p1:Agent>
      <d2p1:ChatEnabled>false</d2p1:ChatEnabled>
      <d2p1:City>String</d2p1:City>
      <d2p1:Description>String</d2p1:Description>
      <d2p1:DigitalLoungeParentGssnId>String</d2p1:DigitalLoungeParentGssnId>
      <d2p1:DisplayPhoneNumberNew>String</d2p1:DisplayPhoneNumberNew>
      <d2p1:DisplayPhoneNumberUsed>String</d2p1:DisplayPhoneNumberUsed>
      <d2p1:Email>String</d2p1:Email>
      <d2p1:Fax>String</d2p1:Fax>
      <d2p1:GoogleMapPostcode>String</d2p1:GoogleMapPostcode>
      <d2p1:GssnId>String</d2p1:GssnId>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:IsCentralRetailer>false</d2p1:IsCentralRetailer>
      <d2p1:IsNewCarRetailer>false</d2p1:IsNewCarRetailer>
      <d2p1:IsOnline>false</d2p1:IsOnline>
      <d2p1:IsUsedCarRetailer>false</d2p1:IsUsedCarRetailer>
      <d2p1:Latitude>0</d2p1:Latitude>
      <d2p1:LegacyId>String</d2p1:LegacyId>
      <d2p1:Longitude>0</d2p1:Longitude>
      <d2p1:MarketAreaId>0</d2p1:MarketAreaId>
      <d2p1:OpeningTimes>
        <d2p1:New>
          <d2p1:RetailerOpeningTime>
            <d2p1:Day>String</d2p1:Day>
            <d2p1:OpenFrom>String</d2p1:OpenFrom>
            <d2p1:OpenTo>String</d2p1:OpenTo>
            <d2p1:Special>String</d2p1:Special>
          </d2p1:RetailerOpeningTime>
        </d2p1:New>
        <d2p1:Used>
          <d2p1:RetailerOpeningTime>
            <d2p1:Day>String</d2p1:Day>
            <d2p1:OpenFrom>String</d2p1:OpenFrom>
            <d2p1:OpenTo>String</d2p1:OpenTo>
            <d2p1:Special>String</d2p1:Special>
          </d2p1:RetailerOpeningTime>
        </d2p1:Used>
      </d2p1:OpeningTimes>
      <d2p1:Phone>String</d2p1:Phone>
      <d2p1:Postcode>String</d2p1:Postcode>
      <d2p1:RetailerGroupId>String</d2p1:RetailerGroupId>
      <d2p1:RetailerGroupName>String</d2p1:RetailerGroupName>
      <d2p1:SendLeadsToDigitalLoungeParent>false</d2p1:SendLeadsToDigitalLoungeParent>
      <d2p1:Street>String</d2p1:Street>
      <d2p1:TradeInEnabled>false</d2p1:TradeInEnabled>
      <d2p1:Website>String</d2p1:Website>
      <d2p1:smart>false</d2p1:smart>
      <d2p1:smartDescription>String</d2p1:smartDescription>
      <d2p1:smartPhone>String</d2p1:smartPhone>
      <d2p1:smartWebsite>String</d2p1:smartWebsite>
    </d2p1:Retailer>
    <d2p1:Secured>false</d2p1:Secured>
    <d2p1:TransmissionType>String</d2p1:TransmissionType>
    <d2p1:UnderOffer>false</d2p1:UnderOffer>
    <d2p1:UpholsteryCode>String</d2p1:UpholsteryCode>
    <d2p1:UpholsteryDescription>String</d2p1:UpholsteryDescription>
    <d2p1:UpholsteryType>String</d2p1:UpholsteryType>
    <d2p1:UsageCode>String</d2p1:UsageCode>
    <d2p1:VID>String</d2p1:VID>
    <d2p1:VehicleClass>String</d2p1:VehicleClass>
    <d2p1:VehicleData>
      <d2p1:VehicleAttribute>
        <d2p1:Description>String</d2p1:Description>
        <d2p1:Value>String</d2p1:Value>
      </d2p1:VehicleAttribute>
    </d2p1:VehicleData>
    <d2p1:VehicleType>String</d2p1:VehicleType>
    <d2p1:Vin>String</d2p1:Vin>
    <d2p1:WltpFuelConsumptionCombined>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Lkm>0</d2p1:Lkm>
      <d2p1:Mpg>0</d2p1:Mpg>
    </d2p1:WltpFuelConsumptionCombined>
    <d2p1:WltpFuelConsumptionExtraHigh>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Lkm>0</d2p1:Lkm>
      <d2p1:Mpg>0</d2p1:Mpg>
    </d2p1:WltpFuelConsumptionExtraHigh>
    <d2p1:WltpFuelConsumptionHigh>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Lkm>0</d2p1:Lkm>
      <d2p1:Mpg>0</d2p1:Mpg>
    </d2p1:WltpFuelConsumptionHigh>
    <d2p1:WltpFuelConsumptionLow>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Lkm>0</d2p1:Lkm>
      <d2p1:Mpg>0</d2p1:Mpg>
    </d2p1:WltpFuelConsumptionLow>
    <d2p1:WltpFuelConsumptionMedium>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Lkm>0</d2p1:Lkm>
      <d2p1:Mpg>0</d2p1:Mpg>
    </d2p1:WltpFuelConsumptionMedium>
  </Vehicle>
  <OptimumVehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mercedes.Agency.API.Shared.POCO">
    <d2p1:AccountType>String</d2p1:AccountType>
    <d2p1:ActualPrice>0</d2p1:ActualPrice>
    <d2p1:Age>0</d2p1:Age>
    <d2p1:AvailablePackages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </d2p1:AvailablePackages>
    <d2p1:Baumuster>String</d2p1:Baumuster>
    <d2p1:Bm7NST>String</d2p1:Bm7NST>
    <d2p1:BodyStyle>String</d2p1:BodyStyle>
    <d2p1:Brand xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mercedes.OS.Vehicle.Shared.POCO.Filters.v2">
      <d3p1:BodyStyles>
        <d3p1:BodyStyle>
          <d3p1:Description>String</d3p1:Description>
          <d3p1:Id>0</d3p1:Id>
          <d3p1:Models>
            <d3p1:Model>
              <d3p1:Description>String</d3p1:Description>
              <d3p1:DisplayName>String</d3p1:DisplayName>
              <d3p1:ExcludeFromOnlineShowroomFilters>false</d3p1:ExcludeFromOnlineShowroomFilters>
              <d3p1:Id>0</d3p1:Id>
              <d3p1:ImageUrlLarge>String</d3p1:ImageUrlLarge>
              <d3p1:ImageUrlMedium>String</d3p1:ImageUrlMedium>
              <d3p1:ImageUrlSmall>String</d3p1:ImageUrlSmall>
              <d3p1:Priority>0</d3p1:Priority>
              <d3p1:Specialist>false</d3p1:Specialist>
            </d3p1:Model>
          </d3p1:Models>
        </d3p1:BodyStyle>
      </d3p1:BodyStyles>
      <d3p1:Description>String</d3p1:Description>
      <d3p1:DisplayName>String</d3p1:DisplayName>
      <d3p1:Id>0</d3p1:Id>
    </d2p1:Brand>
    <d2p1:BrandId>0</d2p1:BrandId>
    <d2p1:ChassisNumber>String</d2p1:ChassisNumber>
    <d2p1:Colour>String</d2p1:Colour>
    <d2p1:ColourCode>String</d2p1:ColourCode>
    <d2p1:ColourDescription>String</d2p1:ColourDescription>
    <d2p1:ColourGroup>String</d2p1:ColourGroup>
    <d2p1:CommissionNumber>String</d2p1:CommissionNumber>
    <d2p1:ConsumptionCombined>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Lkm>0</d2p1:Lkm>
      <d2p1:Mpg>0</d2p1:Mpg>
    </d2p1:ConsumptionCombined>
    <d2p1:ConsumptionExtraUrban>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Lkm>0</d2p1:Lkm>
      <d2p1:Mpg>0</d2p1:Mpg>
    </d2p1:ConsumptionExtraUrban>
    <d2p1:ConsumptionUrban>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Lkm>0</d2p1:Lkm>
      <d2p1:Mpg>0</d2p1:Mpg>
    </d2p1:ConsumptionUrban>
    <d2p1:Description>String</d2p1:Description>
    <d2p1:DisplayRetailer>String</d2p1:DisplayRetailer>
    <d2p1:DisplayRetailerGssnId>String</d2p1:DisplayRetailerGssnId>
    <d2p1:DisplayRetailerId>0</d2p1:DisplayRetailerId>
    <d2p1:DisplayRetailerMarketAreaId>String</d2p1:DisplayRetailerMarketAreaId>
    <d2p1:ElectricConsumption>0</d2p1:ElectricConsumption>
    <d2p1:ElectricRange>0</d2p1:ElectricRange>
    <d2p1:EligibleForIntegratedServiceCare>false</d2p1:EligibleForIntegratedServiceCare>
    <d2p1:Emission>0</d2p1:Emission>
    <d2p1:EmissionCombined>0</d2p1:EmissionCombined>
    <d2p1:EnergyEfficiencyClass>
      <d2p1:Colour>String</d2p1:Colour>
      <d2p1:Rating>String</d2p1:Rating>
    </d2p1:EnergyEfficiencyClass>
    <d2p1:Engine>
      <d2p1:Badge>String</d2p1:Badge>
      <d2p1:Id>0</d2p1:Id>
    </d2p1:Engine>
    <d2p1:Equipment xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mercedes.OS.Vehicle.Shared.POCO">
      <d3p1:Equipmentv2>
        <d3p1:Code>String</d3p1:Code>
        <d3p1:Description>String</d3p1:Description>
        <d3p1:Id>0</d3p1:Id>
        <d3p1:Importance>0</d3p1:Importance>
        <d3p1:IsAdditional>false</d3p1:IsAdditional>
      </d3p1:Equipmentv2>
    </d2p1:Equipment>
    <d2p1:EquipmentCategories>
      <d2p1:VehicleEquipmentCategory>
        <d2p1:Code>String</d2p1:Code>
        <d2p1:Description>String</d2p1:Description>
        <d2p1:Equipment xmlns:d5p1="http://schemas.datacontract.org/2004/07/Mercedes.OS.Vehicle.Shared.POCO">
          <d5p1:Equipmentv2>
            <d5p1:Code>String</d5p1:Code>
            <d5p1:Description>String</d5p1:Description>
            <d5p1:Id>0</d5p1:Id>
            <d5p1:Importance>0</d5p1:Importance>
            <d5p1:IsAdditional>false</d5p1:IsAdditional>
          </d5p1:Equipmentv2>
        </d2p1:Equipment>
        <d2p1:Order>0</d2p1:Order>
      </d2p1:VehicleEquipmentCategory>
    </d2p1:EquipmentCategories>
    <d2p1:FuelType>String</d2p1:FuelType>
    <d2p1:FullModelYearCode>String</d2p1:FullModelYearCode>
    <d2p1:HasMildHybridEquipmentCode>false</d2p1:HasMildHybridEquipmentCode>
    <d2p1:IntegratedServiceCareOptions>
      <d2p1:VehicleIntegratedServiceCareOption>
        <d2p1:BM7NST>String</d2p1:BM7NST>
        <d2p1:CustomerDescription>String</d2p1:CustomerDescription>
        <d2p1:FullModelYear>String</d2p1:FullModelYear>
        <d2p1:IntegratedProductType>String</d2p1:IntegratedProductType>
        <d2p1:OneAgentProductType>String</d2p1:OneAgentProductType>
        <d2p1:OptionCode>String</d2p1:OptionCode>
      </d2p1:VehicleIntegratedServiceCareOption>
    </d2p1:IntegratedServiceCareOptions>
    <d2p1:IsAllocatedToBackOrder>false</d2p1:IsAllocatedToBackOrder>
    <d2p1:IsAvailableOnline>false</d2p1:IsAvailableOnline>
    <d2p1:IsDisplayStock>false</d2p1:IsDisplayStock>
    <d2p1:IsExcluded>false</d2p1:IsExcluded>
    <d2p1:IsHOBackOrderAccountVehicle>false</d2p1:IsHOBackOrderAccountVehicle>
    <d2p1:IsSellable>false</d2p1:IsSellable>
    <d2p1:IsSmartDisplayRetailer>false</d2p1:IsSmartDisplayRetailer>
    <d2p1:IsSpecialistCar>false</d2p1:IsSpecialistCar>
    <d2p1:IspVehicleCustomerDescriptions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </d2p1:IspVehicleCustomerDescriptions>
    <d2p1:Line>String</d2p1:Line>
    <d2p1:Media>
      <d2p1:MainImageUrl>String</d2p1:MainImageUrl>
      <d2p1:NoImage>false</d2p1:NoImage>
    </d2p1:Media>
    <d2p1:Model>String</d2p1:Model>
    <d2p1:ModelId>0</d2p1:ModelId>
    <d2p1:NormalisedEmissionDirective>String</d2p1:NormalisedEmissionDirective>
    <d2p1:OTR>0</d2p1:OTR>
    <d2p1:OnHold>false</d2p1:OnHold>
    <d2p1:P11D>0</d2p1:P11D>
    <d2p1:Packages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </d2p1:Packages>
    <d2p1:PortArrivalDate>0001-01-01T00:00:00</d2p1:PortArrivalDate>
    <d2p1:Prices>
      <d2p1:Price>
        <d2p1:Description>String</d2p1:Description>
        <d2p1:Gross>0</d2p1:Gross>
        <d2p1:Id>String</d2p1:Id>
        <d2p1:Net>0</d2p1:Net>
        <d2p1:Product>LIST_PRICE</d2p1:Product>
        <d2p1:VAT>0</d2p1:VAT>
      </d2p1:Price>
    </d2p1:Prices>
    <d2p1:ProductRange>String</d2p1:ProductRange>
    <d2p1:ProductionDate>String</d2p1:ProductionDate>
    <d2p1:RetailPriceExVat>0</d2p1:RetailPriceExVat>
    <d2p1:RetailPrice_ExVAT>0</d2p1:RetailPrice_ExVAT>
    <d2p1:RetailPrice_IncVAT>0</d2p1:RetailPrice_IncVAT>
    <d2p1:Retailer>
      <d2p1:Agent>false</d2p1:Agent>
      <d2p1:ChatEnabled>false</d2p1:ChatEnabled>
      <d2p1:City>String</d2p1:City>
      <d2p1:Description>String</d2p1:Description>
      <d2p1:DigitalLoungeParentGssnId>String</d2p1:DigitalLoungeParentGssnId>
      <d2p1:DisplayPhoneNumberNew>String</d2p1:DisplayPhoneNumberNew>
      <d2p1:DisplayPhoneNumberUsed>String</d2p1:DisplayPhoneNumberUsed>
      <d2p1:Email>String</d2p1:Email>
      <d2p1:Fax>String</d2p1:Fax>
      <d2p1:GoogleMapPostcode>String</d2p1:GoogleMapPostcode>
      <d2p1:GssnId>String</d2p1:GssnId>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:IsCentralRetailer>false</d2p1:IsCentralRetailer>
      <d2p1:IsNewCarRetailer>false</d2p1:IsNewCarRetailer>
      <d2p1:IsOnline>false</d2p1:IsOnline>
      <d2p1:IsUsedCarRetailer>false</d2p1:IsUsedCarRetailer>
      <d2p1:Latitude>0</d2p1:Latitude>
      <d2p1:LegacyId>String</d2p1:LegacyId>
      <d2p1:Longitude>0</d2p1:Longitude>
      <d2p1:MarketAreaId>0</d2p1:MarketAreaId>
      <d2p1:OpeningTimes>
        <d2p1:New>
          <d2p1:RetailerOpeningTime>
            <d2p1:Day>String</d2p1:Day>
            <d2p1:OpenFrom>String</d2p1:OpenFrom>
            <d2p1:OpenTo>String</d2p1:OpenTo>
            <d2p1:Special>String</d2p1:Special>
          </d2p1:RetailerOpeningTime>
        </d2p1:New>
        <d2p1:Used>
          <d2p1:RetailerOpeningTime>
            <d2p1:Day>String</d2p1:Day>
            <d2p1:OpenFrom>String</d2p1:OpenFrom>
            <d2p1:OpenTo>String</d2p1:OpenTo>
            <d2p1:Special>String</d2p1:Special>
          </d2p1:RetailerOpeningTime>
        </d2p1:Used>
      </d2p1:OpeningTimes>
      <d2p1:Phone>String</d2p1:Phone>
      <d2p1:Postcode>String</d2p1:Postcode>
      <d2p1:RetailerGroupId>String</d2p1:RetailerGroupId>
      <d2p1:RetailerGroupName>String</d2p1:RetailerGroupName>
      <d2p1:SendLeadsToDigitalLoungeParent>false</d2p1:SendLeadsToDigitalLoungeParent>
      <d2p1:Street>String</d2p1:Street>
      <d2p1:TradeInEnabled>false</d2p1:TradeInEnabled>
      <d2p1:Website>String</d2p1:Website>
      <d2p1:smart>false</d2p1:smart>
      <d2p1:smartDescription>String</d2p1:smartDescription>
      <d2p1:smartPhone>String</d2p1:smartPhone>
      <d2p1:smartWebsite>String</d2p1:smartWebsite>
    </d2p1:Retailer>
    <d2p1:Secured>false</d2p1:Secured>
    <d2p1:TransmissionType>String</d2p1:TransmissionType>
    <d2p1:UnderOffer>false</d2p1:UnderOffer>
    <d2p1:UpholsteryCode>String</d2p1:UpholsteryCode>
    <d2p1:UpholsteryDescription>String</d2p1:UpholsteryDescription>
    <d2p1:UpholsteryType>String</d2p1:UpholsteryType>
    <d2p1:UsageCode>String</d2p1:UsageCode>
    <d2p1:VID>String</d2p1:VID>
    <d2p1:VehicleClass>String</d2p1:VehicleClass>
    <d2p1:VehicleData>
      <d2p1:VehicleAttribute>
        <d2p1:Description>String</d2p1:Description>
        <d2p1:Value>String</d2p1:Value>
      </d2p1:VehicleAttribute>
    </d2p1:VehicleData>
    <d2p1:VehicleType>String</d2p1:VehicleType>
    <d2p1:Vin>String</d2p1:Vin>
    <d2p1:WltpFuelConsumptionCombined>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Lkm>0</d2p1:Lkm>
      <d2p1:Mpg>0</d2p1:Mpg>
    </d2p1:WltpFuelConsumptionCombined>
    <d2p1:WltpFuelConsumptionExtraHigh>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Lkm>0</d2p1:Lkm>
      <d2p1:Mpg>0</d2p1:Mpg>
    </d2p1:WltpFuelConsumptionExtraHigh>
    <d2p1:WltpFuelConsumptionHigh>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Lkm>0</d2p1:Lkm>
      <d2p1:Mpg>0</d2p1:Mpg>
    </d2p1:WltpFuelConsumptionHigh>
    <d2p1:WltpFuelConsumptionLow>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Lkm>0</d2p1:Lkm>
      <d2p1:Mpg>0</d2p1:Mpg>
    </d2p1:WltpFuelConsumptionLow>
    <d2p1:WltpFuelConsumptionMedium>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Lkm>0</d2p1:Lkm>
      <d2p1:Mpg>0</d2p1:Mpg>
    </d2p1:WltpFuelConsumptionMedium>
  </OptimumVehicle>
</GetVehicleWithOptimalResponse>