GET api/competitions/{competitionID}/playerstatistics
Gets the player statistics for a competition in IBIS
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
competitionID |
The ID of the competition to fetch the player statistics for |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
A PlayerStatistics object containing a list of PlayerStatisticsRow objects sorted by PlayerStatisticsRow .Points, .GoalsScored and .Assists in descending order
PlayerStatisticsName | Description | Type | Additional information |
---|---|---|---|
PlayerStatisticsRows |
Contains the PlayerStatisticRow objects for this PlayerStatistics object |
Collection of PlayerStatisticsRow |
None. |
Response Formats
application/json, text/json
Sample:
{ "PlayerStatisticsRows": [ { "PlayerID": 1, "PlayerName": "sample string 2", "ClubID": 3, "ClubName": "sample string 4", "TeamID": 5, "TeamName": "sample string 6", "MatchesPlayed": 7, "GoalsScored": 8, "Assists": 9, "Points": 10, "PenaltyMinutes": 11 }, { "PlayerID": 1, "PlayerName": "sample string 2", "ClubID": 3, "ClubName": "sample string 4", "TeamID": 5, "TeamName": "sample string 6", "MatchesPlayed": 7, "GoalsScored": 8, "Assists": 9, "Points": 10, "PenaltyMinutes": 11 } ] }
application/xml, text/xml
Sample:
<PlayerStatistics xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IbisApi.Models"> <PlayerStatisticsRows> <PlayerStatisticsRow> <Assists>9</Assists> <ClubID>3</ClubID> <ClubName>sample string 4</ClubName> <GoalsScored>8</GoalsScored> <MatchesPlayed>7</MatchesPlayed> <PenaltyMinutes>11</PenaltyMinutes> <PlayerID>1</PlayerID> <PlayerName>sample string 2</PlayerName> <Points>10</Points> <TeamID>5</TeamID> <TeamName>sample string 6</TeamName> </PlayerStatisticsRow> <PlayerStatisticsRow> <Assists>9</Assists> <ClubID>3</ClubID> <ClubName>sample string 4</ClubName> <GoalsScored>8</GoalsScored> <MatchesPlayed>7</MatchesPlayed> <PenaltyMinutes>11</PenaltyMinutes> <PlayerID>1</PlayerID> <PlayerName>sample string 2</PlayerName> <Points>10</Points> <TeamID>5</TeamID> <TeamName>sample string 6</TeamName> </PlayerStatisticsRow> </PlayerStatisticsRows> </PlayerStatistics>