GET api/v{version}/season/competitors?id={id}

Get the competitors of a season.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

the season id

integer

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CompetitorViewModel
NameDescriptionTypeAdditional information
Seeding

integer

None.

Position

integer

None.

Classification

Contains the classification. This field is only available when the competitors are playing a competition. If the season has a knockout system this data is not available.

ClassificationViewModel

None.

Qualifier

Has the player played a qualifing round.

boolean

None.

Wildcard

Has the player been given a wildcard?

boolean

None.

Status

Status of the player

string

None.

Player

PlayerViewModel

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Seeding": 1,
    "Position": 1,
    "Classification": {
      "Played": 1,
      "Won": 2,
      "Lost": 3,
      "Draw": 4,
      "LegSaldo": 5,
      "Points": 6,
      "OneHunderdAndEighty": 7
    },
    "Qualifier": true,
    "Wildcard": true,
    "Status": "sample string 3",
    "Player": {
      "PlayerId": 1,
      "Key": 2,
      "FullName": "sample string 3",
      "Nationality": "sample string 4",
      "NationalityCode": "sample string 5",
      "Attachment": "sample string 6",
      "AttachmentContentType": "sample string 7"
    }
  },
  {
    "Seeding": 1,
    "Position": 1,
    "Classification": {
      "Played": 1,
      "Won": 2,
      "Lost": 3,
      "Draw": 4,
      "LegSaldo": 5,
      "Points": 6,
      "OneHunderdAndEighty": 7
    },
    "Qualifier": true,
    "Wildcard": true,
    "Status": "sample string 3",
    "Player": {
      "PlayerId": 1,
      "Key": 2,
      "FullName": "sample string 3",
      "Nationality": "sample string 4",
      "NationalityCode": "sample string 5",
      "Attachment": "sample string 6",
      "AttachmentContentType": "sample string 7"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfCompetitorViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv1.Models">
  <CompetitorViewModel>
    <Classification>
      <Draw>4</Draw>
      <LegSaldo>5</LegSaldo>
      <Lost>3</Lost>
      <OneHunderdAndEighty>7</OneHunderdAndEighty>
      <Played>1</Played>
      <Points>6</Points>
      <Won>2</Won>
    </Classification>
    <Player>
      <Attachment>sample string 6</Attachment>
      <AttachmentContentType>sample string 7</AttachmentContentType>
      <FullName>sample string 3</FullName>
      <Key>2</Key>
      <Nationality>sample string 4</Nationality>
      <NationalityCode>sample string 5</NationalityCode>
      <PlayerId>1</PlayerId>
    </Player>
    <Position>1</Position>
    <Qualifier>true</Qualifier>
    <Seeding>1</Seeding>
    <Status>sample string 3</Status>
    <Wildcard>true</Wildcard>
  </CompetitorViewModel>
  <CompetitorViewModel>
    <Classification>
      <Draw>4</Draw>
      <LegSaldo>5</LegSaldo>
      <Lost>3</Lost>
      <OneHunderdAndEighty>7</OneHunderdAndEighty>
      <Played>1</Played>
      <Points>6</Points>
      <Won>2</Won>
    </Classification>
    <Player>
      <Attachment>sample string 6</Attachment>
      <AttachmentContentType>sample string 7</AttachmentContentType>
      <FullName>sample string 3</FullName>
      <Key>2</Key>
      <Nationality>sample string 4</Nationality>
      <NationalityCode>sample string 5</NationalityCode>
      <PlayerId>1</PlayerId>
    </Player>
    <Position>1</Position>
    <Qualifier>true</Qualifier>
    <Seeding>1</Seeding>
    <Status>sample string 3</Status>
    <Wildcard>true</Wildcard>
  </CompetitorViewModel>
</ArrayOfCompetitorViewModel>