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

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

PlayerNineDartsViewModel
NameDescriptionTypeAdditional information
NineDarts

Collection of NineDartersViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "NineDarts": [
    {
      "CompetitionId": 1,
      "Competition": "sample string 2",
      "SeasonId": 3,
      "Season": "sample string 4",
      "Prize": "sample string 5",
      "Alternative": "sample string 6"
    },
    {
      "CompetitionId": 1,
      "Competition": "sample string 2",
      "SeasonId": 3,
      "Season": "sample string 4",
      "Prize": "sample string 5",
      "Alternative": "sample string 6"
    }
  ]
}

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>
</PlayerNineDartsViewModel>