TBS Apps API

<back to all web services

MasterEventLiveScoreRequest

The following routes are available for this service:
GET,POST/MasterEventLiveScoreGets master event live score.Gets master event live match score.
MasterEventLiveScoreRequest Parameters:
NameParameterData TypeRequiredDescription
MasterEventIdbodyintYesMaster Event Id
MasterEventLiveScoreResponse Parameters:
NameParameterData TypeRequiredDescription
ItemsformList<MatchScore>No
MatchScore Parameters:
NameParameterData TypeRequiredDescription
MasterEventIdformintNo
DSGMatchIdformintNo
HomeTeamformstringNo
AwayTeamformstringNo
HomeTeamAbbreviatedformstringNo
AwayTeamAbbreviatedformstringNo
CurrentPeriodformstringNo
ClockformstringNo
ClockTypeformstringNo
IsClockRunningformboolNo
DisciplineNameformstringNo
PossessionformstringNo
DSGMatchStatusformstringNo
PeriodScoresformList<PeriodScore>No
PlayerScoresformList<PlayerScore>No
PeriodScore Parameters:
NameParameterData TypeRequiredDescription
PeriodTypeformstringNo
PeriodDisplayNameformstringNo
HomeTeamScoreformstringNo
AwayTeamScoreformstringNo
PlayerScore Parameters:
NameParameterData TypeRequiredDescription
PlayerScoreTypeformstringNo
PlayerNameformstringNo
ScoreformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /MasterEventLiveScore HTTP/1.1 
Host: tstextweb20.np.bluebet.com.au 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"MasterEventId":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Items":[{"MasterEventId":0,"DSGMatchId":0,"HomeTeam":"String","AwayTeam":"String","HomeTeamAbbreviated":"String","AwayTeamAbbreviated":"String","CurrentPeriod":"String","Clock":"String","ClockType":"String","IsClockRunning":false,"DisciplineName":"String","Possession":"String","DSGMatchStatus":"String","PeriodScores":[{"PeriodType":"String","PeriodDisplayName":"String","HomeTeamScore":"String","AwayTeamScore":"String"}],"PlayerScores":[{"PlayerScoreType":"String","PlayerName":"String","Score":"String"}]}]}