GET api/v{version}/season/details/{id}

Get the season details. Contains rounds and matches.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Required season id

integer

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

SeasonDetailViewModel
NameDescriptionTypeAdditional information
Schema

Get or set the type of schema that is played this season.

Schema

None.

Rounds

Collection of RoundViewModel

None.

SeasonId

integer

None.

Title

Name of the season.

string

None.

Description

Short description of the season.

string

None.

Sponsor

The main sponsor.

string

None.

Venue

Location where the games are/where played.

string

None.

City

City where the games are/where played.

string

None.

Country

Country where the games are/where played.

string

None.

CountryCode

Country code where the games are/where played.

string

None.

StartDate

Get or set the date the tournament is started.

date

None.

EndDate

Get or set the date the tournament is finished.

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Schema": 0,
  "Rounds": [
    {
      "StartDate": "2019-08-17T19:32:36.5612596+02:00",
      "EndDate": "2019-08-17T19:32:36.5612596+02:00",
      "SetScoring": 0,
      "LegScoring": 0,
      "Title": "sample string 1",
      "Short": "sample string 2",
      "Order": 3,
      "Venue": "sample string 4",
      "City": "sample string 5",
      "Country": "sample string 6",
      "CountryCode": "sample string 7",
      "Matches": [
        {
          "PlayerAId": 1,
          "PlayerBId": 2,
          "PlayerA": "sample string 3",
          "PlayerB": "sample string 4",
          "KeyA": 5,
          "KeyB": 6,
          "AvgA": 1.1,
          "AvgB": 1.1,
          "ScoreA": "sample string 7",
          "ScoreB": "sample string 8",
          "NationalityA": "sample string 9",
          "NationalityB": "sample string 10",
          "CountryCodeA": "sample string 11",
          "CountryCodeB": "sample string 12"
        },
        {
          "PlayerAId": 1,
          "PlayerBId": 2,
          "PlayerA": "sample string 3",
          "PlayerB": "sample string 4",
          "KeyA": 5,
          "KeyB": 6,
          "AvgA": 1.1,
          "AvgB": 1.1,
          "ScoreA": "sample string 7",
          "ScoreB": "sample string 8",
          "NationalityA": "sample string 9",
          "NationalityB": "sample string 10",
          "CountryCodeA": "sample string 11",
          "CountryCodeB": "sample string 12"
        }
      ]
    },
    {
      "StartDate": "2019-08-17T19:32:36.5612596+02:00",
      "EndDate": "2019-08-17T19:32:36.5612596+02:00",
      "SetScoring": 0,
      "LegScoring": 0,
      "Title": "sample string 1",
      "Short": "sample string 2",
      "Order": 3,
      "Venue": "sample string 4",
      "City": "sample string 5",
      "Country": "sample string 6",
      "CountryCode": "sample string 7",
      "Matches": [
        {
          "PlayerAId": 1,
          "PlayerBId": 2,
          "PlayerA": "sample string 3",
          "PlayerB": "sample string 4",
          "KeyA": 5,
          "KeyB": 6,
          "AvgA": 1.1,
          "AvgB": 1.1,
          "ScoreA": "sample string 7",
          "ScoreB": "sample string 8",
          "NationalityA": "sample string 9",
          "NationalityB": "sample string 10",
          "CountryCodeA": "sample string 11",
          "CountryCodeB": "sample string 12"
        },
        {
          "PlayerAId": 1,
          "PlayerBId": 2,
          "PlayerA": "sample string 3",
          "PlayerB": "sample string 4",
          "KeyA": 5,
          "KeyB": 6,
          "AvgA": 1.1,
          "AvgB": 1.1,
          "ScoreA": "sample string 7",
          "ScoreB": "sample string 8",
          "NationalityA": "sample string 9",
          "NationalityB": "sample string 10",
          "CountryCodeA": "sample string 11",
          "CountryCodeB": "sample string 12"
        }
      ]
    }
  ],
  "SeasonId": 1,
  "Title": "sample string 2",
  "Description": "sample string 3",
  "Sponsor": "sample string 4",
  "Venue": "sample string 5",
  "City": "sample string 6",
  "Country": "sample string 7",
  "CountryCode": "sample string 8",
  "StartDate": "2019-08-17T19:32:36.5612596+02:00",
  "EndDate": "2019-08-17T19:32:36.5612596+02:00"
}

application/xml, text/xml

Sample:
<SeasonDetailViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv1.Models">
  <City>sample string 6</City>
  <Country>sample string 7</Country>
  <CountryCode>sample string 8</CountryCode>
  <Description>sample string 3</Description>
  <EndDate>2019-08-17T19:32:36.5612596+02:00</EndDate>
  <SeasonId>1</SeasonId>
  <Sponsor>sample string 4</Sponsor>
  <StartDate>2019-08-17T19:32:36.5612596+02:00</StartDate>
  <Title>sample string 2</Title>
  <Venue>sample string 5</Venue>
  <Rounds>
    <RoundViewModel>
      <City>sample string 5</City>
      <Country>sample string 6</Country>
      <CountryCode>sample string 7</CountryCode>
      <EndDate>2019-08-17T19:32:36.5612596+02:00</EndDate>
      <LegScoring>Unknown</LegScoring>
      <Matches>
        <MatchViewModel>
          <AvgA>1.1</AvgA>
          <AvgB>1.1</AvgB>
          <CountryCodeA>sample string 11</CountryCodeA>
          <CountryCodeB>sample string 12</CountryCodeB>
          <KeyA>5</KeyA>
          <KeyB>6</KeyB>
          <NationalityA>sample string 9</NationalityA>
          <NationalityB>sample string 10</NationalityB>
          <PlayerA>sample string 3</PlayerA>
          <PlayerAId>1</PlayerAId>
          <PlayerB>sample string 4</PlayerB>
          <PlayerBId>2</PlayerBId>
          <ScoreA>sample string 7</ScoreA>
          <ScoreB>sample string 8</ScoreB>
        </MatchViewModel>
        <MatchViewModel>
          <AvgA>1.1</AvgA>
          <AvgB>1.1</AvgB>
          <CountryCodeA>sample string 11</CountryCodeA>
          <CountryCodeB>sample string 12</CountryCodeB>
          <KeyA>5</KeyA>
          <KeyB>6</KeyB>
          <NationalityA>sample string 9</NationalityA>
          <NationalityB>sample string 10</NationalityB>
          <PlayerA>sample string 3</PlayerA>
          <PlayerAId>1</PlayerAId>
          <PlayerB>sample string 4</PlayerB>
          <PlayerBId>2</PlayerBId>
          <ScoreA>sample string 7</ScoreA>
          <ScoreB>sample string 8</ScoreB>
        </MatchViewModel>
      </Matches>
      <Order>3</Order>
      <SetScoring>Unknown</SetScoring>
      <Short>sample string 2</Short>
      <StartDate>2019-08-17T19:32:36.5612596+02:00</StartDate>
      <Title>sample string 1</Title>
      <Venue>sample string 4</Venue>
    </RoundViewModel>
    <RoundViewModel>
      <City>sample string 5</City>
      <Country>sample string 6</Country>
      <CountryCode>sample string 7</CountryCode>
      <EndDate>2019-08-17T19:32:36.5612596+02:00</EndDate>
      <LegScoring>Unknown</LegScoring>
      <Matches>
        <MatchViewModel>
          <AvgA>1.1</AvgA>
          <AvgB>1.1</AvgB>
          <CountryCodeA>sample string 11</CountryCodeA>
          <CountryCodeB>sample string 12</CountryCodeB>
          <KeyA>5</KeyA>
          <KeyB>6</KeyB>
          <NationalityA>sample string 9</NationalityA>
          <NationalityB>sample string 10</NationalityB>
          <PlayerA>sample string 3</PlayerA>
          <PlayerAId>1</PlayerAId>
          <PlayerB>sample string 4</PlayerB>
          <PlayerBId>2</PlayerBId>
          <ScoreA>sample string 7</ScoreA>
          <ScoreB>sample string 8</ScoreB>
        </MatchViewModel>
        <MatchViewModel>
          <AvgA>1.1</AvgA>
          <AvgB>1.1</AvgB>
          <CountryCodeA>sample string 11</CountryCodeA>
          <CountryCodeB>sample string 12</CountryCodeB>
          <KeyA>5</KeyA>
          <KeyB>6</KeyB>
          <NationalityA>sample string 9</NationalityA>
          <NationalityB>sample string 10</NationalityB>
          <PlayerA>sample string 3</PlayerA>
          <PlayerAId>1</PlayerAId>
          <PlayerB>sample string 4</PlayerB>
          <PlayerBId>2</PlayerBId>
          <ScoreA>sample string 7</ScoreA>
          <ScoreB>sample string 8</ScoreB>
        </MatchViewModel>
      </Matches>
      <Order>3</Order>
      <SetScoring>Unknown</SetScoring>
      <Short>sample string 2</Short>
      <StartDate>2019-08-17T19:32:36.5612596+02:00</StartDate>
      <Title>sample string 1</Title>
      <Venue>sample string 4</Venue>
    </RoundViewModel>
  </Rounds>
  <Schema>Knockout</Schema>
</SeasonDetailViewModel>