| GET,POST | /PlayerStats | Get Player Stats. | Get Player Stats. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| MasterEventId | body | int | Yes | Master Event Id |
| EventClassId | body | int | Yes | Event Class Id |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Items | form | List<PlayerStat> | No | |
| Error | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PlayerName | form | string | No | |
| PlayerStats | form | List<PlayerStatInfo> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| DSGMatchID | form | int | No | |
| DSGPeopleID | form | int | No | |
| Stat | form | string | No | |
| StatValue | form | string | No | |
| MatchStartTimeUTC | form | DateTime | No | |
| HomeTeam | form | string | No | |
| AwayTeam | form | string | No | |
| PlayerTeam | form | string | No | |
| HomeTeamScore | form | string | No | |
| AwayTeamScore | form | string | No | |
| HomeTeamAbbreviatedName | form | string | No | |
| AwayTeamAbbreviatedName | 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 /PlayerStats HTTP/1.1
Host: tstextweb20.np.bluebet.com.au
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
MasterEventId: 0,
EventClassId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Items:
[
{
PlayerName: String,
PlayerStats:
[
{
DSGMatchID: 0,
DSGPeopleID: 0,
Stat: String,
StatValue: String,
MatchStartTimeUTC: 0001-01-01,
HomeTeam: String,
AwayTeam: String,
PlayerTeam: String,
HomeTeamScore: String,
AwayTeamScore: String,
HomeTeamAbbreviatedName: String,
AwayTeamAbbreviatedName: String
}
]
}
],
Error: String
}