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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

PlayerNineDartsViewModel
NameDescriptionTypeAdditional information
NumberOfMajorNineDarts

integer

None.

NumberOfTVNineDarts

integer

None.

NumberOfNineDarts

integer

None.

NumberOfWorldNineDarts

integer

None.

NineDarts

Collection of NineDartersViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "NumberOfMajorNineDarts": 1,
  "NumberOfTVNineDarts": 2,
  "NumberOfNineDarts": 3,
  "NumberOfWorldNineDarts": 4,
  "NineDarts": [
    {
      "CompetitionId": 1,
      "Competition": "sample string 2",
      "SeasonId": 3,
      "Season": "sample string 4",
      "Prize": "sample string 5",
      "Alternative": "sample string 6",
      "OnTv": true,
      "TournamentTypeGroup": "sample string 8",
      "TournamentTypeGroupId": 9
    },
    {
      "CompetitionId": 1,
      "Competition": "sample string 2",
      "SeasonId": 3,
      "Season": "sample string 4",
      "Prize": "sample string 5",
      "Alternative": "sample string 6",
      "OnTv": true,
      "TournamentTypeGroup": "sample string 8",
      "TournamentTypeGroupId": 9
    }
  ]
}

application/xml, text/xml

Sample:
<PlayerNineDartsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models">
  <NineDarts>
    <NineDartersViewModel>
      <Alternative>sample string 6</Alternative>
      <Competition>sample string 2</Competition>
      <CompetitionId>1</CompetitionId>
      <Prize>sample string 5</Prize>
      <Season>sample string 4</Season>
      <SeasonId>3</SeasonId>
    </NineDartersViewModel>
    <NineDartersViewModel>
      <Alternative>sample string 6</Alternative>
      <Competition>sample string 2</Competition>
      <CompetitionId>1</CompetitionId>
      <Prize>sample string 5</Prize>
      <Season>sample string 4</Season>
      <SeasonId>3</SeasonId>
    </NineDartersViewModel>
  </NineDarts>
  <NumberOfMajorNineDarts>1</NumberOfMajorNineDarts>
  <NumberOfNineDarts>3</NumberOfNineDarts>
  <NumberOfTVNineDarts>2</NumberOfTVNineDarts>
  <NumberOfWorldNineDarts>4</NumberOfWorldNineDarts>
</PlayerNineDartsViewModel>