GET | /v1/order/customer/{CustomerId} | Get Order by Customer |
---|
import Foundation
import ServiceStack
public class GetOrderCustomerRequest : IGet, Codable
{
public var customerId:String
required public init(){}
}
public class GetOrderCustomerResponse : Codable
{
public var orders:[Order] = []
public var completed:[OnlineShowroomOrder] = []
public var cancelled:[OnlineShowroomOrder] = []
public var inProgress:[OnlineShowroomOrder] = []
public var archived:[OnlineShowroomOrder] = []
required public init(){}
}
public class Order : Codable
{
public var guid:String
public var reference:String
public var status:Int
public var customerId:String
public var mulesoftReference:String
public var gasId:String
public var orderDate:String
public var offerSnapShot:String
required public init(){}
}
public class OnlineShowroomOrder : Codable
{
public var guid:String
public var reference:String
public var status:[OnlineShowroomStatus] = []
public var vehicle:OnlineShowroomVehicle
public var closedDate:String
public var customerId:String
public var handoverDate:String
public var closedReason:String
public var orderDate:String
public var paymentLinks:[Payment] = []
public var paymentDetails:[PaymentDetail] = []
required public init(){}
}
public class OnlineShowroomStatus : Codable
{
public var id:Int
public var Description:String
public var slug:String
public var current:Bool
public var completed:Bool
public var orderStatuses:[OrderStatus] = []
required public init(){}
}
public class OrderStatus : Codable
{
public var id:Int
public var Description:String
required public init(){}
}
public class OnlineShowroomVehicle : Codable
{
public var vin:String
public var vehicleClass:String
public var transmissionType:String
public var fuelType:String
public var imageUrl:String
public var colour:String
public var Description:String
public var bodyStyle:String
public var upholsteryType:String
public var retailer:Retailer
public var otr:Double
public var actualPrice:Double
public var totalOfferValue:Double
public var netPrice:Double
public var vehicleType:String
public var offerExpiryDate:String
required public init(){}
}
public class Retailer : Codable
{
public var id:Int
public var gssnId:String
public var Description:String
public var street:String
public var city:String
public var postcode:String
public var googleMapPostcode:String
public var phone:String
public var fax:String
public var email:String
public var website:String
public var retailerGroupId:String
public var retailerGroupName:String
public var isOnline:Bool
public var isNewCarRetailer:Bool
public var isUsedCarRetailer:Bool
public var isCentralRetailer:Bool
public var chatEnabled:Bool
public var tradeInEnabled:Bool
public var smart:Bool
public var displayPhoneNumberNew:String
public var displayPhoneNumberUsed:String
public var latitude:Double
public var longitude:Double
public var smartDescription:String
public var smartWebsite:String
public var smartPhone:String
public var legacyId:String
public var agent:Bool
public var marketAreaId:Int
public var digitalLoungeParentGssnId:String
public var sendLeadsToDigitalLoungeParent:Bool
public var openingTimes:RetailerOpeningTimes
required public init(){}
}
public class RetailerOpeningTimes : Codable
{
public var `new`:[RetailerOpeningTime] = []
public var used:[RetailerOpeningTime] = []
required public init(){}
}
public class RetailerOpeningTime : Codable
{
public var day:String
public var openFrom:String
public var openTo:String
public var special:String
required public init(){}
}
public class Payment : Codable
{
public var paymentType:String
public var paymentLink:String
required public init(){}
}
public class PaymentDetail : Codable
{
public var name:String
public var mpayTransactionId:String
public var merchantReference:String
public var paymentMethod:String
public var amount:String
public var newConfirmedAmount:String
public var paymentType:String
public var paymentStatus:String
public var refundType:String
public var paymentLink:String
public var createdDate:String
public var dateTimePaymentConfirmed:String
public var refunds:[Refund] = []
required public init(){}
}
public class Refund : Codable
{
public var name:String
public var amount:String
public var paymentType:String
public var createdDate:String
public var status:String
public var refundMpayTransactionId:String
required public init(){}
}
Swift 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: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: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: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: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>