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 /TodaysRacesForHomePage HTTP/1.1
Host: tstextweb20.np.bluebet.com.au
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<TodaysRacesForHomePageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.RequestLayer.RequestFunctions" />
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<TodayRaceForHomePage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.RequestLayer.RequestFunctions">
<Greyhound>
<TodayRaceForHomePageItem>
<CountryCode>String</CountryCode>
<MasterCategoryName>String</MasterCategoryName>
<Race1 xmlns:d4p1="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">
<d4p1:AdvertisedStartTime>0001-01-01T00:00:00</d4p1:AdvertisedStartTime>
<d4p1:CountryCode>String</d4p1:CountryCode>
<d4p1:EventId>0</d4p1:EventId>
<d4p1:EventName />
<d4p1:EventTypeId>0</d4p1:EventTypeId>
<d4p1:HasFixedMarkets>false</d4p1:HasFixedMarkets>
<d4p1:IsOpenForBetting>false</d4p1:IsOpenForBetting>
<d4p1:IsSRMEEnabled>false</d4p1:IsSRMEEnabled>
<d4p1:MarketShortcuts i:nil="true" />
<d4p1:MarketsJSON>String</d4p1:MarketsJSON>
<d4p1:MasterCategoryName>String</d4p1:MasterCategoryName>
<d4p1:OutcomeJSON>String</d4p1:OutcomeJSON>
<d4p1:RaceDistance>0</d4p1:RaceDistance>
<d4p1:RaceNumber>0</d4p1:RaceNumber>
<d4p1:ResultStatusId>0</d4p1:ResultStatusId>
<d4p1:Results>String</d4p1:Results>
<d4p1:StateCode>String</d4p1:StateCode>
<d4p1:Streaming>
<d4p1:LiveStream>
<d4p1:Channel>String</d4p1:Channel>
<d4p1:Provider>String</d4p1:Provider>
</d4p1:LiveStream>
</d4p1:Streaming>
<d4p1:TipsJSON>String</d4p1:TipsJSON>
<d4p1:TipstorJSON>String</d4p1:TipstorJSON>
<d4p1:Venue>String</d4p1:Venue>
<d4p1:VenueId>0</d4p1:VenueId>
</Race1>
<Streaming xmlns:d4p1="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">
<d4p1:LiveStream>
<d4p1:Channel>String</d4p1:Channel>
<d4p1:Provider>String</d4p1:Provider>
</d4p1:LiveStream>
</Streaming>
<Venue>String</Venue>
<VenueId>0</VenueId>
</TodayRaceForHomePageItem>
</Greyhound>
<Harness>
<TodayRaceForHomePageItem>
<CountryCode>String</CountryCode>
<MasterCategoryName>String</MasterCategoryName>
<Race1 xmlns:d4p1="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">
<d4p1:AdvertisedStartTime>0001-01-01T00:00:00</d4p1:AdvertisedStartTime>
<d4p1:CountryCode>String</d4p1:CountryCode>
<d4p1:EventId>0</d4p1:EventId>
<d4p1:EventName />
<d4p1:EventTypeId>0</d4p1:EventTypeId>
<d4p1:HasFixedMarkets>false</d4p1:HasFixedMarkets>
<d4p1:IsOpenForBetting>false</d4p1:IsOpenForBetting>
<d4p1:IsSRMEEnabled>false</d4p1:IsSRMEEnabled>
<d4p1:MarketShortcuts i:nil="true" />
<d4p1:MarketsJSON>String</d4p1:MarketsJSON>
<d4p1:MasterCategoryName>String</d4p1:MasterCategoryName>
<d4p1:OutcomeJSON>String</d4p1:OutcomeJSON>
<d4p1:RaceDistance>0</d4p1:RaceDistance>
<d4p1:RaceNumber>0</d4p1:RaceNumber>
<d4p1:ResultStatusId>0</d4p1:ResultStatusId>
<d4p1:Results>String</d4p1:Results>
<d4p1:StateCode>String</d4p1:StateCode>
<d4p1:Streaming>
<d4p1:LiveStream>
<d4p1:Channel>String</d4p1:Channel>
<d4p1:Provider>String</d4p1:Provider>
</d4p1:LiveStream>
</d4p1:Streaming>
<d4p1:TipsJSON>String</d4p1:TipsJSON>
<d4p1:TipstorJSON>String</d4p1:TipstorJSON>
<d4p1:Venue>String</d4p1:Venue>
<d4p1:VenueId>0</d4p1:VenueId>
</Race1>
<Streaming xmlns:d4p1="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">
<d4p1:LiveStream>
<d4p1:Channel>String</d4p1:Channel>
<d4p1:Provider>String</d4p1:Provider>
</d4p1:LiveStream>
</Streaming>
<Venue>String</Venue>
<VenueId>0</VenueId>
</TodayRaceForHomePageItem>
</Harness>
<Throughbred>
<TodayRaceForHomePageItem>
<CountryCode>String</CountryCode>
<MasterCategoryName>String</MasterCategoryName>
<Race1 xmlns:d4p1="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">
<d4p1:AdvertisedStartTime>0001-01-01T00:00:00</d4p1:AdvertisedStartTime>
<d4p1:CountryCode>String</d4p1:CountryCode>
<d4p1:EventId>0</d4p1:EventId>
<d4p1:EventName />
<d4p1:EventTypeId>0</d4p1:EventTypeId>
<d4p1:HasFixedMarkets>false</d4p1:HasFixedMarkets>
<d4p1:IsOpenForBetting>false</d4p1:IsOpenForBetting>
<d4p1:IsSRMEEnabled>false</d4p1:IsSRMEEnabled>
<d4p1:MarketShortcuts i:nil="true" />
<d4p1:MarketsJSON>String</d4p1:MarketsJSON>
<d4p1:MasterCategoryName>String</d4p1:MasterCategoryName>
<d4p1:OutcomeJSON>String</d4p1:OutcomeJSON>
<d4p1:RaceDistance>0</d4p1:RaceDistance>
<d4p1:RaceNumber>0</d4p1:RaceNumber>
<d4p1:ResultStatusId>0</d4p1:ResultStatusId>
<d4p1:Results>String</d4p1:Results>
<d4p1:StateCode>String</d4p1:StateCode>
<d4p1:Streaming>
<d4p1:LiveStream>
<d4p1:Channel>String</d4p1:Channel>
<d4p1:Provider>String</d4p1:Provider>
</d4p1:LiveStream>
</d4p1:Streaming>
<d4p1:TipsJSON>String</d4p1:TipsJSON>
<d4p1:TipstorJSON>String</d4p1:TipstorJSON>
<d4p1:Venue>String</d4p1:Venue>
<d4p1:VenueId>0</d4p1:VenueId>
</Race1>
<Streaming xmlns:d4p1="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">
<d4p1:LiveStream>
<d4p1:Channel>String</d4p1:Channel>
<d4p1:Provider>String</d4p1:Provider>
</d4p1:LiveStream>
</Streaming>
<Venue>String</Venue>
<VenueId>0</VenueId>
</TodayRaceForHomePageItem>
</Throughbred>
</TodayRaceForHomePage>