GET Classes/single_season?id={id}
Gets data about a season based on an id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
ID of a season. |
decimal number |
Required |
Body Parameters
None.
Response Information
Resource Description
Season's data received and processed.
SeasonName | Description | Type | Additional information |
---|---|---|---|
id | string |
None. |
|
name | string |
None. |
|
start | date |
None. |
|
end | date |
None. |
|
dismissed | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": "sample string 1", "name": "sample string 2", "start": "2025-06-27T14:40:43.0700776+02:00", "end": "2025-06-27T14:40:43.0700776+02:00", "dismissed": true }
application/xml, text/xml
Sample:
<Season xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sportrick.ApiModel"> <dismissed>true</dismissed> <end>2025-06-27T14:40:43.0700776+02:00</end> <id>sample string 1</id> <name>sample string 2</name> <start>2025-06-27T14:40:43.0700776+02:00</start> </Season>