Mercedes.Agency.Orchestration.API

<back to all web services

GetOrderCustomerRequest

Order
Requires Authentication
The following routes are available for this service:
GET/v1/order/customer/{CustomerId}Get Order by Customer
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class GetOrderCustomerRequest implements IGet
    {
        public String CustomerId = null;
        
        public String getCustomerId() { return CustomerId; }
        public GetOrderCustomerRequest setCustomerId(String value) { this.CustomerId = value; return this; }
    }

    public static class GetOrderCustomerResponse
    {
        public ArrayList<Order> Orders = new ArrayList<Order>();
        public ArrayList<OnlineShowroomOrder> Completed = new ArrayList<OnlineShowroomOrder>();
        public ArrayList<OnlineShowroomOrder> Cancelled = new ArrayList<OnlineShowroomOrder>();
        public ArrayList<OnlineShowroomOrder> InProgress = new ArrayList<OnlineShowroomOrder>();
        public ArrayList<OnlineShowroomOrder> Archived = new ArrayList<OnlineShowroomOrder>();
        
        public ArrayList<Order> getOrders() { return Orders; }
        public GetOrderCustomerResponse setOrders(ArrayList<Order> value) { this.Orders = value; return this; }
        public ArrayList<OnlineShowroomOrder> getCompleted() { return Completed; }
        public GetOrderCustomerResponse setCompleted(ArrayList<OnlineShowroomOrder> value) { this.Completed = value; return this; }
        public ArrayList<OnlineShowroomOrder> getCancelled() { return Cancelled; }
        public GetOrderCustomerResponse setCancelled(ArrayList<OnlineShowroomOrder> value) { this.Cancelled = value; return this; }
        public ArrayList<OnlineShowroomOrder> getInProgress() { return InProgress; }
        public GetOrderCustomerResponse setInProgress(ArrayList<OnlineShowroomOrder> value) { this.InProgress = value; return this; }
        public ArrayList<OnlineShowroomOrder> getArchived() { return Archived; }
        public GetOrderCustomerResponse setArchived(ArrayList<OnlineShowroomOrder> value) { this.Archived = value; return this; }
    }

    public static class Order
    {
        public UUID Guid = null;
        public String Reference = null;
        public Integer Status = null;
        public String CustomerId = null;
        public String MulesoftReference = null;
        public String GasId = null;
        public String OrderDate = null;
        public String OfferSnapShot = null;
        
        public UUID getGuid() { return Guid; }
        public Order setGuid(UUID value) { this.Guid = value; return this; }
        public String getReference() { return Reference; }
        public Order setReference(String value) { this.Reference = value; return this; }
        public Integer getStatus() { return Status; }
        public Order setStatus(Integer value) { this.Status = value; return this; }
        public String getCustomerId() { return CustomerId; }
        public Order setCustomerId(String value) { this.CustomerId = value; return this; }
        public String getMulesoftReference() { return MulesoftReference; }
        public Order setMulesoftReference(String value) { this.MulesoftReference = value; return this; }
        public String getGasId() { return GasId; }
        public Order setGasId(String value) { this.GasId = value; return this; }
        public String getOrderDate() { return OrderDate; }
        public Order setOrderDate(String value) { this.OrderDate = value; return this; }
        public String getOfferSnapShot() { return OfferSnapShot; }
        public Order setOfferSnapShot(String value) { this.OfferSnapShot = value; return this; }
    }

    public static class OnlineShowroomOrder
    {
        public UUID Guid = null;
        public String Reference = null;
        public ArrayList<OnlineShowroomStatus> Status = new ArrayList<OnlineShowroomStatus>();
        public OnlineShowroomVehicle Vehicle = null;
        public String ClosedDate = null;
        public String CustomerId = null;
        public String HandoverDate = null;
        public String ClosedReason = null;
        public String OrderDate = null;
        public ArrayList<PaymentDetail> PaymentLinks = new ArrayList<PaymentDetail>();
        
        public UUID getGuid() { return Guid; }
        public OnlineShowroomOrder setGuid(UUID value) { this.Guid = value; return this; }
        public String getReference() { return Reference; }
        public OnlineShowroomOrder setReference(String value) { this.Reference = value; return this; }
        public ArrayList<OnlineShowroomStatus> getStatus() { return Status; }
        public OnlineShowroomOrder setStatus(ArrayList<OnlineShowroomStatus> value) { this.Status = value; return this; }
        public OnlineShowroomVehicle getVehicle() { return Vehicle; }
        public OnlineShowroomOrder setVehicle(OnlineShowroomVehicle value) { this.Vehicle = value; return this; }
        public String getClosedDate() { return ClosedDate; }
        public OnlineShowroomOrder setClosedDate(String value) { this.ClosedDate = value; return this; }
        public String getCustomerId() { return CustomerId; }
        public OnlineShowroomOrder setCustomerId(String value) { this.CustomerId = value; return this; }
        public String getHandoverDate() { return HandoverDate; }
        public OnlineShowroomOrder setHandoverDate(String value) { this.HandoverDate = value; return this; }
        public String getClosedReason() { return ClosedReason; }
        public OnlineShowroomOrder setClosedReason(String value) { this.ClosedReason = value; return this; }
        public String getOrderDate() { return OrderDate; }
        public OnlineShowroomOrder setOrderDate(String value) { this.OrderDate = value; return this; }
        public ArrayList<PaymentDetail> getPaymentLinks() { return PaymentLinks; }
        public OnlineShowroomOrder setPaymentLinks(ArrayList<PaymentDetail> value) { this.PaymentLinks = value; return this; }
    }

    public static class OnlineShowroomStatus
    {
        public Integer Id = null;
        public String Description = null;
        public String Slug = null;
        public Boolean Current = null;
        public Boolean Completed = null;
        public ArrayList<OrderStatus> OrderStatuses = new ArrayList<OrderStatus>();
        
        public Integer getId() { return Id; }
        public OnlineShowroomStatus setId(Integer value) { this.Id = value; return this; }
        public String getDescription() { return Description; }
        public OnlineShowroomStatus setDescription(String value) { this.Description = value; return this; }
        public String getSlug() { return Slug; }
        public OnlineShowroomStatus setSlug(String value) { this.Slug = value; return this; }
        public Boolean isCurrent() { return Current; }
        public OnlineShowroomStatus setCurrent(Boolean value) { this.Current = value; return this; }
        public Boolean isCompleted() { return Completed; }
        public OnlineShowroomStatus setCompleted(Boolean value) { this.Completed = value; return this; }
        public ArrayList<OrderStatus> getOrderStatuses() { return OrderStatuses; }
        public OnlineShowroomStatus setOrderStatuses(ArrayList<OrderStatus> value) { this.OrderStatuses = value; return this; }
    }

    public static class OrderStatus
    {
        public Integer Id = null;
        public String Description = null;
        
        public Integer getId() { return Id; }
        public OrderStatus setId(Integer value) { this.Id = value; return this; }
        public String getDescription() { return Description; }
        public OrderStatus setDescription(String value) { this.Description = value; return this; }
    }

    public static class OnlineShowroomVehicle
    {
        public String Vin = null;
        public String VehicleClass = null;
        public String TransmissionType = null;
        public String FuelType = null;
        public String ImageUrl = null;
        public String Colour = null;
        public String Description = null;
        public String BodyStyle = null;
        public String UpholsteryType = null;
        public Retailer Retailer = null;
        public BigDecimal OTR = null;
        public BigDecimal ActualPrice = null;
        public BigDecimal TotalOfferValue = null;
        public BigDecimal NetPrice = null;
        public String VehicleType = null;
        public String OfferExpiryDate = null;
        
        public String getVin() { return Vin; }
        public OnlineShowroomVehicle setVin(String value) { this.Vin = value; return this; }
        public String getVehicleClass() { return VehicleClass; }
        public OnlineShowroomVehicle setVehicleClass(String value) { this.VehicleClass = value; return this; }
        public String getTransmissionType() { return TransmissionType; }
        public OnlineShowroomVehicle setTransmissionType(String value) { this.TransmissionType = value; return this; }
        public String getFuelType() { return FuelType; }
        public OnlineShowroomVehicle setFuelType(String value) { this.FuelType = value; return this; }
        public String getImageUrl() { return ImageUrl; }
        public OnlineShowroomVehicle setImageUrl(String value) { this.ImageUrl = value; return this; }
        public String getColour() { return Colour; }
        public OnlineShowroomVehicle setColour(String value) { this.Colour = value; return this; }
        public String getDescription() { return Description; }
        public OnlineShowroomVehicle setDescription(String value) { this.Description = value; return this; }
        public String getBodyStyle() { return BodyStyle; }
        public OnlineShowroomVehicle setBodyStyle(String value) { this.BodyStyle = value; return this; }
        public String getUpholsteryType() { return UpholsteryType; }
        public OnlineShowroomVehicle setUpholsteryType(String value) { this.UpholsteryType = value; return this; }
        public Retailer getRetailer() { return Retailer; }
        public OnlineShowroomVehicle setRetailer(Retailer value) { this.Retailer = value; return this; }
        public BigDecimal getOtr() { return OTR; }
        public OnlineShowroomVehicle setOtr(BigDecimal value) { this.OTR = value; return this; }
        public BigDecimal getActualPrice() { return ActualPrice; }
        public OnlineShowroomVehicle setActualPrice(BigDecimal value) { this.ActualPrice = value; return this; }
        public BigDecimal getTotalOfferValue() { return TotalOfferValue; }
        public OnlineShowroomVehicle setTotalOfferValue(BigDecimal value) { this.TotalOfferValue = value; return this; }
        public BigDecimal getNetPrice() { return NetPrice; }
        public OnlineShowroomVehicle setNetPrice(BigDecimal value) { this.NetPrice = value; return this; }
        public String getVehicleType() { return VehicleType; }
        public OnlineShowroomVehicle setVehicleType(String value) { this.VehicleType = value; return this; }
        public String getOfferExpiryDate() { return OfferExpiryDate; }
        public OnlineShowroomVehicle setOfferExpiryDate(String value) { this.OfferExpiryDate = value; return this; }
    }

    public static class Retailer
    {
        public Integer Id = null;
        public String GssnId = null;
        public String Description = null;
        public String Street = null;
        public String City = null;
        public String Postcode = null;
        public String GoogleMapPostcode = null;
        public String Phone = null;
        public String Fax = null;
        public String Email = null;
        public String Website = null;
        public String RetailerGroupId = null;
        public String RetailerGroupName = null;
        public Boolean IsOnline = null;
        public Boolean IsNewCarRetailer = null;
        public Boolean IsUsedCarRetailer = null;
        public Boolean IsCentralRetailer = null;
        public Boolean ChatEnabled = null;
        public Boolean TradeInEnabled = null;
        public Boolean smart = null;
        public String DisplayPhoneNumberNew = null;
        public String DisplayPhoneNumberUsed = null;
        public BigDecimal Latitude = null;
        public BigDecimal Longitude = null;
        public String smartDescription = null;
        public String smartWebsite = null;
        public String smartPhone = null;
        public String LegacyId = null;
        public Boolean Agent = null;
        public Integer MarketAreaId = null;
        public String DigitalLoungeParentGssnId = null;
        public Boolean SendLeadsToDigitalLoungeParent = null;
        public RetailerOpeningTimes OpeningTimes = null;
        
        public Integer getId() { return Id; }
        public Retailer setId(Integer value) { this.Id = value; return this; }
        public String getGssnId() { return GssnId; }
        public Retailer setGssnId(String value) { this.GssnId = value; return this; }
        public String getDescription() { return Description; }
        public Retailer setDescription(String value) { this.Description = value; return this; }
        public String getStreet() { return Street; }
        public Retailer setStreet(String value) { this.Street = value; return this; }
        public String getCity() { return City; }
        public Retailer setCity(String value) { this.City = value; return this; }
        public String getPostcode() { return Postcode; }
        public Retailer setPostcode(String value) { this.Postcode = value; return this; }
        public String getGoogleMapPostcode() { return GoogleMapPostcode; }
        public Retailer setGoogleMapPostcode(String value) { this.GoogleMapPostcode = value; return this; }
        public String getPhone() { return Phone; }
        public Retailer setPhone(String value) { this.Phone = value; return this; }
        public String getFax() { return Fax; }
        public Retailer setFax(String value) { this.Fax = value; return this; }
        public String getEmail() { return Email; }
        public Retailer setEmail(String value) { this.Email = value; return this; }
        public String getWebsite() { return Website; }
        public Retailer setWebsite(String value) { this.Website = value; return this; }
        public String getRetailerGroupId() { return RetailerGroupId; }
        public Retailer setRetailerGroupId(String value) { this.RetailerGroupId = value; return this; }
        public String getRetailerGroupName() { return RetailerGroupName; }
        public Retailer setRetailerGroupName(String value) { this.RetailerGroupName = value; return this; }
        public Boolean getIsOnline() { return IsOnline; }
        public Retailer setIsOnline(Boolean value) { this.IsOnline = value; return this; }
        public Boolean getIsNewCarRetailer() { return IsNewCarRetailer; }
        public Retailer setIsNewCarRetailer(Boolean value) { this.IsNewCarRetailer = value; return this; }
        public Boolean getIsUsedCarRetailer() { return IsUsedCarRetailer; }
        public Retailer setIsUsedCarRetailer(Boolean value) { this.IsUsedCarRetailer = value; return this; }
        public Boolean getIsCentralRetailer() { return IsCentralRetailer; }
        public Retailer setIsCentralRetailer(Boolean value) { this.IsCentralRetailer = value; return this; }
        public Boolean isChatEnabled() { return ChatEnabled; }
        public Retailer setChatEnabled(Boolean value) { this.ChatEnabled = value; return this; }
        public Boolean isTradeInEnabled() { return TradeInEnabled; }
        public Retailer setTradeInEnabled(Boolean value) { this.TradeInEnabled = value; return this; }
        public Boolean isSmart() { return smart; }
        public Retailer setSmart(Boolean value) { this.smart = value; return this; }
        public String getDisplayPhoneNumberNew() { return DisplayPhoneNumberNew; }
        public Retailer setDisplayPhoneNumberNew(String value) { this.DisplayPhoneNumberNew = value; return this; }
        public String getDisplayPhoneNumberUsed() { return DisplayPhoneNumberUsed; }
        public Retailer setDisplayPhoneNumberUsed(String value) { this.DisplayPhoneNumberUsed = value; return this; }
        public BigDecimal getLatitude() { return Latitude; }
        public Retailer setLatitude(BigDecimal value) { this.Latitude = value; return this; }
        public BigDecimal getLongitude() { return Longitude; }
        public Retailer setLongitude(BigDecimal value) { this.Longitude = value; return this; }
        public String getSmartDescription() { return smartDescription; }
        public Retailer setSmartDescription(String value) { this.smartDescription = value; return this; }
        public String getSmartWebsite() { return smartWebsite; }
        public Retailer setSmartWebsite(String value) { this.smartWebsite = value; return this; }
        public String getSmartPhone() { return smartPhone; }
        public Retailer setSmartPhone(String value) { this.smartPhone = value; return this; }
        public String getLegacyId() { return LegacyId; }
        public Retailer setLegacyId(String value) { this.LegacyId = value; return this; }
        public Boolean isAgent() { return Agent; }
        public Retailer setAgent(Boolean value) { this.Agent = value; return this; }
        public Integer getMarketAreaId() { return MarketAreaId; }
        public Retailer setMarketAreaId(Integer value) { this.MarketAreaId = value; return this; }
        public String getDigitalLoungeParentGssnId() { return DigitalLoungeParentGssnId; }
        public Retailer setDigitalLoungeParentGssnId(String value) { this.DigitalLoungeParentGssnId = value; return this; }
        public Boolean isSendLeadsToDigitalLoungeParent() { return SendLeadsToDigitalLoungeParent; }
        public Retailer setSendLeadsToDigitalLoungeParent(Boolean value) { this.SendLeadsToDigitalLoungeParent = value; return this; }
        public RetailerOpeningTimes getOpeningTimes() { return OpeningTimes; }
        public Retailer setOpeningTimes(RetailerOpeningTimes value) { this.OpeningTimes = value; return this; }
    }

    public static class RetailerOpeningTimes
    {
        public ArrayList<RetailerOpeningTime> New = new ArrayList<RetailerOpeningTime>();
        public ArrayList<RetailerOpeningTime> Used = new ArrayList<RetailerOpeningTime>();
        
        public ArrayList<RetailerOpeningTime> getNew() { return New; }
        public RetailerOpeningTimes setNew(ArrayList<RetailerOpeningTime> value) { this.New = value; return this; }
        public ArrayList<RetailerOpeningTime> getUsed() { return Used; }
        public RetailerOpeningTimes setUsed(ArrayList<RetailerOpeningTime> value) { this.Used = value; return this; }
    }

    public static class RetailerOpeningTime
    {
        public String Day = null;
        public String OpenFrom = null;
        public String OpenTo = null;
        public String Special = null;
        
        public String getDay() { return Day; }
        public RetailerOpeningTime setDay(String value) { this.Day = value; return this; }
        public String getOpenFrom() { return OpenFrom; }
        public RetailerOpeningTime setOpenFrom(String value) { this.OpenFrom = value; return this; }
        public String getOpenTo() { return OpenTo; }
        public RetailerOpeningTime setOpenTo(String value) { this.OpenTo = value; return this; }
        public String getSpecial() { return Special; }
        public RetailerOpeningTime setSpecial(String value) { this.Special = value; return this; }
    }

    public static class PaymentDetail
    {
        public String PaymentType = null;
        public String PaymentLink = null;
        
        public String getPaymentType() { return PaymentType; }
        public PaymentDetail setPaymentType(String value) { this.PaymentType = value; return this; }
        public String getPaymentLink() { return PaymentLink; }
        public PaymentDetail setPaymentLink(String value) { this.PaymentLink = value; return this; }
    }

}

Java GetOrderCustomerRequest 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.

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:PaymentLinks>
        <d2p1:PaymentDetail>
          <d2p1:PaymentLink>String</d2p1:PaymentLink>
          <d2p1:PaymentType>String</d2p1:PaymentType>
        </d2p1:PaymentDetail>
      </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:PaymentLinks>
        <d2p1:PaymentDetail>
          <d2p1:PaymentLink>String</d2p1:PaymentLink>
          <d2p1:PaymentType>String</d2p1:PaymentType>
        </d2p1:PaymentDetail>
      </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:PaymentLinks>
        <d2p1:PaymentDetail>
          <d2p1:PaymentLink>String</d2p1:PaymentLink>
          <d2p1:PaymentType>String</d2p1:PaymentType>
        </d2p1:PaymentDetail>
      </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:PaymentLinks>
        <d2p1:PaymentDetail>
          <d2p1:PaymentLink>String</d2p1:PaymentLink>
          <d2p1:PaymentType>String</d2p1:PaymentType>
        </d2p1:PaymentDetail>
      </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>