To override the Content-type in your clients, use the HTTP Accept Header, append the .soap12 suffix or ?format=soap12
HTTP + SOAP12
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /soap12 HTTP/1.1
Host: tstextweb20.np.bluebet.com.au
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<InMarketBetsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.RequestLayer.RequestFunctions">
<EventId>0</EventId>
</InMarketBetsRequest>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<InMarketBetEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">
<Bets>
<InMarketBet>
<BetId>0</BetId>
<BetSubTypeCode>String</BetSubTypeCode>
<BetTypeCode>String</BetTypeCode>
<Details>
<InMarketBetDetail>
<BetDetailId>0</BetDetailId>
<BetDetailTypeCode>String</BetDetailTypeCode>
<BetId>0</BetId>
<DividendTypeCode>String</DividendTypeCode>
<EventId>0</EventId>
<FixedPrice>0</FixedPrice>
<MarketTypeCode>String</MarketTypeCode>
<OutcomeId>0</OutcomeId>
<SelectionString>String</SelectionString>
<Selections>
<InMarketBetSelection>
<BetDetailId>0</BetDetailId>
<FixedPrice>0</FixedPrice>
<LegId>0</LegId>
<Outcome>
<BarrierBox>0</BarrierBox>
<EventId>0</EventId>
<OutcomeId>0</OutcomeId>
<OutcomeName>String</OutcomeName>
<Scratched>false</Scratched>
</Outcome>
<OutcomeId>0</OutcomeId>
</InMarketBetSelection>
</Selections>
</InMarketBetDetail>
</Details>
<FreeBetID>0</FreeBetID>
<IsBlueBoosted>false</IsBlueBoosted>
<IsDerivedEvent>false</IsDerivedEvent>
<MultipleDisplayType>String</MultipleDisplayType>
<Price>String</Price>
<TotalLines>0</TotalLines>
<TotalStake>0</TotalStake>
</InMarketBet>
</Bets>
<DerivedEventIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>0</d2p1:int>
</DerivedEventIds>
<EventId>0</EventId>
<EventTypeId>0</EventTypeId>
<IsJockeySilkExist>false</IsJockeySilkExist>
</InMarketBetEvent>
</soap12:Body>
</soap12:Envelope>