GET api/seasons/{seasonID}
Queryable action. Gets a season from IBIS.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
seasonID |
The unique identifier of the season to fetch |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
A Season object
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>