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.
POST /xml/reply/ProxyJobStatusHistoryItem HTTP/1.1
Host: vincarrier.cardeliverynetwork.com
Content-Type: application/xml
Content-Length: length
<ProxyJobStatusHistoryItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VinDeliver.ServiceModel.Model.OpenApiProxies">
<Changed xmlns="http://schemas.datacontract.org/2004/07/CarDeliveryNetwork.Api.Data">0001-01-01T00:00:00</Changed>
<Notes xmlns="http://schemas.datacontract.org/2004/07/CarDeliveryNetwork.Api.Data">String</Notes>
<PositionAtStatus xmlns="http://schemas.datacontract.org/2004/07/CarDeliveryNetwork.Api.Data">
<Altitude>0</Altitude>
<Heading>0</Heading>
<Latitude>0</Latitude>
<Longitude>0</Longitude>
<Speed>0</Speed>
<Time>0001-01-01T00:00:00</Time>
</PositionAtStatus>
<Status xmlns="http://schemas.datacontract.org/2004/07/CarDeliveryNetwork.Api.Data">Quote</Status>
<StatusFriendly xmlns="http://schemas.datacontract.org/2004/07/CarDeliveryNetwork.Api.Data">String</StatusFriendly>
<LoadId>String</LoadId>
</ProxyJobStatusHistoryItem>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ArrayOfProxyJobStatusHistoryItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VinDeliver.ServiceModel.Model.OpenApiProxies">
<ProxyJobStatusHistoryItem>
<Changed xmlns="http://schemas.datacontract.org/2004/07/CarDeliveryNetwork.Api.Data">0001-01-01T00:00:00</Changed>
<Notes xmlns="http://schemas.datacontract.org/2004/07/CarDeliveryNetwork.Api.Data">String</Notes>
<PositionAtStatus xmlns="http://schemas.datacontract.org/2004/07/CarDeliveryNetwork.Api.Data">
<Altitude>0</Altitude>
<Heading>0</Heading>
<Latitude>0</Latitude>
<Longitude>0</Longitude>
<Speed>0</Speed>
<Time>0001-01-01T00:00:00</Time>
</PositionAtStatus>
<Status xmlns="http://schemas.datacontract.org/2004/07/CarDeliveryNetwork.Api.Data">Quote</Status>
<StatusFriendly xmlns="http://schemas.datacontract.org/2004/07/CarDeliveryNetwork.Api.Data">String</StatusFriendly>
<LoadId>String</LoadId>
</ProxyJobStatusHistoryItem>
</ArrayOfProxyJobStatusHistoryItem>