| GET | /v1/Vehicle/Reject/{vehicleIdentifier} | Get vehicle details and rejections by VIN or Commission Number | Calls Vehicle Data API. Returns vehicle details from the DB if found, otherwise from the Rejects table. |
|---|
# frozen_string_literal: true
# encoding: utf-8
require 'json'
require 'servicestack'
class VehicleDataBase
include ServiceStack::DTO
# @return [String]
attr_accessor :vin
# @return [String]
attr_accessor :description
# @return [String]
attr_accessor :model
# @return [String]
attr_accessor :otr
# @return [String]
attr_accessor :retail_price_ex_v_a_t
# @return [String]
attr_accessor :actual_price
# @return [String]
attr_accessor :p11_d
# @return [String]
attr_accessor :fuel_type
# @return [String]
attr_accessor :transmission
# @return [String]
attr_accessor :transmission_type
# @return [String]
attr_accessor :colour
# @return [String]
attr_accessor :colour_code
# @return [String]
attr_accessor :colour_description
# @return [String]
attr_accessor :commission_number
# @return [TrueClass]
attr_accessor :offer_available
# @return [Integer]
attr_accessor :campaign_discount_offer_total
# @return [Integer]
attr_accessor :campaign_discount_offer_total_current
# @return [Integer]
attr_accessor :campaign_discount_offer_total_pending
# @return [Integer]
attr_accessor :campaign_service_offer_total
# @return [Integer]
attr_accessor :campaign_service_offer_total_current
# @return [Integer]
attr_accessor :campaign_service_offer_total_pending
# @return [Integer]
attr_accessor :campaign_custom_offer_total
# @return [Integer]
attr_accessor :campaign_personalised_offer_total_current
# @return [Integer]
attr_accessor :campaign_personalised_offer_total_pending
# @return [Integer]
attr_accessor :campaign_personalised_offer_total
# @return [Integer]
attr_accessor :campaign_custom_offer_total_current
# @return [Integer]
attr_accessor :campaign_custom_offer_total_pending
# @return [Integer]
attr_accessor :campaign_other_offer_total
# @return [Integer]
attr_accessor :campaign_other_offer_total_current
# @return [Integer]
attr_accessor :campaign_other_offer_total_pending
# @return [Integer]
attr_accessor :retailer_discount_offer_total
# @return [Integer]
attr_accessor :retailer_discount_offer_total_current
# @return [Integer]
attr_accessor :retailer_discount_offer_total_pending
# @return [Integer]
attr_accessor :retailer_service_offer_total
# @return [Integer]
attr_accessor :retailer_service_offer_total_current
# @return [Integer]
attr_accessor :retailer_service_offer_total_pending
# @return [Integer]
attr_accessor :retailer_custom_offer_total
# @return [Integer]
attr_accessor :retailer_custom_offer_total_current
# @return [Integer]
attr_accessor :retailer_custom_offer_total_pending
# @return [Integer]
attr_accessor :retailer_warranty_offer_total
# @return [Integer]
attr_accessor :retailer_warranty_offer_total_current
# @return [Integer]
attr_accessor :retailer_warranty_offer_total_pending
# @return [Integer]
attr_accessor :retailer_offer_total
# @return [Integer]
attr_accessor :retailer_offer_total_current
# @return [Integer]
attr_accessor :retailer_offer_total_pending
# @return [Integer]
attr_accessor :campaign_offer_total
# @return [Integer]
attr_accessor :campaign_offer_total_current
# @return [Integer]
attr_accessor :campaign_offer_total_pending
# @return [Integer]
attr_accessor :campaign_and_offer_total
# @return [Integer]
attr_accessor :campaign_and_offer_total_current
# @return [Integer]
attr_accessor :campaign_and_offer_total_pending
# @return [Integer]
attr_accessor :offer_total
# @return [Integer]
attr_accessor :offer_total_current
# @return [Integer]
attr_accessor :offer_total_pending
# @return [String]
attr_accessor :creation
# @return [String]
attr_accessor :modified
# @return [Integer]
attr_accessor :electric_range
# @return [Integer]
attr_accessor :electric_consumption
# @return [DateTime]
attr_accessor :port_arrival_date
# @return [Integer]
attr_accessor :days_since_port_arrival
# @return [BigDecimal]
attr_accessor :retail_price_inc_v_a_t
# @return [String]
attr_accessor :body_style
# @return [String]
attr_accessor :upholstery
# @return [String]
attr_accessor :upholstery_code
# @return [String]
attr_accessor :upholstery_type
# @return [List]
attr_accessor :package_names
# @return [String]
attr_accessor :line
# @return [String]
attr_accessor :mapped_line
# @return [BigDecimal]
attr_accessor :current_retailer_offer_price
# @return [String]
attr_accessor :retail_price
# @return [TrueClass]
attr_accessor :vat_qualifying
# @return [Integer]
attr_accessor :retailer_id
# @return [String]
attr_accessor :gssn_id
# @return [TrueClass]
attr_accessor :no_image
# @return [String]
attr_accessor :image_url
# @return [TrueClass]
attr_accessor :is_available_online
# @return [TrueClass]
attr_accessor :is_back_ordered
# @return [String]
attr_accessor :creation_date
# @return [String]
attr_accessor :maintenance_date
# @return [String]
attr_accessor :registration_number
# @return [DateTime]
attr_accessor :registration_date
# @return [Integer]
attr_accessor :mileage
# @return [DateTime]
attr_accessor :trade_in_date
# @return [String]
attr_accessor :source
# @return [String]
attr_accessor :vehicle_type
# @return [String]
attr_accessor :offer_amount
# @return [String]
attr_accessor :offer_expiry
# @return [Array]
attr_accessor :active_offers
# @return [Integer]
attr_accessor :campaign_messages_total
# @return [TrueClass]
attr_accessor :under_offer
# @return [TrueClass]
attr_accessor :is_display_stock
# @return [String]
attr_accessor :display_retailer
# @return [String]
attr_accessor :display_retailer_gssn_id
# @return [String]
attr_accessor :location
# @return [String]
attr_accessor :account
# @return [String]
attr_accessor :account_type
# @return [String]
attr_accessor :usage_code
# @return [String]
attr_accessor :bm7_n_s_t
# @return [TrueClass]
attr_accessor :is_sellable
# @return [TrueClass]
attr_accessor :secured
# @return [TrueClass]
attr_accessor :specialist
# @return [TrueClass]
attr_accessor :is_motability_retailer
# @return [String]
attr_accessor :upholstery_description
# @return [TrueClass]
attr_accessor :in_back_order_account
# @return [String]
attr_accessor :full_model_year_code
# @return [String]
attr_accessor :baumuster
# @return [TrueClass]
attr_accessor :is_motability
# @return [BigDecimal]
attr_accessor :pip_advance_rental_gross
# @return [BigDecimal]
attr_accessor :wpms_advance_rental_gross
# @return [List]
attr_accessor :isp_vehicle_customer_descriptions
# @return [TrueClass]
attr_accessor :eligible_for_ma_transfer
# @return [String]
attr_accessor :confirmed_production_date
# @return [String]
attr_accessor :forecasted_arrival_date
def self.properties
{
vin: { name: 'vin' },
description: { name: 'description' },
model: { name: 'model' },
otr: { name: 'otr' },
retail_price_ex_v_a_t: { name: 'retailPriceExVAT' },
actual_price: { name: 'actualPrice' },
p11_d: { name: 'p11D' },
fuel_type: { name: 'fuelType' },
transmission: { name: 'transmission' },
transmission_type: { name: 'transmissionType' },
colour: { name: 'colour' },
colour_code: { name: 'colourCode' },
colour_description: { name: 'colourDescription' },
commission_number: { name: 'commissionNumber' },
offer_available: { name: 'offerAvailable' },
campaign_discount_offer_total: { name: 'campaignDiscountOfferTotal' },
campaign_discount_offer_total_current: { name: 'campaignDiscountOfferTotalCurrent' },
campaign_discount_offer_total_pending: { name: 'campaignDiscountOfferTotalPending' },
campaign_service_offer_total: { name: 'campaignServiceOfferTotal' },
campaign_service_offer_total_current: { name: 'campaignServiceOfferTotalCurrent' },
campaign_service_offer_total_pending: { name: 'campaignServiceOfferTotalPending' },
campaign_custom_offer_total: { name: 'campaignCustomOfferTotal' },
campaign_personalised_offer_total_current: { name: 'campaignPersonalisedOfferTotalCurrent' },
campaign_personalised_offer_total_pending: { name: 'campaignPersonalisedOfferTotalPending' },
campaign_personalised_offer_total: { name: 'campaignPersonalisedOfferTotal' },
campaign_custom_offer_total_current: { name: 'campaignCustomOfferTotalCurrent' },
campaign_custom_offer_total_pending: { name: 'campaignCustomOfferTotalPending' },
campaign_other_offer_total: { name: 'campaignOtherOfferTotal' },
campaign_other_offer_total_current: { name: 'campaignOtherOfferTotalCurrent' },
campaign_other_offer_total_pending: { name: 'campaignOtherOfferTotalPending' },
retailer_discount_offer_total: { name: 'retailerDiscountOfferTotal' },
retailer_discount_offer_total_current: { name: 'retailerDiscountOfferTotalCurrent' },
retailer_discount_offer_total_pending: { name: 'retailerDiscountOfferTotalPending' },
retailer_service_offer_total: { name: 'retailerServiceOfferTotal' },
retailer_service_offer_total_current: { name: 'retailerServiceOfferTotalCurrent' },
retailer_service_offer_total_pending: { name: 'retailerServiceOfferTotalPending' },
retailer_custom_offer_total: { name: 'retailerCustomOfferTotal' },
retailer_custom_offer_total_current: { name: 'retailerCustomOfferTotalCurrent' },
retailer_custom_offer_total_pending: { name: 'retailerCustomOfferTotalPending' },
retailer_warranty_offer_total: { name: 'retailerWarrantyOfferTotal' },
retailer_warranty_offer_total_current: { name: 'retailerWarrantyOfferTotalCurrent' },
retailer_warranty_offer_total_pending: { name: 'retailerWarrantyOfferTotalPending' },
retailer_offer_total: { name: 'retailerOfferTotal' },
retailer_offer_total_current: { name: 'retailerOfferTotalCurrent' },
retailer_offer_total_pending: { name: 'retailerOfferTotalPending' },
campaign_offer_total: { name: 'campaignOfferTotal' },
campaign_offer_total_current: { name: 'campaignOfferTotalCurrent' },
campaign_offer_total_pending: { name: 'campaignOfferTotalPending' },
campaign_and_offer_total: { name: 'campaignAndOfferTotal' },
campaign_and_offer_total_current: { name: 'campaignAndOfferTotalCurrent' },
campaign_and_offer_total_pending: { name: 'campaignAndOfferTotalPending' },
offer_total: { name: 'offerTotal' },
offer_total_current: { name: 'offerTotalCurrent' },
offer_total_pending: { name: 'offerTotalPending' },
creation: { name: 'creation' },
modified: { name: 'modified' },
electric_range: { name: 'electricRange' },
electric_consumption: { name: 'electricConsumption' },
port_arrival_date: { name: 'portArrivalDate', type: DateTime },
days_since_port_arrival: { name: 'daysSincePortArrival' },
retail_price_inc_v_a_t: { name: 'retailPriceIncVAT' },
body_style: { name: 'bodyStyle' },
upholstery: { name: 'upholstery' },
upholstery_code: { name: 'upholsteryCode' },
upholstery_type: { name: 'upholsteryType' },
package_names: { name: 'packageNames' },
line: { name: 'line' },
mapped_line: { name: 'mappedLine' },
current_retailer_offer_price: { name: 'currentRetailerOfferPrice' },
retail_price: { name: 'retailPrice' },
vat_qualifying: { name: 'vatQualifying' },
retailer_id: { name: 'retailerId' },
gssn_id: { name: 'gssnId' },
no_image: { name: 'noImage' },
image_url: { name: 'imageUrl' },
is_available_online: { name: 'isAvailableOnline' },
is_back_ordered: { name: 'isBackOrdered' },
creation_date: { name: 'creationDate' },
maintenance_date: { name: 'maintenanceDate' },
registration_number: { name: 'registrationNumber' },
registration_date: { name: 'registrationDate', type: DateTime },
mileage: { name: 'mileage' },
trade_in_date: { name: 'tradeInDate', type: DateTime },
source: { name: 'source' },
vehicle_type: { name: 'vehicleType' },
offer_amount: { name: 'offerAmount' },
offer_expiry: { name: 'offerExpiry' },
active_offers: { name: 'activeOffers' },
campaign_messages_total: { name: 'campaignMessagesTotal' },
under_offer: { name: 'underOffer' },
is_display_stock: { name: 'isDisplayStock' },
display_retailer: { name: 'displayRetailer' },
display_retailer_gssn_id: { name: 'displayRetailerGssnId' },
location: { name: 'location' },
account: { name: 'account' },
account_type: { name: 'accountType' },
usage_code: { name: 'usageCode' },
bm7_n_s_t: { name: 'bm7NST' },
is_sellable: { name: 'isSellable' },
secured: { name: 'secured' },
specialist: { name: 'specialist' },
is_motability_retailer: { name: 'isMotabilityRetailer' },
upholstery_description: { name: 'upholsteryDescription' },
in_back_order_account: { name: 'inBackOrderAccount' },
full_model_year_code: { name: 'fullModelYearCode' },
baumuster: { name: 'baumuster' },
is_motability: { name: 'isMotability' },
pip_advance_rental_gross: { name: 'pipAdvanceRentalGross' },
wpms_advance_rental_gross: { name: 'wpmsAdvanceRentalGross' },
isp_vehicle_customer_descriptions: { name: 'ispVehicleCustomerDescriptions' },
eligible_for_ma_transfer: { name: 'eligibleForMaTransfer' },
confirmed_production_date: { name: 'confirmedProductionDate' },
forecasted_arrival_date: { name: 'forecastedArrivalDate' },
}
end
end
class VehicleData < VehicleDataBase
# @return [String]
attr_accessor :engine
def self.properties
{
engine: { name: 'engine' },
}
end
end
class Equipment
include ServiceStack::DTO
# @return [Integer]
attr_accessor :id
# @return [String]
attr_accessor :code
# @return [String]
attr_accessor :description
def self.properties
{
id: { name: 'id' },
code: { name: 'code' },
description: { name: 'description' },
}
end
end
class VehicleIdentifierData < VehicleData
# @return [String]
attr_accessor :retailer
# @return [TrueClass]
attr_accessor :has_motability_error
# @return [List]
attr_accessor :equipment
# @return [String]
attr_accessor :vehicle_class
def self.properties
{
retailer: { name: 'retailer' },
has_motability_error: { name: 'hasMotabilityError' },
equipment: { name: 'equipment', type: [Equipment] },
vehicle_class: { name: 'vehicleClass' },
}
end
end
class VehicleRejectionData
include ServiceStack::DTO
# @return [String]
attr_accessor :reject_reason
# @return [String]
attr_accessor :exception
# @return [String]
attr_accessor :creation_date
# @return [TrueClass]
attr_accessor :active
# @return [String]
attr_accessor :data_source
def self.properties
{
reject_reason: { name: 'rejectReason' },
exception: { name: 'exception' },
creation_date: { name: 'creationDate' },
active: { name: 'active' },
data_source: { name: 'dataSource' },
}
end
end
class VehicleSellableCheckData
include ServiceStack::DTO
# @return [String]
attr_accessor :check
# @return [String]
attr_accessor :failure
# @return [String]
attr_accessor :creation_date
def self.properties
{
check: { name: 'check' },
failure: { name: 'failure' },
creation_date: { name: 'creationDate' },
}
end
end
class VehicleRejectDetailsData
include ServiceStack::DTO
# @return [VehicleIdentifierData]
attr_accessor :details
# @return [List]
attr_accessor :rejections
# @return [List]
attr_accessor :sellable_checks
def self.properties
{
details: { name: 'details', type: VehicleIdentifierData },
rejections: { name: 'rejections', type: [VehicleRejectionData] },
sellable_checks: { name: 'sellableChecks', type: [VehicleSellableCheckData] },
}
end
end
class VehicleRejectDetailsResponse
include ServiceStack::DTO
# @return [VehicleRejectDetailsData]
attr_accessor :vehicle
def self.properties
{
vehicle: { name: 'vehicle', type: VehicleRejectDetailsData },
}
end
end
class VehicleRejectRequest
include ServiceStack::DTO
# @return [String]
attr_accessor :vehicle_identifier
def self.properties
{
vehicle_identifier: { name: 'vehicleIdentifier' },
}
end
def response_type() = VehicleRejectDetailsResponse
def get_type_name() = 'VehicleRejectRequest'
end
Ruby VehicleRejectRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/Vehicle/Reject/{vehicleIdentifier} HTTP/1.1
Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<VehicleRejectDetailsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.VehicleManagement.API.ServiceModel">
<Vehicle>
<Details xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mercedes.VehicleManagement.API.Shared.POCO">
<d3p1:Account>String</d3p1:Account>
<d3p1:AccountType>String</d3p1:AccountType>
<d3p1:ActiveOffers xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:int>0</d4p1:int>
</d3p1:ActiveOffers>
<d3p1:ActualPrice>String</d3p1:ActualPrice>
<d3p1:Baumuster>String</d3p1:Baumuster>
<d3p1:Bm7NST>String</d3p1:Bm7NST>
<d3p1:BodyStyle>String</d3p1:BodyStyle>
<d3p1:CampaignAndOfferTotal>0</d3p1:CampaignAndOfferTotal>
<d3p1:CampaignAndOfferTotalCurrent>0</d3p1:CampaignAndOfferTotalCurrent>
<d3p1:CampaignAndOfferTotalPending>0</d3p1:CampaignAndOfferTotalPending>
<d3p1:CampaignCustomOfferTotal>0</d3p1:CampaignCustomOfferTotal>
<d3p1:CampaignCustomOfferTotalCurrent>0</d3p1:CampaignCustomOfferTotalCurrent>
<d3p1:CampaignCustomOfferTotalPending>0</d3p1:CampaignCustomOfferTotalPending>
<d3p1:CampaignDiscountOfferTotal>0</d3p1:CampaignDiscountOfferTotal>
<d3p1:CampaignDiscountOfferTotalCurrent>0</d3p1:CampaignDiscountOfferTotalCurrent>
<d3p1:CampaignDiscountOfferTotalPending>0</d3p1:CampaignDiscountOfferTotalPending>
<d3p1:CampaignMessagesTotal>0</d3p1:CampaignMessagesTotal>
<d3p1:CampaignOfferTotal>0</d3p1:CampaignOfferTotal>
<d3p1:CampaignOfferTotalCurrent>0</d3p1:CampaignOfferTotalCurrent>
<d3p1:CampaignOfferTotalPending>0</d3p1:CampaignOfferTotalPending>
<d3p1:CampaignOtherOfferTotal>0</d3p1:CampaignOtherOfferTotal>
<d3p1:CampaignOtherOfferTotalCurrent>0</d3p1:CampaignOtherOfferTotalCurrent>
<d3p1:CampaignOtherOfferTotalPending>0</d3p1:CampaignOtherOfferTotalPending>
<d3p1:CampaignPersonalisedOfferTotal>0</d3p1:CampaignPersonalisedOfferTotal>
<d3p1:CampaignPersonalisedOfferTotalCurrent>0</d3p1:CampaignPersonalisedOfferTotalCurrent>
<d3p1:CampaignPersonalisedOfferTotalPending>0</d3p1:CampaignPersonalisedOfferTotalPending>
<d3p1:CampaignServiceOfferTotal>0</d3p1:CampaignServiceOfferTotal>
<d3p1:CampaignServiceOfferTotalCurrent>0</d3p1:CampaignServiceOfferTotalCurrent>
<d3p1:CampaignServiceOfferTotalPending>0</d3p1:CampaignServiceOfferTotalPending>
<d3p1:Colour>String</d3p1:Colour>
<d3p1:ColourCode>String</d3p1:ColourCode>
<d3p1:ColourDescription>String</d3p1:ColourDescription>
<d3p1:CommissionNumber>String</d3p1:CommissionNumber>
<d3p1:ConfirmedProductionDate>String</d3p1:ConfirmedProductionDate>
<d3p1:Creation>String</d3p1:Creation>
<d3p1:CreationDate>String</d3p1:CreationDate>
<d3p1:CurrentRetailerOfferPrice>0</d3p1:CurrentRetailerOfferPrice>
<d3p1:DaysSincePortArrival>0</d3p1:DaysSincePortArrival>
<d3p1:Description>String</d3p1:Description>
<d3p1:DisplayRetailer>String</d3p1:DisplayRetailer>
<d3p1:DisplayRetailerGssnId>String</d3p1:DisplayRetailerGssnId>
<d3p1:ElectricConsumption>0</d3p1:ElectricConsumption>
<d3p1:ElectricRange>0</d3p1:ElectricRange>
<d3p1:EligibleForMaTransfer>false</d3p1:EligibleForMaTransfer>
<d3p1:ForecastedArrivalDate>String</d3p1:ForecastedArrivalDate>
<d3p1:FuelType>String</d3p1:FuelType>
<d3p1:FullModelYearCode>String</d3p1:FullModelYearCode>
<d3p1:GssnId>String</d3p1:GssnId>
<d3p1:ImageUrl>String</d3p1:ImageUrl>
<d3p1:InBackOrderAccount>false</d3p1:InBackOrderAccount>
<d3p1:IsAvailableOnline>false</d3p1:IsAvailableOnline>
<d3p1:IsBackOrdered>false</d3p1:IsBackOrdered>
<d3p1:IsDisplayStock>false</d3p1:IsDisplayStock>
<d3p1:IsMotability>false</d3p1:IsMotability>
<d3p1:IsMotabilityRetailer>false</d3p1:IsMotabilityRetailer>
<d3p1:IsSellable>false</d3p1:IsSellable>
<d3p1:IspVehicleCustomerDescriptions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>String</d4p1:string>
</d3p1:IspVehicleCustomerDescriptions>
<d3p1:Line>String</d3p1:Line>
<d3p1:Location>String</d3p1:Location>
<d3p1:MaintenanceDate>String</d3p1:MaintenanceDate>
<d3p1:MappedLine>String</d3p1:MappedLine>
<d3p1:Mileage>0</d3p1:Mileage>
<d3p1:Model>String</d3p1:Model>
<d3p1:Modified>String</d3p1:Modified>
<d3p1:NoImage>false</d3p1:NoImage>
<d3p1:OfferAmount>String</d3p1:OfferAmount>
<d3p1:OfferAvailable>false</d3p1:OfferAvailable>
<d3p1:OfferExpiry>String</d3p1:OfferExpiry>
<d3p1:OfferTotal>0</d3p1:OfferTotal>
<d3p1:OfferTotalCurrent>0</d3p1:OfferTotalCurrent>
<d3p1:OfferTotalPending>0</d3p1:OfferTotalPending>
<d3p1:Otr>String</d3p1:Otr>
<d3p1:P11D>String</d3p1:P11D>
<d3p1:PackageNames xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>String</d4p1:string>
</d3p1:PackageNames>
<d3p1:PipAdvanceRentalGross>0</d3p1:PipAdvanceRentalGross>
<d3p1:PortArrivalDate>0001-01-01T00:00:00</d3p1:PortArrivalDate>
<d3p1:RegistrationDate>0001-01-01T00:00:00</d3p1:RegistrationDate>
<d3p1:RegistrationNumber>String</d3p1:RegistrationNumber>
<d3p1:RetailPrice>String</d3p1:RetailPrice>
<d3p1:RetailPriceExVAT>String</d3p1:RetailPriceExVAT>
<d3p1:RetailPriceIncVAT>0</d3p1:RetailPriceIncVAT>
<d3p1:RetailerCustomOfferTotal>0</d3p1:RetailerCustomOfferTotal>
<d3p1:RetailerCustomOfferTotalCurrent>0</d3p1:RetailerCustomOfferTotalCurrent>
<d3p1:RetailerCustomOfferTotalPending>0</d3p1:RetailerCustomOfferTotalPending>
<d3p1:RetailerDiscountOfferTotal>0</d3p1:RetailerDiscountOfferTotal>
<d3p1:RetailerDiscountOfferTotalCurrent>0</d3p1:RetailerDiscountOfferTotalCurrent>
<d3p1:RetailerDiscountOfferTotalPending>0</d3p1:RetailerDiscountOfferTotalPending>
<d3p1:RetailerId>0</d3p1:RetailerId>
<d3p1:RetailerOfferTotal>0</d3p1:RetailerOfferTotal>
<d3p1:RetailerOfferTotalCurrent>0</d3p1:RetailerOfferTotalCurrent>
<d3p1:RetailerOfferTotalPending>0</d3p1:RetailerOfferTotalPending>
<d3p1:RetailerServiceOfferTotal>0</d3p1:RetailerServiceOfferTotal>
<d3p1:RetailerServiceOfferTotalCurrent>0</d3p1:RetailerServiceOfferTotalCurrent>
<d3p1:RetailerServiceOfferTotalPending>0</d3p1:RetailerServiceOfferTotalPending>
<d3p1:RetailerWarrantyOfferTotal>0</d3p1:RetailerWarrantyOfferTotal>
<d3p1:RetailerWarrantyOfferTotalCurrent>0</d3p1:RetailerWarrantyOfferTotalCurrent>
<d3p1:RetailerWarrantyOfferTotalPending>0</d3p1:RetailerWarrantyOfferTotalPending>
<d3p1:Secured>false</d3p1:Secured>
<d3p1:Source>String</d3p1:Source>
<d3p1:Specialist>false</d3p1:Specialist>
<d3p1:TradeInDate>0001-01-01T00:00:00</d3p1:TradeInDate>
<d3p1:Transmission>String</d3p1:Transmission>
<d3p1:TransmissionType>String</d3p1:TransmissionType>
<d3p1:UnderOffer>false</d3p1:UnderOffer>
<d3p1:Upholstery>String</d3p1:Upholstery>
<d3p1:UpholsteryCode>String</d3p1:UpholsteryCode>
<d3p1:UpholsteryDescription>String</d3p1:UpholsteryDescription>
<d3p1:UpholsteryType>String</d3p1:UpholsteryType>
<d3p1:UsageCode>String</d3p1:UsageCode>
<d3p1:VATQualifying>false</d3p1:VATQualifying>
<d3p1:VehicleType>String</d3p1:VehicleType>
<d3p1:Vin>String</d3p1:Vin>
<d3p1:WpmsAdvanceRentalGross>0</d3p1:WpmsAdvanceRentalGross>
<d3p1:Engine>String</d3p1:Engine>
<d3p1:Equipment xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mercedes.OS.Vehicle.Shared.POCO">
<d4p1:Equipment>
<d4p1:Code>String</d4p1:Code>
<d4p1:Description>String</d4p1:Description>
<d4p1:Id>0</d4p1:Id>
</d4p1:Equipment>
</d3p1:Equipment>
<d3p1:HasMotabilityError>false</d3p1:HasMotabilityError>
<d3p1:Retailer>String</d3p1:Retailer>
<d3p1:VehicleClass>String</d3p1:VehicleClass>
</Details>
<Rejections xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mercedes.VehicleManagement.API.Shared.POCO">
<d3p1:VehicleRejectionData>
<d3p1:Active>false</d3p1:Active>
<d3p1:CreationDate>String</d3p1:CreationDate>
<d3p1:DataSource>String</d3p1:DataSource>
<d3p1:Exception>String</d3p1:Exception>
<d3p1:RejectReason>String</d3p1:RejectReason>
</d3p1:VehicleRejectionData>
</Rejections>
<SellableChecks xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mercedes.VehicleManagement.API.Shared.POCO">
<d3p1:VehicleSellableCheckData>
<d3p1:Check>String</d3p1:Check>
<d3p1:CreationDate>String</d3p1:CreationDate>
<d3p1:Failure>String</d3p1:Failure>
</d3p1:VehicleSellableCheckData>
</SellableChecks>
</Vehicle>
</VehicleRejectDetailsResponse>