| GET,POST | /MasterEventLiveScore | Gets master event live score. | Gets master event live match score. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| MasterEventId | body | int | Yes | Master Event Id |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Items | form | List<MatchScore> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| MasterEventId | form | int | No | |
| DSGMatchId | form | int | No | |
| HomeTeam | form | string | No | |
| AwayTeam | form | string | No | |
| HomeTeamAbbreviated | form | string | No | |
| AwayTeamAbbreviated | form | string | No | |
| CurrentPeriod | form | string | No | |
| Clock | form | string | No | |
| ClockType | form | string | No | |
| IsClockRunning | form | bool | No | |
| DisciplineName | form | string | No | |
| Possession | form | string | No | |
| DSGMatchStatus | form | string | No | |
| PeriodScores | form | List<PeriodScore> | No | |
| PlayerScores | form | List<PlayerScore> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PeriodType | form | string | No | |
| PeriodDisplayName | form | string | No | |
| HomeTeamScore | form | string | No | |
| AwayTeamScore | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PlayerScoreType | form | string | No | |
| PlayerName | form | string | No | |
| Score | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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/jsv
Content-Type: text/jsv
Content-Length: length
{
MasterEventId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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
}
]
}
]
}