GET api/seasons
Queryable action. Gets all seasons from IBIS.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
A collection of Season objects
Collection of SeasonName | Description | Type | Additional information |
---|---|---|---|
SeasonID |
The unique identifier for the season |
integer |
None. |
Name |
The name of the season |
string |
None. |
IsCurrentSeason |
Flag telling if the season is current (ongoing) or not |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "SeasonID": 1, "Name": "sample string 2", "IsCurrentSeason": true }, { "SeasonID": 1, "Name": "sample string 2", "IsCurrentSeason": true } ]
application/xml, text/xml
Sample:
<ArrayOfSeason xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IbisApi.Models"> <Season> <IsCurrentSeason>true</IsCurrentSeason> <Name>sample string 2</Name> <SeasonID>1</SeasonID> </Season> <Season> <IsCurrentSeason>true</IsCurrentSeason> <Name>sample string 2</Name> <SeasonID>1</SeasonID> </Season> </ArrayOfSeason>