GET api/Player/Statistics/Game/Get?seasonId={seasonId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| seasonId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
ServiceResultOfGameStatistics| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | GameStatistics |
None. |
|
| ErrorCode | ServiceErrorCode |
None. |
|
| ErrorMessage | Collection of string |
None. |
|
| Success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": {
"Goals": 1,
"Assists": 1,
"Passes": 1,
"DuelsWon": 1,
"Fouls": 1,
"FoulsSuffered": 1,
"YellowCard": 1,
"RedCard": 1,
"MinutesPlayed": 1,
"ShotsOnTarget": 1,
"Touches": 1,
"BallLosses": 1,
"LastGameHeatmap": "sample string 1"
},
"ErrorCode": 0,
"ErrorMessage": [
"sample string 1",
"sample string 2"
],
"Success": true
}
application/xml, text/xml
Sample:
<ServiceResultOfGameStatisticsiCAdAg9i xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FootballISM.Api.Contracts.Results">
<ErrorCode>None</ErrorCode>
<ErrorMessage xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ErrorMessage>
<Success>true</Success>
<Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/FootballISM.Api.Contracts.Player">
<d2p1:Assists>1</d2p1:Assists>
<d2p1:BallLosses>1</d2p1:BallLosses>
<d2p1:DuelsWon>1</d2p1:DuelsWon>
<d2p1:Fouls>1</d2p1:Fouls>
<d2p1:FoulsSuffered>1</d2p1:FoulsSuffered>
<d2p1:Goals>1</d2p1:Goals>
<d2p1:LastGameHeatmap>sample string 1</d2p1:LastGameHeatmap>
<d2p1:MinutesPlayed>1</d2p1:MinutesPlayed>
<d2p1:Passes>1</d2p1:Passes>
<d2p1:RedCard>1</d2p1:RedCard>
<d2p1:ShotsOnTarget>1</d2p1:ShotsOnTarget>
<d2p1:Touches>1</d2p1:Touches>
<d2p1:YellowCard>1</d2p1:YellowCard>
</Result>
</ServiceResultOfGameStatisticsiCAdAg9i>