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/backorder/detail/{BackOrderGuid} 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
<GetBackOrderDetailResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.ServiceModel.BackOrders">
<BackOrder xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mercedes.Agency.Orchestration.API.Business.Poco">
<d2p1:ActualPrice>String</d2p1:ActualPrice>
<d2p1:Agent>String</d2p1:Agent>
<d2p1:BodyStyle>String</d2p1:BodyStyle>
<d2p1:Colour>String</d2p1:Colour>
<d2p1:CommissionNumber>String</d2p1:CommissionNumber>
<d2p1:Description>String</d2p1:Description>
<d2p1:Engine>String</d2p1:Engine>
<d2p1:Fuel>String</d2p1:Fuel>
<d2p1:FullModelYearCode>String</d2p1:FullModelYearCode>
<d2p1:Guid>String</d2p1:Guid>
<d2p1:ImageUrl>String</d2p1:ImageUrl>
<d2p1:Line>String</d2p1:Line>
<d2p1:NetPrice>String</d2p1:NetPrice>
<d2p1:OtrPrice>String</d2p1:OtrPrice>
<d2p1:OutrightPurchaseCorporation>String</d2p1:OutrightPurchaseCorporation>
<d2p1:Package>String</d2p1:Package>
<d2p1:PortArrivalDate>String</d2p1:PortArrivalDate>
<d2p1:ProductionDate>String</d2p1:ProductionDate>
<d2p1:Reference>String</d2p1:Reference>
<d2p1:Transmission>String</d2p1:Transmission>
<d2p1:Upholstery>String</d2p1:Upholstery>
<d2p1:Vin>String</d2p1:Vin>
</BackOrder>
</GetBackOrderDetailResponse>