GET api/v{version}/schedule/season_by_rankings/{year}/{ranking}

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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
year

the schedule year

integer

Required

ranking

the slug of the ranking

string

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,
      "Name": "sample string 2",
      "Start": "2023-09-30T05:50:20.9867742+02:00",
      "End": "2023-09-30T05:50:20.9867742+02:00",
      "Venue": {
        "VenueId": 1,
        "City": "sample string 2",
        "Country": "sample string 3",
        "CountryCode": "sample string 4",
        "Name": "sample string 5"
      },
      "Competition": {
        "CompetitionId": 1,
        "Name": "sample string 1"
      },
      "Status": "sample string 3"
    },
    {
      "SeasonId": 1,
      "Name": "sample string 2",
      "Start": "2023-09-30T05:50:20.9867742+02:00",
      "End": "2023-09-30T05:50:20.9867742+02:00",
      "Venue": {
        "VenueId": 1,
        "City": "sample string 2",
        "Country": "sample string 3",
        "CountryCode": "sample string 4",
        "Name": "sample string 5"
      },
      "Competition": {
        "CompetitionId": 1,
        "Name": "sample string 1"
      },
      "Status": "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>2023-09-30T05:50:20.9867742+02:00</End>
      <Name>sample string 2</Name>
      <SeasonId>1</SeasonId>
      <Start>2023-09-30T05:50:20.9867742+02:00</Start>
    </SeasonScheduleViewModel>
    <SeasonScheduleViewModel>
      <End>2023-09-30T05:50:20.9867742+02:00</End>
      <Name>sample string 2</Name>
      <SeasonId>1</SeasonId>
      <Start>2023-09-30T05:50:20.9867742+02:00</Start>
    </SeasonScheduleViewModel>
  </Seasons>
</ScheduleSeasonViewModel>