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.
Season| Name | 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-11-02T03:52:48.614805+01:00",
"end": "2025-11-02T03:52:48.614805+01: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-11-02T03:52:48.614805+01:00</end> <id>sample string 1</id> <name>sample string 2</name> <start>2025-11-02T03:52:48.614805+01:00</start> </Season>