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
Name | Description | Type | Additional information |
---|---|---|---|
year |
the schedule year |
integer |
Required |
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
ScheduleSeasonViewModelName | Description | Type | Additional information |
---|---|---|---|
Seasons | Collection of SeasonScheduleViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "Seasons": [ { "SeasonId": 1, "Title": "sample string 2", "Start": "2023-04-01T04:22:01.1764853+02:00", "End": "2023-04-01T04:22:01.1764853+02:00", "CompetitionId": 1, "Competition": "sample string 3" }, { "SeasonId": 1, "Title": "sample string 2", "Start": "2023-04-01T04:22:01.1764853+02:00", "End": "2023-04-01T04:22:01.1764853+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>2023-04-01T04:22:01.1764853+02:00</End> <SeasonId>1</SeasonId> <Start>2023-04-01T04:22:01.1764853+02:00</Start> <Title>sample string 2</Title> </SeasonScheduleViewModel> <SeasonScheduleViewModel> <End>2023-04-01T04:22:01.1764853+02:00</End> <SeasonId>1</SeasonId> <Start>2023-04-01T04:22:01.1764853+02:00</Start> <Title>sample string 2</Title> </SeasonScheduleViewModel> </Seasons> </ScheduleSeasonViewModel>