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 /PlayerStats HTTP/1.1
Host: tstextweb20.np.bluebet.com.au
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<PlayerStatsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.RequestLayer.RequestFunctions">
<EventClassId>0</EventClassId>
<MasterEventId>0</MasterEventId>
</PlayerStatsRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<PlayerStatsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.RequestLayer.RequestFunctions">
<Error>String</Error>
<Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/TBS.Frontend.Data.Models">
<d2p1:PlayerStat>
<d2p1:PlayerName>String</d2p1:PlayerName>
<d2p1:PlayerStats>
<d2p1:PlayerStatInfo>
<d2p1:AwayTeam>String</d2p1:AwayTeam>
<d2p1:AwayTeamAbbreviatedName>String</d2p1:AwayTeamAbbreviatedName>
<d2p1:AwayTeamScore>String</d2p1:AwayTeamScore>
<d2p1:DSGMatchID>0</d2p1:DSGMatchID>
<d2p1:DSGPeopleID>0</d2p1:DSGPeopleID>
<d2p1:HomeTeam>String</d2p1:HomeTeam>
<d2p1:HomeTeamAbbreviatedName>String</d2p1:HomeTeamAbbreviatedName>
<d2p1:HomeTeamScore>String</d2p1:HomeTeamScore>
<d2p1:MatchStartTimeUTC>0001-01-01T00:00:00</d2p1:MatchStartTimeUTC>
<d2p1:PlayerTeam>String</d2p1:PlayerTeam>
<d2p1:Stat>String</d2p1:Stat>
<d2p1:StatValue>String</d2p1:StatValue>
</d2p1:PlayerStatInfo>
</d2p1:PlayerStats>
</d2p1:PlayerStat>
</Items>
</PlayerStatsResponse>