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/details/{vehicleType}/{Identifier} HTTP/1.1
Host: uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<VehicleDetailsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercedes.VehicleManagement.API.Shared.POCO.V3">
<Vehicle>
<Account>String</Account>
<ActualPrice>0</ActualPrice>
<Baumuster>String</Baumuster>
<Bm7NST>String</Bm7NST>
<BodyStyle>String</BodyStyle>
<Colour>String</Colour>
<ColourDescription>String</ColourDescription>
<CommissionNumber>String</CommissionNumber>
<Description>String</Description>
<DisplayRetailer>String</DisplayRetailer>
<ElectricConsumption>0</ElectricConsumption>
<ElectricRange>0</ElectricRange>
<FuelType>String</FuelType>
<FullModelYearCode>String</FullModelYearCode>
<ImageUrl>String</ImageUrl>
<InBackOrderAccount>false</InBackOrderAccount>
<IsAllocatedToBackOrder>false</IsAllocatedToBackOrder>
<IsAvailableOnline>false</IsAvailableOnline>
<IsSellable>false</IsSellable>
<IsSpecialistCar>false</IsSpecialistCar>
<IspVehicleCustomerDescriptions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</IspVehicleCustomerDescriptions>
<Line>String</Line>
<Location>String</Location>
<Model>String</Model>
<NST>String</NST>
<OTRPrice>0</OTRPrice>
<Package>String</Package>
<Packages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</Packages>
<PortArrivalDate>0001-01-01T00:00:00</PortArrivalDate>
<ProductionDate>String</ProductionDate>
<RetailPrice_ExVAT>0</RetailPrice_ExVAT>
<RetailerId>0</RetailerId>
<Secured>false</Secured>
<Transmission>String</Transmission>
<TransmissionType>String</TransmissionType>
<UnderOffer>false</UnderOffer>
<Upholstery>String</Upholstery>
<UpholsteryDescription>String</UpholsteryDescription>
<UsageCode>String</UsageCode>
<VehicleAuditDetails>
<VehicleAuditDetails>
<CreationDate>String</CreationDate>
<Notes>String</Notes>
<Status>false</Status>
<UserId>String</UserId>
</VehicleAuditDetails>
</VehicleAuditDetails>
<VehicleType>String</VehicleType>
<Vin>String</Vin>
<Engine>String</Engine>
</Vehicle>
</VehicleDetailsResponse>