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>