GET api/v{version}/player/{id}/averages

Get the ninedarts thrown by a player.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

PlayerAveragesViewModel
NameDescriptionTypeAdditional information
Highest

AverageViewModel

None.

HighestMajor

AverageViewModel

None.

HighestTV

AverageViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Highest": {
    "Average": 1.1,
    "SeasonId": 2,
    "SeasonTitle": "sample string 3",
    "CompetitionId": 4,
    "CompetitionTitle": "sample string 5"
  },
  "HighestMajor": {
    "Average": 1.1,
    "SeasonId": 2,
    "SeasonTitle": "sample string 3",
    "CompetitionId": 4,
    "CompetitionTitle": "sample string 5"
  },
  "HighestTV": {
    "Average": 1.1,
    "SeasonId": 2,
    "SeasonTitle": "sample string 3",
    "CompetitionId": 4,
    "CompetitionTitle": "sample string 5"
  }
}

application/xml, text/xml

Sample:
<PlayerAveragesViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models">
  <Highest>
    <Average>1.1</Average>
    <CompetitionId>4</CompetitionId>
    <CompetitionTitle>sample string 5</CompetitionTitle>
    <SeasonId>2</SeasonId>
    <SeasonTitle>sample string 3</SeasonTitle>
  </Highest>
  <HighestMajor>
    <Average>1.1</Average>
    <CompetitionId>4</CompetitionId>
    <CompetitionTitle>sample string 5</CompetitionTitle>
    <SeasonId>2</SeasonId>
    <SeasonTitle>sample string 3</SeasonTitle>
  </HighestMajor>
  <HighestTV>
    <Average>1.1</Average>
    <CompetitionId>4</CompetitionId>
    <CompetitionTitle>sample string 5</CompetitionTitle>
    <SeasonId>2</SeasonId>
    <SeasonTitle>sample string 3</SeasonTitle>
  </HighestTV>
</PlayerAveragesViewModel>