GET api/v{version}/rankings

Get the rankings used by the system. Each season can be link to multiple rankings. An example ranking is the PDC Order Of Merit. Note: The system will not keep track of the rankings of individual players.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of RankingViewModel
NameDescriptionTypeAdditional information
Name

string

None.

Short

string

None.

Order

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "Short": "sample string 2",
    "Order": 3
  },
  {
    "Name": "sample string 1",
    "Short": "sample string 2",
    "Order": 3
  }
]

application/xml, text/xml

Sample:
<ArrayOfRankingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models">
  <RankingViewModel>
    <Name>sample string 1</Name>
    <Order>3</Order>
    <Short>sample string 2</Short>
  </RankingViewModel>
  <RankingViewModel>
    <Name>sample string 1</Name>
    <Order>3</Order>
    <Short>sample string 2</Short>
  </RankingViewModel>
</ArrayOfRankingViewModel>