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 /qry/feed/locations HTTP/1.1
Host: s4w2.api.bengabet.webhop.biz
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<GetLocationFeed xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Six4Win.WebApi.ServiceModel">
<Id>String</Id>
</GetLocationFeed>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<LocationFeed xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Six4Win.ReadModel">
<Exists>false</Exists>
<Id>String</Id>
<LCPInfo>
<Current>
<Amount>0</Amount>
<InertCode>String</InertCode>
<RoundId>String</RoundId>
</Current>
<IsActive>false</IsActive>
<Winners xmlns:d3p1="http://schemas.datacontract.org/2004/07/Six4Win">
<d3p1:LCPAccumulation.Winner>
<d3p1:Amount>0</d3p1:Amount>
<d3p1:BetId>String</d3p1:BetId>
<d3p1:Code>String</d3p1:Code>
<d3p1:RoundId>String</d3p1:RoundId>
<d3p1:SlipId>String</d3p1:SlipId>
</d3p1:LCPAccumulation.Winner>
</Winners>
</LCPInfo>
</LocationFeed>