| GET | /v1/order/customer/{CustomerId} | Get Order by Customer | Get Order by Customer |
|---|
import datetime
import decimal
from marshmallow.fields import *
from servicestack import *
from typing import *
from dataclasses import dataclass, field
from dataclasses_json import dataclass_json, LetterCase, Undefined, config
from enum import Enum, IntEnum
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class Order:
guid: Optional[str] = None
reference: Optional[str] = None
status: int = 0
customer_id: Optional[str] = None
mulesoft_reference: Optional[str] = None
gas_id: Optional[str] = None
order_date: Optional[str] = None
offer_snap_shot: Optional[str] = None
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class OrderStatus:
id: int = 0
description: Optional[str] = None
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class OnlineShowroomStatus:
id: int = 0
description: Optional[str] = None
slug: Optional[str] = None
current: bool = False
completed: bool = False
order_statuses: List[OrderStatus] = field(default_factory=list)
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class RetailerOpeningTime:
day: Optional[str] = None
open_from: Optional[str] = None
open_to: Optional[str] = None
special: Optional[str] = None
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class RetailerOpeningTimes:
new: List[RetailerOpeningTime] = field(default_factory=list)
used: List[RetailerOpeningTime] = field(default_factory=list)
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class Retailer:
id: int = 0
gssn_id: Optional[str] = None
description: Optional[str] = None
street: Optional[str] = None
city: Optional[str] = None
postcode: Optional[str] = None
google_map_postcode: Optional[str] = None
phone: Optional[str] = None
fax: Optional[str] = None
email: Optional[str] = None
website: Optional[str] = None
retailer_group_id: Optional[str] = None
retailer_group_name: Optional[str] = None
is_online: bool = False
is_new_car_retailer: bool = False
is_used_car_retailer: bool = False
is_central_retailer: bool = False
chat_enabled: bool = False
trade_in_enabled: bool = False
smart: bool = False
display_phone_number_new: Optional[str] = None
display_phone_number_used: Optional[str] = None
latitude: Decimal = decimal.Decimal(0)
longitude: Decimal = decimal.Decimal(0)
smart_description: Optional[str] = None
smart_website: Optional[str] = None
smart_phone: Optional[str] = None
legacy_id: Optional[str] = None
agent: bool = False
market_area_id: int = 0
digital_lounge_parent_gssn_id: Optional[str] = None
send_leads_to_digital_lounge_parent: bool = False
opening_times: Optional[RetailerOpeningTimes] = None
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class OnlineShowroomVehicle:
vin: Optional[str] = None
vehicle_class: Optional[str] = None
transmission_type: Optional[str] = None
fuel_type: Optional[str] = None
image_url: Optional[str] = None
colour: Optional[str] = None
description: Optional[str] = None
body_style: Optional[str] = None
upholstery_type: Optional[str] = None
retailer: Optional[Retailer] = None
otr: Decimal = decimal.Decimal(0)
actual_price: Decimal = decimal.Decimal(0)
total_offer_value: Decimal = decimal.Decimal(0)
net_price: Decimal = decimal.Decimal(0)
vehicle_type: Optional[str] = None
offer_expiry_date: Optional[str] = None
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class Payment:
payment_type: Optional[str] = None
payment_link: Optional[str] = None
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class Refund:
name: Optional[str] = None
amount: Optional[str] = None
payment_type: Optional[str] = None
created_date: Optional[str] = None
status: Optional[str] = None
refund_mpay_transaction_id: Optional[str] = None
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class PaymentDetail:
name: Optional[str] = None
mpay_transaction_id: Optional[str] = None
merchant_reference: Optional[str] = None
payment_method: Optional[str] = None
amount: Optional[str] = None
new_confirmed_amount: Optional[str] = None
payment_type: Optional[str] = None
payment_status: Optional[str] = None
refund_type: Optional[str] = None
payment_link: Optional[str] = None
created_date: Optional[str] = None
date_time_payment_confirmed: Optional[str] = None
refunds: List[Refund] = field(default_factory=list)
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class PaymentGroup:
outstanding_balance: Optional[str] = None
deposit: Optional[str] = None
payments_received: Optional[str] = None
amount_paid_by_mercedes_benz: Optional[str] = None
finance: Optional[str] = None
finance_deposit_contribution: Optional[str] = None
combined_finance_and_f_d_c: Optional[str] = None
combined_f_d_c_u_v_d_reconciliation_payment: Optional[str] = None
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class OnlineShowroomOrder:
guid: Optional[str] = None
reference: Optional[str] = None
status: List[OnlineShowroomStatus] = field(default_factory=list)
vehicle: Optional[OnlineShowroomVehicle] = None
closed_date: Optional[str] = None
customer_id: Optional[str] = None
handover_date: Optional[str] = None
closed_reason: Optional[str] = None
order_date: Optional[str] = None
payment_links: List[Payment] = field(default_factory=list)
payment_details: List[PaymentDetail] = field(default_factory=list)
payment_groups: List[PaymentGroup] = field(default_factory=list)
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class GetOrderCustomerResponse:
orders: List[Order] = field(default_factory=list)
completed: List[OnlineShowroomOrder] = field(default_factory=list)
cancelled: List[OnlineShowroomOrder] = field(default_factory=list)
in_progress: List[OnlineShowroomOrder] = field(default_factory=list)
archived: List[OnlineShowroomOrder] = field(default_factory=list)
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class GetOrderCustomerRequest(IGet):
customer_id: Optional[str] = None
Python GetOrderCustomerRequest 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/order/customer/{CustomerId} HTTP/1.1
Host: prod-api-agency-orch-mb-dhc.rapp-customers.co.uk
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GetOrderCustomerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.Clients.AgencyApi.Responses">
<Archived xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mercedes.Agency.API.Shared.POCO">
<d2p1:OnlineShowroomOrder>
<d2p1:ClosedDate>String</d2p1:ClosedDate>
<d2p1:ClosedReason>String</d2p1:ClosedReason>
<d2p1:CustomerId>String</d2p1:CustomerId>
<d2p1:Guid>00000000-0000-0000-0000-000000000000</d2p1:Guid>
<d2p1:HandoverDate>String</d2p1:HandoverDate>
<d2p1:OrderDate>String</d2p1:OrderDate>
<d2p1:PaymentDetails>
<d2p1:PaymentDetail>
<d2p1:Amount>String</d2p1:Amount>
<d2p1:CreatedDate>String</d2p1:CreatedDate>
<d2p1:DateTimePaymentConfirmed>String</d2p1:DateTimePaymentConfirmed>
<d2p1:MerchantReference>String</d2p1:MerchantReference>
<d2p1:MpayTransactionId>String</d2p1:MpayTransactionId>
<d2p1:Name>String</d2p1:Name>
<d2p1:NewConfirmedAmount>String</d2p1:NewConfirmedAmount>
<d2p1:PaymentLink>String</d2p1:PaymentLink>
<d2p1:PaymentMethod>String</d2p1:PaymentMethod>
<d2p1:PaymentStatus>String</d2p1:PaymentStatus>
<d2p1:PaymentType>String</d2p1:PaymentType>
<d2p1:RefundType>String</d2p1:RefundType>
<d2p1:Refunds>
<d2p1:Refund>
<d2p1:Amount>String</d2p1:Amount>
<d2p1:CreatedDate>String</d2p1:CreatedDate>
<d2p1:Name>String</d2p1:Name>
<d2p1:PaymentType>String</d2p1:PaymentType>
<d2p1:RefundMpayTransactionId>String</d2p1:RefundMpayTransactionId>
<d2p1:Status>String</d2p1:Status>
</d2p1:Refund>
</d2p1:Refunds>
</d2p1:PaymentDetail>
</d2p1:PaymentDetails>
<d2p1:PaymentGroups>
<d2p1:PaymentGroup>
<d2p1:AmountPaidByMercedesBenz>String</d2p1:AmountPaidByMercedesBenz>
<d2p1:CombinedFDCUVDReconciliationPayment>String</d2p1:CombinedFDCUVDReconciliationPayment>
<d2p1:CombinedFinanceAndFDC>String</d2p1:CombinedFinanceAndFDC>
<d2p1:Deposit>String</d2p1:Deposit>
<d2p1:Finance>String</d2p1:Finance>
<d2p1:FinanceDepositContribution>String</d2p1:FinanceDepositContribution>
<d2p1:OutstandingBalance>String</d2p1:OutstandingBalance>
<d2p1:PaymentsReceived>String</d2p1:PaymentsReceived>
</d2p1:PaymentGroup>
</d2p1:PaymentGroups>
<d2p1:PaymentLinks>
<d2p1:Payment>
<d2p1:PaymentLink>String</d2p1:PaymentLink>
<d2p1:PaymentType>String</d2p1:PaymentType>
</d2p1:Payment>
</d2p1:PaymentLinks>
<d2p1:Reference>String</d2p1:Reference>
<d2p1:Status>
<d2p1:OnlineShowroomStatus>
<d2p1:Completed>false</d2p1:Completed>
<d2p1:Current>false</d2p1:Current>
<d2p1:Description>String</d2p1:Description>
<d2p1:Id>0</d2p1:Id>
<d2p1:OrderStatuses>
<d2p1:OrderStatus>
<d2p1:Description>String</d2p1:Description>
<d2p1:Id>0</d2p1:Id>
</d2p1:OrderStatus>
</d2p1:OrderStatuses>
<d2p1:Slug>String</d2p1:Slug>
</d2p1:OnlineShowroomStatus>
</d2p1:Status>
<d2p1:Vehicle>
<d2p1:ActualPrice>0</d2p1:ActualPrice>
<d2p1:BodyStyle>String</d2p1:BodyStyle>
<d2p1:Colour>String</d2p1:Colour>
<d2p1:Description>String</d2p1:Description>
<d2p1:FuelType>String</d2p1:FuelType>
<d2p1:ImageUrl>String</d2p1:ImageUrl>
<d2p1:NetPrice>0</d2p1:NetPrice>
<d2p1:OTR>0</d2p1:OTR>
<d2p1:OfferExpiryDate>String</d2p1:OfferExpiryDate>
<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:TotalOfferValue>0</d2p1:TotalOfferValue>
<d2p1:TransmissionType>String</d2p1:TransmissionType>
<d2p1:UpholsteryType>String</d2p1:UpholsteryType>
<d2p1:VehicleClass>String</d2p1:VehicleClass>
<d2p1:VehicleType>String</d2p1:VehicleType>
<d2p1:Vin>String</d2p1:Vin>
</d2p1:Vehicle>
</d2p1:OnlineShowroomOrder>
</Archived>
<Cancelled xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mercedes.Agency.API.Shared.POCO">
<d2p1:OnlineShowroomOrder>
<d2p1:ClosedDate>String</d2p1:ClosedDate>
<d2p1:ClosedReason>String</d2p1:ClosedReason>
<d2p1:CustomerId>String</d2p1:CustomerId>
<d2p1:Guid>00000000-0000-0000-0000-000000000000</d2p1:Guid>
<d2p1:HandoverDate>String</d2p1:HandoverDate>
<d2p1:OrderDate>String</d2p1:OrderDate>
<d2p1:PaymentDetails>
<d2p1:PaymentDetail>
<d2p1:Amount>String</d2p1:Amount>
<d2p1:CreatedDate>String</d2p1:CreatedDate>
<d2p1:DateTimePaymentConfirmed>String</d2p1:DateTimePaymentConfirmed>
<d2p1:MerchantReference>String</d2p1:MerchantReference>
<d2p1:MpayTransactionId>String</d2p1:MpayTransactionId>
<d2p1:Name>String</d2p1:Name>
<d2p1:NewConfirmedAmount>String</d2p1:NewConfirmedAmount>
<d2p1:PaymentLink>String</d2p1:PaymentLink>
<d2p1:PaymentMethod>String</d2p1:PaymentMethod>
<d2p1:PaymentStatus>String</d2p1:PaymentStatus>
<d2p1:PaymentType>String</d2p1:PaymentType>
<d2p1:RefundType>String</d2p1:RefundType>
<d2p1:Refunds>
<d2p1:Refund>
<d2p1:Amount>String</d2p1:Amount>
<d2p1:CreatedDate>String</d2p1:CreatedDate>
<d2p1:Name>String</d2p1:Name>
<d2p1:PaymentType>String</d2p1:PaymentType>
<d2p1:RefundMpayTransactionId>String</d2p1:RefundMpayTransactionId>
<d2p1:Status>String</d2p1:Status>
</d2p1:Refund>
</d2p1:Refunds>
</d2p1:PaymentDetail>
</d2p1:PaymentDetails>
<d2p1:PaymentGroups>
<d2p1:PaymentGroup>
<d2p1:AmountPaidByMercedesBenz>String</d2p1:AmountPaidByMercedesBenz>
<d2p1:CombinedFDCUVDReconciliationPayment>String</d2p1:CombinedFDCUVDReconciliationPayment>
<d2p1:CombinedFinanceAndFDC>String</d2p1:CombinedFinanceAndFDC>
<d2p1:Deposit>String</d2p1:Deposit>
<d2p1:Finance>String</d2p1:Finance>
<d2p1:FinanceDepositContribution>String</d2p1:FinanceDepositContribution>
<d2p1:OutstandingBalance>String</d2p1:OutstandingBalance>
<d2p1:PaymentsReceived>String</d2p1:PaymentsReceived>
</d2p1:PaymentGroup>
</d2p1:PaymentGroups>
<d2p1:PaymentLinks>
<d2p1:Payment>
<d2p1:PaymentLink>String</d2p1:PaymentLink>
<d2p1:PaymentType>String</d2p1:PaymentType>
</d2p1:Payment>
</d2p1:PaymentLinks>
<d2p1:Reference>String</d2p1:Reference>
<d2p1:Status>
<d2p1:OnlineShowroomStatus>
<d2p1:Completed>false</d2p1:Completed>
<d2p1:Current>false</d2p1:Current>
<d2p1:Description>String</d2p1:Description>
<d2p1:Id>0</d2p1:Id>
<d2p1:OrderStatuses>
<d2p1:OrderStatus>
<d2p1:Description>String</d2p1:Description>
<d2p1:Id>0</d2p1:Id>
</d2p1:OrderStatus>
</d2p1:OrderStatuses>
<d2p1:Slug>String</d2p1:Slug>
</d2p1:OnlineShowroomStatus>
</d2p1:Status>
<d2p1:Vehicle>
<d2p1:ActualPrice>0</d2p1:ActualPrice>
<d2p1:BodyStyle>String</d2p1:BodyStyle>
<d2p1:Colour>String</d2p1:Colour>
<d2p1:Description>String</d2p1:Description>
<d2p1:FuelType>String</d2p1:FuelType>
<d2p1:ImageUrl>String</d2p1:ImageUrl>
<d2p1:NetPrice>0</d2p1:NetPrice>
<d2p1:OTR>0</d2p1:OTR>
<d2p1:OfferExpiryDate>String</d2p1:OfferExpiryDate>
<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:TotalOfferValue>0</d2p1:TotalOfferValue>
<d2p1:TransmissionType>String</d2p1:TransmissionType>
<d2p1:UpholsteryType>String</d2p1:UpholsteryType>
<d2p1:VehicleClass>String</d2p1:VehicleClass>
<d2p1:VehicleType>String</d2p1:VehicleType>
<d2p1:Vin>String</d2p1:Vin>
</d2p1:Vehicle>
</d2p1:OnlineShowroomOrder>
</Cancelled>
<Completed xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mercedes.Agency.API.Shared.POCO">
<d2p1:OnlineShowroomOrder>
<d2p1:ClosedDate>String</d2p1:ClosedDate>
<d2p1:ClosedReason>String</d2p1:ClosedReason>
<d2p1:CustomerId>String</d2p1:CustomerId>
<d2p1:Guid>00000000-0000-0000-0000-000000000000</d2p1:Guid>
<d2p1:HandoverDate>String</d2p1:HandoverDate>
<d2p1:OrderDate>String</d2p1:OrderDate>
<d2p1:PaymentDetails>
<d2p1:PaymentDetail>
<d2p1:Amount>String</d2p1:Amount>
<d2p1:CreatedDate>String</d2p1:CreatedDate>
<d2p1:DateTimePaymentConfirmed>String</d2p1:DateTimePaymentConfirmed>
<d2p1:MerchantReference>String</d2p1:MerchantReference>
<d2p1:MpayTransactionId>String</d2p1:MpayTransactionId>
<d2p1:Name>String</d2p1:Name>
<d2p1:NewConfirmedAmount>String</d2p1:NewConfirmedAmount>
<d2p1:PaymentLink>String</d2p1:PaymentLink>
<d2p1:PaymentMethod>String</d2p1:PaymentMethod>
<d2p1:PaymentStatus>String</d2p1:PaymentStatus>
<d2p1:PaymentType>String</d2p1:PaymentType>
<d2p1:RefundType>String</d2p1:RefundType>
<d2p1:Refunds>
<d2p1:Refund>
<d2p1:Amount>String</d2p1:Amount>
<d2p1:CreatedDate>String</d2p1:CreatedDate>
<d2p1:Name>String</d2p1:Name>
<d2p1:PaymentType>String</d2p1:PaymentType>
<d2p1:RefundMpayTransactionId>String</d2p1:RefundMpayTransactionId>
<d2p1:Status>String</d2p1:Status>
</d2p1:Refund>
</d2p1:Refunds>
</d2p1:PaymentDetail>
</d2p1:PaymentDetails>
<d2p1:PaymentGroups>
<d2p1:PaymentGroup>
<d2p1:AmountPaidByMercedesBenz>String</d2p1:AmountPaidByMercedesBenz>
<d2p1:CombinedFDCUVDReconciliationPayment>String</d2p1:CombinedFDCUVDReconciliationPayment>
<d2p1:CombinedFinanceAndFDC>String</d2p1:CombinedFinanceAndFDC>
<d2p1:Deposit>String</d2p1:Deposit>
<d2p1:Finance>String</d2p1:Finance>
<d2p1:FinanceDepositContribution>String</d2p1:FinanceDepositContribution>
<d2p1:OutstandingBalance>String</d2p1:OutstandingBalance>
<d2p1:PaymentsReceived>String</d2p1:PaymentsReceived>
</d2p1:PaymentGroup>
</d2p1:PaymentGroups>
<d2p1:PaymentLinks>
<d2p1:Payment>
<d2p1:PaymentLink>String</d2p1:PaymentLink>
<d2p1:PaymentType>String</d2p1:PaymentType>
</d2p1:Payment>
</d2p1:PaymentLinks>
<d2p1:Reference>String</d2p1:Reference>
<d2p1:Status>
<d2p1:OnlineShowroomStatus>
<d2p1:Completed>false</d2p1:Completed>
<d2p1:Current>false</d2p1:Current>
<d2p1:Description>String</d2p1:Description>
<d2p1:Id>0</d2p1:Id>
<d2p1:OrderStatuses>
<d2p1:OrderStatus>
<d2p1:Description>String</d2p1:Description>
<d2p1:Id>0</d2p1:Id>
</d2p1:OrderStatus>
</d2p1:OrderStatuses>
<d2p1:Slug>String</d2p1:Slug>
</d2p1:OnlineShowroomStatus>
</d2p1:Status>
<d2p1:Vehicle>
<d2p1:ActualPrice>0</d2p1:ActualPrice>
<d2p1:BodyStyle>String</d2p1:BodyStyle>
<d2p1:Colour>String</d2p1:Colour>
<d2p1:Description>String</d2p1:Description>
<d2p1:FuelType>String</d2p1:FuelType>
<d2p1:ImageUrl>String</d2p1:ImageUrl>
<d2p1:NetPrice>0</d2p1:NetPrice>
<d2p1:OTR>0</d2p1:OTR>
<d2p1:OfferExpiryDate>String</d2p1:OfferExpiryDate>
<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:TotalOfferValue>0</d2p1:TotalOfferValue>
<d2p1:TransmissionType>String</d2p1:TransmissionType>
<d2p1:UpholsteryType>String</d2p1:UpholsteryType>
<d2p1:VehicleClass>String</d2p1:VehicleClass>
<d2p1:VehicleType>String</d2p1:VehicleType>
<d2p1:Vin>String</d2p1:Vin>
</d2p1:Vehicle>
</d2p1:OnlineShowroomOrder>
</Completed>
<InProgress xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mercedes.Agency.API.Shared.POCO">
<d2p1:OnlineShowroomOrder>
<d2p1:ClosedDate>String</d2p1:ClosedDate>
<d2p1:ClosedReason>String</d2p1:ClosedReason>
<d2p1:CustomerId>String</d2p1:CustomerId>
<d2p1:Guid>00000000-0000-0000-0000-000000000000</d2p1:Guid>
<d2p1:HandoverDate>String</d2p1:HandoverDate>
<d2p1:OrderDate>String</d2p1:OrderDate>
<d2p1:PaymentDetails>
<d2p1:PaymentDetail>
<d2p1:Amount>String</d2p1:Amount>
<d2p1:CreatedDate>String</d2p1:CreatedDate>
<d2p1:DateTimePaymentConfirmed>String</d2p1:DateTimePaymentConfirmed>
<d2p1:MerchantReference>String</d2p1:MerchantReference>
<d2p1:MpayTransactionId>String</d2p1:MpayTransactionId>
<d2p1:Name>String</d2p1:Name>
<d2p1:NewConfirmedAmount>String</d2p1:NewConfirmedAmount>
<d2p1:PaymentLink>String</d2p1:PaymentLink>
<d2p1:PaymentMethod>String</d2p1:PaymentMethod>
<d2p1:PaymentStatus>String</d2p1:PaymentStatus>
<d2p1:PaymentType>String</d2p1:PaymentType>
<d2p1:RefundType>String</d2p1:RefundType>
<d2p1:Refunds>
<d2p1:Refund>
<d2p1:Amount>String</d2p1:Amount>
<d2p1:CreatedDate>String</d2p1:CreatedDate>
<d2p1:Name>String</d2p1:Name>
<d2p1:PaymentType>String</d2p1:PaymentType>
<d2p1:RefundMpayTransactionId>String</d2p1:RefundMpayTransactionId>
<d2p1:Status>String</d2p1:Status>
</d2p1:Refund>
</d2p1:Refunds>
</d2p1:PaymentDetail>
</d2p1:PaymentDetails>
<d2p1:PaymentGroups>
<d2p1:PaymentGroup>
<d2p1:AmountPaidByMercedesBenz>String</d2p1:AmountPaidByMercedesBenz>
<d2p1:CombinedFDCUVDReconciliationPayment>String</d2p1:CombinedFDCUVDReconciliationPayment>
<d2p1:CombinedFinanceAndFDC>String</d2p1:CombinedFinanceAndFDC>
<d2p1:Deposit>String</d2p1:Deposit>
<d2p1:Finance>String</d2p1:Finance>
<d2p1:FinanceDepositContribution>String</d2p1:FinanceDepositContribution>
<d2p1:OutstandingBalance>String</d2p1:OutstandingBalance>
<d2p1:PaymentsReceived>String</d2p1:PaymentsReceived>
</d2p1:PaymentGroup>
</d2p1:PaymentGroups>
<d2p1:PaymentLinks>
<d2p1:Payment>
<d2p1:PaymentLink>String</d2p1:PaymentLink>
<d2p1:PaymentType>String</d2p1:PaymentType>
</d2p1:Payment>
</d2p1:PaymentLinks>
<d2p1:Reference>String</d2p1:Reference>
<d2p1:Status>
<d2p1:OnlineShowroomStatus>
<d2p1:Completed>false</d2p1:Completed>
<d2p1:Current>false</d2p1:Current>
<d2p1:Description>String</d2p1:Description>
<d2p1:Id>0</d2p1:Id>
<d2p1:OrderStatuses>
<d2p1:OrderStatus>
<d2p1:Description>String</d2p1:Description>
<d2p1:Id>0</d2p1:Id>
</d2p1:OrderStatus>
</d2p1:OrderStatuses>
<d2p1:Slug>String</d2p1:Slug>
</d2p1:OnlineShowroomStatus>
</d2p1:Status>
<d2p1:Vehicle>
<d2p1:ActualPrice>0</d2p1:ActualPrice>
<d2p1:BodyStyle>String</d2p1:BodyStyle>
<d2p1:Colour>String</d2p1:Colour>
<d2p1:Description>String</d2p1:Description>
<d2p1:FuelType>String</d2p1:FuelType>
<d2p1:ImageUrl>String</d2p1:ImageUrl>
<d2p1:NetPrice>0</d2p1:NetPrice>
<d2p1:OTR>0</d2p1:OTR>
<d2p1:OfferExpiryDate>String</d2p1:OfferExpiryDate>
<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:TotalOfferValue>0</d2p1:TotalOfferValue>
<d2p1:TransmissionType>String</d2p1:TransmissionType>
<d2p1:UpholsteryType>String</d2p1:UpholsteryType>
<d2p1:VehicleClass>String</d2p1:VehicleClass>
<d2p1:VehicleType>String</d2p1:VehicleType>
<d2p1:Vin>String</d2p1:Vin>
</d2p1:Vehicle>
</d2p1:OnlineShowroomOrder>
</InProgress>
<Orders xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mercedes.Agency.API.Shared.POCO">
<d2p1:Order>
<d2p1:CustomerId>String</d2p1:CustomerId>
<d2p1:GasId>String</d2p1:GasId>
<d2p1:Guid>00000000-0000-0000-0000-000000000000</d2p1:Guid>
<d2p1:MulesoftReference>String</d2p1:MulesoftReference>
<d2p1:OfferSnapShot>String</d2p1:OfferSnapShot>
<d2p1:OrderDate>String</d2p1:OrderDate>
<d2p1:Reference>String</d2p1:Reference>
<d2p1:Status>0</d2p1:Status>
</d2p1:Order>
</Orders>
</GetOrderCustomerResponse>