To override the Content-type in your clients, use the HTTP Accept Header, append the .soap11 suffix or ?format=soap11
HTTP + SOAP11
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /soap11 HTTP/1.1
Host: ios-api.betright.com.au
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: PendingBetsPagedRequest
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<PendingBetsPagedRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.AppsAPI.SS.Services">
<PageNumber>0</PageNumber>
<RowsPerPage>0</RowsPerPage>
</PendingBetsPagedRequest>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<BettingHistoryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.RequestLayer.RequestFunctions">
<Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">
<d2p1:BettingHistoryItem>
<d2p1:AdvertisedStartTimeUTC>0001-01-01T00:00:00</d2p1:AdvertisedStartTimeUTC>
<d2p1:BetClass>String</d2p1:BetClass>
<d2p1:BetDateTimeUTC>0001-01-01T00:00:00</d2p1:BetDateTimeUTC>
<d2p1:BetDescription>String</d2p1:BetDescription>
<d2p1:BetId>0</d2p1:BetId>
<d2p1:BetSubTypeCode>String</d2p1:BetSubTypeCode>
<d2p1:BetTypeCode>String</d2p1:BetTypeCode>
<d2p1:CategoryName>String</d2p1:CategoryName>
<d2p1:Channel>String</d2p1:Channel>
<d2p1:ChannelId>0</d2p1:ChannelId>
<d2p1:CountryCode>String</d2p1:CountryCode>
<d2p1:DisplayStatus>String</d2p1:DisplayStatus>
<d2p1:EventID>0</d2p1:EventID>
<d2p1:EventName>String</d2p1:EventName>
<d2p1:EventStatus>String</d2p1:EventStatus>
<d2p1:EventTypeId>0</d2p1:EventTypeId>
<d2p1:FreeBetId>0</d2p1:FreeBetId>
<d2p1:IsCashOutAvailable>false</d2p1:IsCashOutAvailable>
<d2p1:LastModifiedDateTimeUTC>0001-01-01T00:00:00Z</d2p1:LastModifiedDateTimeUTC>
<d2p1:LocalOffset>0</d2p1:LocalOffset>
<d2p1:MarketType>String</d2p1:MarketType>
<d2p1:MasterEventID>0</d2p1:MasterEventID>
<d2p1:MasterEventName>String</d2p1:MasterEventName>
<d2p1:RaceNumber>0</d2p1:RaceNumber>
<d2p1:SettledStateDesc>String</d2p1:SettledStateDesc>
<d2p1:SettledStateId>0</d2p1:SettledStateId>
<d2p1:TicketNumber>String</d2p1:TicketNumber>
<d2p1:TotalLines>0</d2p1:TotalLines>
<d2p1:TotalPayout>0</d2p1:TotalPayout>
<d2p1:TotalStake>0</d2p1:TotalStake>
<d2p1:Venue>String</d2p1:Venue>
</d2p1:BettingHistoryItem>
</Items>
<TotalCount>0</TotalCount>
</BettingHistoryResponse>
</soap:Body>
</soap:Envelope>