GET api/v{version}/player/ninedarts?ids[0]={ids[0]}&ids[1]={ids[1]}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ids

Collection of integer

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

Dictionary of integer [key] and PlayerNineDartsViewModel [value]

Response Formats

application/json, text/json

Sample:
{
  "1": {
    "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"
      },
      {
        "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"
      }
    ]
  },
  "2": {
    "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"
      },
      {
        "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"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfintPlayerNineDartsViewModel2SEjVe6h xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfintPlayerNineDartsViewModel2SEjVe6h>
    <Key>1</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models">
      <d3p1:NineDarts>
        <d3p1:NineDartersViewModel>
          <d3p1:Alternative>sample string 6</d3p1:Alternative>
          <d3p1:Competition>sample string 2</d3p1:Competition>
          <d3p1:CompetitionId>1</d3p1:CompetitionId>
          <d3p1:Prize>sample string 5</d3p1:Prize>
          <d3p1:Season>sample string 4</d3p1:Season>
          <d3p1:SeasonId>3</d3p1:SeasonId>
        </d3p1:NineDartersViewModel>
        <d3p1:NineDartersViewModel>
          <d3p1:Alternative>sample string 6</d3p1:Alternative>
          <d3p1:Competition>sample string 2</d3p1:Competition>
          <d3p1:CompetitionId>1</d3p1:CompetitionId>
          <d3p1:Prize>sample string 5</d3p1:Prize>
          <d3p1:Season>sample string 4</d3p1:Season>
          <d3p1:SeasonId>3</d3p1:SeasonId>
        </d3p1:NineDartersViewModel>
      </d3p1:NineDarts>
      <d3p1:NumberOfMajorNineDarts>1</d3p1:NumberOfMajorNineDarts>
      <d3p1:NumberOfNineDarts>3</d3p1:NumberOfNineDarts>
      <d3p1:NumberOfTVNineDarts>2</d3p1:NumberOfTVNineDarts>
      <d3p1:NumberOfWorldNineDarts>4</d3p1:NumberOfWorldNineDarts>
    </Value>
  </KeyValueOfintPlayerNineDartsViewModel2SEjVe6h>
  <KeyValueOfintPlayerNineDartsViewModel2SEjVe6h>
    <Key>2</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models">
      <d3p1:NineDarts>
        <d3p1:NineDartersViewModel>
          <d3p1:Alternative>sample string 6</d3p1:Alternative>
          <d3p1:Competition>sample string 2</d3p1:Competition>
          <d3p1:CompetitionId>1</d3p1:CompetitionId>
          <d3p1:Prize>sample string 5</d3p1:Prize>
          <d3p1:Season>sample string 4</d3p1:Season>
          <d3p1:SeasonId>3</d3p1:SeasonId>
        </d3p1:NineDartersViewModel>
        <d3p1:NineDartersViewModel>
          <d3p1:Alternative>sample string 6</d3p1:Alternative>
          <d3p1:Competition>sample string 2</d3p1:Competition>
          <d3p1:CompetitionId>1</d3p1:CompetitionId>
          <d3p1:Prize>sample string 5</d3p1:Prize>
          <d3p1:Season>sample string 4</d3p1:Season>
          <d3p1:SeasonId>3</d3p1:SeasonId>
        </d3p1:NineDartersViewModel>
      </d3p1:NineDarts>
      <d3p1:NumberOfMajorNineDarts>1</d3p1:NumberOfMajorNineDarts>
      <d3p1:NumberOfNineDarts>3</d3p1:NumberOfNineDarts>
      <d3p1:NumberOfTVNineDarts>2</d3p1:NumberOfTVNineDarts>
      <d3p1:NumberOfWorldNineDarts>4</d3p1:NumberOfWorldNineDarts>
    </Value>
  </KeyValueOfintPlayerNineDartsViewModel2SEjVe6h>
</ArrayOfKeyValueOfintPlayerNineDartsViewModel2SEjVe6h>