GET api/v{version}/season/overview

Get an overview of all the seasons.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of SeasonBasicViewModel
NameDescriptionTypeAdditional information
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:
[
  {
    "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-04-25T18:49:10.0901495+02:00",
    "EndDate": "2019-04-25T18:49:10.0901495+02:00"
  },
  {
    "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-04-25T18:49:10.0901495+02:00",
    "EndDate": "2019-04-25T18:49:10.0901495+02:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSeasonBasicViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv1.Models">
  <SeasonBasicViewModel>
    <City>sample string 6</City>
    <Country>sample string 7</Country>
    <CountryCode>sample string 8</CountryCode>
    <Description>sample string 3</Description>
    <EndDate>2019-04-25T18:49:10.0901495+02:00</EndDate>
    <SeasonId>1</SeasonId>
    <Sponsor>sample string 4</Sponsor>
    <StartDate>2019-04-25T18:49:10.0901495+02:00</StartDate>
    <Title>sample string 2</Title>
    <Venue>sample string 5</Venue>
  </SeasonBasicViewModel>
  <SeasonBasicViewModel>
    <City>sample string 6</City>
    <Country>sample string 7</Country>
    <CountryCode>sample string 8</CountryCode>
    <Description>sample string 3</Description>
    <EndDate>2019-04-25T18:49:10.0901495+02:00</EndDate>
    <SeasonId>1</SeasonId>
    <Sponsor>sample string 4</Sponsor>
    <StartDate>2019-04-25T18:49:10.0901495+02:00</StartDate>
    <Title>sample string 2</Title>
    <Venue>sample string 5</Venue>
  </SeasonBasicViewModel>
</ArrayOfSeasonBasicViewModel>