| GET,POST | /MatchScore | Gets match score. | Gets match score. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BetId | body | int | Yes | Bet 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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /MatchScore HTTP/1.1
Host: tstextweb20.np.bluebet.com.au
Accept: application/json
Content-Type: application/json
Content-Length: length
{"BetId":0}
HTTP/1.1 200 OK
Content-Type: application/json
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"}]}]}