TBS Apps API

<back to all web services

PlayerStatsRequest

Get Player Stats.Get Player Stats.
PlayerStatsRequest Parameters:
NameParameterData TypeRequiredDescription
MasterEventIdbodyintYesMaster Event Id
EventClassIdbodyintYesEvent Class Id
PlayerStatsResponse Parameters:
NameParameterData TypeRequiredDescription
ItemsformList<PlayerStat>No
ErrorformstringNo
PlayerStat Parameters:
NameParameterData TypeRequiredDescription
PlayerNameformstringNo
PlayerStatsformList<PlayerStatInfo>No
PlayerStatInfo Parameters:
NameParameterData TypeRequiredDescription
DSGMatchIDformintNo
DSGPeopleIDformintNo
StatformstringNo
StatValueformstringNo
MatchStartTimeUTCformDateTimeNo
HomeTeamformstringNo
AwayTeamformstringNo
PlayerTeamformstringNo
HomeTeamScoreformstringNo
AwayTeamScoreformstringNo
HomeTeamAbbreviatedNameformstringNo
AwayTeamAbbreviatedNameformstringNo

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>

<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>

    </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>

<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>

    </soap12:Body>
</soap12:Envelope>