GET api/v{version}/schedule/season/{year}

Get the schedules of all the defined season which are not part of a tournament.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
year

the schedule year

integer

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

ScheduleSeasonViewModel
NameDescriptionTypeAdditional information
Seasons

Collection of SeasonScheduleViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Seasons": [
    {
      "SeasonId": 1,
      "Title": "sample string 2",
      "Start": "2021-10-20T22:53:49.0095369+02:00",
      "End": "2021-10-20T22:53:49.0095369+02:00",
      "CompetitionId": 1,
      "Competition": "sample string 3"
    },
    {
      "SeasonId": 1,
      "Title": "sample string 2",
      "Start": "2021-10-20T22:53:49.0095369+02:00",
      "End": "2021-10-20T22:53:49.0095369+02:00",
      "CompetitionId": 1,
      "Competition": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<ScheduleSeasonViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models">
  <Seasons>
    <SeasonScheduleViewModel>
      <End>2021-10-20T22:53:49.0095369+02:00</End>
      <SeasonId>1</SeasonId>
      <Start>2021-10-20T22:53:49.0095369+02:00</Start>
      <Title>sample string 2</Title>
    </SeasonScheduleViewModel>
    <SeasonScheduleViewModel>
      <End>2021-10-20T22:53:49.0095369+02:00</End>
      <SeasonId>1</SeasonId>
      <Start>2021-10-20T22:53:49.0095369+02:00</Start>
      <Title>sample string 2</Title>
    </SeasonScheduleViewModel>
  </Seasons>
</ScheduleSeasonViewModel>