| 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 .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 /PlayerStats HTTP/1.1
Host: tstextweb20.np.bluebet.com.au
Accept: application/json
Content-Type: application/json
Content-Length: length
{"MasterEventId":0,"EventClassId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Items":[{"PlayerName":"String","PlayerStats":[{"DSGMatchID":0,"DSGPeopleID":0,"Stat":"String","StatValue":"String","MatchStartTimeUTC":"0001-01-01T00:00:00.0000000Z","HomeTeam":"String","AwayTeam":"String","PlayerTeam":"String","HomeTeamScore":"String","AwayTeamScore":"String","HomeTeamAbbreviatedName":"String","AwayTeamAbbreviatedName":"String"}]}],"Error":"String"}