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 /SameGameMultiPrice HTTP/1.1
Host: tstextweb20.np.bluebet.com.au
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<SameGameMultiPriceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.RequestLayer">
<Markets xmlns:d2p1="http://schemas.datacontract.org/2004/07/TBS.Frontend.MessageContracts">
<d2p1:SameGameMultiLeg>
<d2p1:EventId>0</d2p1:EventId>
<d2p1:FixedMarketId>0</d2p1:FixedMarketId>
<d2p1:FixedWin>0</d2p1:FixedWin>
<d2p1:GroupByHeader>String</d2p1:GroupByHeader>
<d2p1:MarketType>String</d2p1:MarketType>
<d2p1:MarketTypeDesc>String</d2p1:MarketTypeDesc>
<d2p1:OutcomeId>0</d2p1:OutcomeId>
<d2p1:OutcomeName>String</d2p1:OutcomeName>
<d2p1:Points>0</d2p1:Points>
</d2p1:SameGameMultiLeg>
</Markets>
</SameGameMultiPriceRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<SameGameMultiPriceResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">
<ErrorNo>0</ErrorNo>
<Identity>0</Identity>
<Message>String</Message>
<Price>0</Price>
</SameGameMultiPriceResult>