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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

SeasonTextModel
NameDescriptionTypeAdditional information
SeasonId

integer

None.

Name

string

None.

NumberOfPlayers

integer

None.

Rankings

string

None.

Labels

string

None.

StartTime

string

None.

EndTime

string

None.

Modified

string

None.

ModifiedBy

string

None.

Created

string

None.

CreatedBy

string

None.

Status

string

None.

Players

Collection of PlayerTextModel

None.

Rounds

Collection of RoundTextModel

None.

NumberOfCompetitors

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "SeasonId": 1,
  "Name": "sample string 2",
  "NumberOfPlayers": 1,
  "Rankings": "sample string 3",
  "Labels": "sample string 4",
  "StartTime": "sample string 5",
  "EndTime": "sample string 6",
  "Modified": "sample string 7",
  "ModifiedBy": "sample string 8",
  "Created": "sample string 9",
  "CreatedBy": "sample string 10",
  "Status": "sample string 11",
  "Players": [
    {
      "PlayerId": 1,
      "Name": "sample string 2",
      "Nationality": "sample string 3",
      "Gender": "sample string 4",
      "CreatedBySeason": true,
      "Created": "sample string 6",
      "ModifiedBySeason": true,
      "Modified": "sample string 8",
      "TotalSeasonPlayed": 9
    },
    {
      "PlayerId": 1,
      "Name": "sample string 2",
      "Nationality": "sample string 3",
      "Gender": "sample string 4",
      "CreatedBySeason": true,
      "Created": "sample string 6",
      "ModifiedBySeason": true,
      "Modified": "sample string 8",
      "TotalSeasonPlayed": 9
    }
  ],
  "Rounds": [
    {
      "Name": "sample string 1",
      "Matches": [
        {
          "PlayerA": {
            "PlayerId": 1,
            "Name": "sample string 2",
            "Nationality": "sample string 3",
            "Gender": "sample string 4",
            "CreatedBySeason": true,
            "Created": "sample string 6",
            "ModifiedBySeason": true,
            "Modified": "sample string 8",
            "TotalSeasonPlayed": 9
          },
          "PlayerB": {
            "PlayerId": 1,
            "Name": "sample string 2",
            "Nationality": "sample string 3",
            "Gender": "sample string 4",
            "CreatedBySeason": true,
            "Created": "sample string 6",
            "ModifiedBySeason": true,
            "Modified": "sample string 8",
            "TotalSeasonPlayed": 9
          },
          "ScoreA": "sample string 1",
          "AvgA": 1.1,
          "ScoreB": "sample string 2",
          "AvgB": 1.1,
          "Empty": false
        },
        {
          "PlayerA": {
            "PlayerId": 1,
            "Name": "sample string 2",
            "Nationality": "sample string 3",
            "Gender": "sample string 4",
            "CreatedBySeason": true,
            "Created": "sample string 6",
            "ModifiedBySeason": true,
            "Modified": "sample string 8",
            "TotalSeasonPlayed": 9
          },
          "PlayerB": {
            "PlayerId": 1,
            "Name": "sample string 2",
            "Nationality": "sample string 3",
            "Gender": "sample string 4",
            "CreatedBySeason": true,
            "Created": "sample string 6",
            "ModifiedBySeason": true,
            "Modified": "sample string 8",
            "TotalSeasonPlayed": 9
          },
          "ScoreA": "sample string 1",
          "AvgA": 1.1,
          "ScoreB": "sample string 2",
          "AvgB": 1.1,
          "Empty": false
        }
      ]
    },
    {
      "Name": "sample string 1",
      "Matches": [
        {
          "PlayerA": {
            "PlayerId": 1,
            "Name": "sample string 2",
            "Nationality": "sample string 3",
            "Gender": "sample string 4",
            "CreatedBySeason": true,
            "Created": "sample string 6",
            "ModifiedBySeason": true,
            "Modified": "sample string 8",
            "TotalSeasonPlayed": 9
          },
          "PlayerB": {
            "PlayerId": 1,
            "Name": "sample string 2",
            "Nationality": "sample string 3",
            "Gender": "sample string 4",
            "CreatedBySeason": true,
            "Created": "sample string 6",
            "ModifiedBySeason": true,
            "Modified": "sample string 8",
            "TotalSeasonPlayed": 9
          },
          "ScoreA": "sample string 1",
          "AvgA": 1.1,
          "ScoreB": "sample string 2",
          "AvgB": 1.1,
          "Empty": false
        },
        {
          "PlayerA": {
            "PlayerId": 1,
            "Name": "sample string 2",
            "Nationality": "sample string 3",
            "Gender": "sample string 4",
            "CreatedBySeason": true,
            "Created": "sample string 6",
            "ModifiedBySeason": true,
            "Modified": "sample string 8",
            "TotalSeasonPlayed": 9
          },
          "PlayerB": {
            "PlayerId": 1,
            "Name": "sample string 2",
            "Nationality": "sample string 3",
            "Gender": "sample string 4",
            "CreatedBySeason": true,
            "Created": "sample string 6",
            "ModifiedBySeason": true,
            "Modified": "sample string 8",
            "TotalSeasonPlayed": 9
          },
          "ScoreA": "sample string 1",
          "AvgA": 1.1,
          "ScoreB": "sample string 2",
          "AvgB": 1.1,
          "Empty": false
        }
      ]
    }
  ],
  "NumberOfCompetitors": 2
}

application/xml, text/xml

Sample:
<SeasonTextModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Domain.Models">
  <Created>sample string 9</Created>
  <CreatedBy>sample string 10</CreatedBy>
  <EndTime>sample string 6</EndTime>
  <Labels>sample string 4</Labels>
  <Modified>sample string 7</Modified>
  <ModifiedBy>sample string 8</ModifiedBy>
  <Name>sample string 2</Name>
  <NumberOfPlayers>1</NumberOfPlayers>
  <Players>
    <PlayerTextModel>
      <Created>sample string 6</Created>
      <CreatedBySeason>true</CreatedBySeason>
      <Gender>sample string 4</Gender>
      <Modified>sample string 8</Modified>
      <ModifiedBySeason>true</ModifiedBySeason>
      <Name>sample string 2</Name>
      <Nationality>sample string 3</Nationality>
      <PlayerId>1</PlayerId>
      <TotalSeasonPlayed>9</TotalSeasonPlayed>
    </PlayerTextModel>
    <PlayerTextModel>
      <Created>sample string 6</Created>
      <CreatedBySeason>true</CreatedBySeason>
      <Gender>sample string 4</Gender>
      <Modified>sample string 8</Modified>
      <ModifiedBySeason>true</ModifiedBySeason>
      <Name>sample string 2</Name>
      <Nationality>sample string 3</Nationality>
      <PlayerId>1</PlayerId>
      <TotalSeasonPlayed>9</TotalSeasonPlayed>
    </PlayerTextModel>
  </Players>
  <Rankings>sample string 3</Rankings>
  <Rounds>
    <RoundTextModel>
      <Matches>
        <MatchTestModel>
          <AvgA>1.1</AvgA>
          <AvgB>1.1</AvgB>
          <PlayerA>
            <Created>sample string 6</Created>
            <CreatedBySeason>true</CreatedBySeason>
            <Gender>sample string 4</Gender>
            <Modified>sample string 8</Modified>
            <ModifiedBySeason>true</ModifiedBySeason>
            <Name>sample string 2</Name>
            <Nationality>sample string 3</Nationality>
            <PlayerId>1</PlayerId>
            <TotalSeasonPlayed>9</TotalSeasonPlayed>
          </PlayerA>
          <PlayerB>
            <Created>sample string 6</Created>
            <CreatedBySeason>true</CreatedBySeason>
            <Gender>sample string 4</Gender>
            <Modified>sample string 8</Modified>
            <ModifiedBySeason>true</ModifiedBySeason>
            <Name>sample string 2</Name>
            <Nationality>sample string 3</Nationality>
            <PlayerId>1</PlayerId>
            <TotalSeasonPlayed>9</TotalSeasonPlayed>
          </PlayerB>
          <ScoreA>sample string 1</ScoreA>
          <ScoreB>sample string 2</ScoreB>
        </MatchTestModel>
        <MatchTestModel>
          <AvgA>1.1</AvgA>
          <AvgB>1.1</AvgB>
          <PlayerA>
            <Created>sample string 6</Created>
            <CreatedBySeason>true</CreatedBySeason>
            <Gender>sample string 4</Gender>
            <Modified>sample string 8</Modified>
            <ModifiedBySeason>true</ModifiedBySeason>
            <Name>sample string 2</Name>
            <Nationality>sample string 3</Nationality>
            <PlayerId>1</PlayerId>
            <TotalSeasonPlayed>9</TotalSeasonPlayed>
          </PlayerA>
          <PlayerB>
            <Created>sample string 6</Created>
            <CreatedBySeason>true</CreatedBySeason>
            <Gender>sample string 4</Gender>
            <Modified>sample string 8</Modified>
            <ModifiedBySeason>true</ModifiedBySeason>
            <Name>sample string 2</Name>
            <Nationality>sample string 3</Nationality>
            <PlayerId>1</PlayerId>
            <TotalSeasonPlayed>9</TotalSeasonPlayed>
          </PlayerB>
          <ScoreA>sample string 1</ScoreA>
          <ScoreB>sample string 2</ScoreB>
        </MatchTestModel>
      </Matches>
      <Name>sample string 1</Name>
    </RoundTextModel>
    <RoundTextModel>
      <Matches>
        <MatchTestModel>
          <AvgA>1.1</AvgA>
          <AvgB>1.1</AvgB>
          <PlayerA>
            <Created>sample string 6</Created>
            <CreatedBySeason>true</CreatedBySeason>
            <Gender>sample string 4</Gender>
            <Modified>sample string 8</Modified>
            <ModifiedBySeason>true</ModifiedBySeason>
            <Name>sample string 2</Name>
            <Nationality>sample string 3</Nationality>
            <PlayerId>1</PlayerId>
            <TotalSeasonPlayed>9</TotalSeasonPlayed>
          </PlayerA>
          <PlayerB>
            <Created>sample string 6</Created>
            <CreatedBySeason>true</CreatedBySeason>
            <Gender>sample string 4</Gender>
            <Modified>sample string 8</Modified>
            <ModifiedBySeason>true</ModifiedBySeason>
            <Name>sample string 2</Name>
            <Nationality>sample string 3</Nationality>
            <PlayerId>1</PlayerId>
            <TotalSeasonPlayed>9</TotalSeasonPlayed>
          </PlayerB>
          <ScoreA>sample string 1</ScoreA>
          <ScoreB>sample string 2</ScoreB>
        </MatchTestModel>
        <MatchTestModel>
          <AvgA>1.1</AvgA>
          <AvgB>1.1</AvgB>
          <PlayerA>
            <Created>sample string 6</Created>
            <CreatedBySeason>true</CreatedBySeason>
            <Gender>sample string 4</Gender>
            <Modified>sample string 8</Modified>
            <ModifiedBySeason>true</ModifiedBySeason>
            <Name>sample string 2</Name>
            <Nationality>sample string 3</Nationality>
            <PlayerId>1</PlayerId>
            <TotalSeasonPlayed>9</TotalSeasonPlayed>
          </PlayerA>
          <PlayerB>
            <Created>sample string 6</Created>
            <CreatedBySeason>true</CreatedBySeason>
            <Gender>sample string 4</Gender>
            <Modified>sample string 8</Modified>
            <ModifiedBySeason>true</ModifiedBySeason>
            <Name>sample string 2</Name>
            <Nationality>sample string 3</Nationality>
            <PlayerId>1</PlayerId>
            <TotalSeasonPlayed>9</TotalSeasonPlayed>
          </PlayerB>
          <ScoreA>sample string 1</ScoreA>
          <ScoreB>sample string 2</ScoreB>
        </MatchTestModel>
      </Matches>
      <Name>sample string 1</Name>
    </RoundTextModel>
  </Rounds>
  <SeasonId>1</SeasonId>
  <StartTime>sample string 5</StartTime>
  <Status>sample string 11</Status>
</SeasonTextModel>