GET api/seasons?pageNumber={pageNumber}&pageSize={pageSize}
Lists all seasons.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pageNumber | integer |
None. |
|
| pageSize | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of Season| Name | Description | Type | Additional information |
|---|---|---|---|
| end_date |
Gets the end date. |
date |
None. |
| season |
Gets the season. |
string |
None. |
| season_archived |
Gets if the season is archived. |
boolean |
None. |
| season_id |
Gets the identifier of the season. |
globally unique identifier |
None. |
| start_date |
Gets the start date. |
date |
None. |
| type |
Gets the season type. |
string |
None. |
| type_id |
Gets or sets the identifier of the season type. |
globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"end_date": "2026-09-20T11:28:25.2530633+01:00",
"season": "sample string 2",
"season_archived": true,
"season_id": "452ce45a-9141-4eec-8bf6-6889e0cad87a",
"start_date": "2026-09-20T11:28:25.2530633+01:00",
"type": "sample string 6",
"type_id": "2547f3f9-0b59-4fd9-8c52-08b4f550e120"
},
{
"end_date": "2026-09-20T11:28:25.2530633+01:00",
"season": "sample string 2",
"season_archived": true,
"season_id": "452ce45a-9141-4eec-8bf6-6889e0cad87a",
"start_date": "2026-09-20T11:28:25.2530633+01:00",
"type": "sample string 6",
"type_id": "2547f3f9-0b59-4fd9-8c52-08b4f550e120"
}
]
multipart/form-data
Sample:
[{"end_date":"2026-09-20T11:28:25.2530633+01:00","season":"sample string 2","season_archived":true,"season_id":"452ce45a-9141-4eec-8bf6-6889e0cad87a","start_date":"2026-09-20T11:28:25.2530633+01:00","type":"sample string 6","type_id":"2547f3f9-0b59-4fd9-8c52-08b4f550e120"},{"end_date":"2026-09-20T11:28:25.2530633+01:00","season":"sample string 2","season_archived":true,"season_id":"452ce45a-9141-4eec-8bf6-6889e0cad87a","start_date":"2026-09-20T11:28:25.2530633+01:00","type":"sample string 6","type_id":"2547f3f9-0b59-4fd9-8c52-08b4f550e120"}]
application/xml, text/xml
Sample:
<ArrayOfSeason xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Golden_Records_API">
<Season>
<end_date>2026-09-20T11:28:25.2530633+01:00</end_date>
<season>sample string 2</season>
<season_archived>true</season_archived>
<season_id>452ce45a-9141-4eec-8bf6-6889e0cad87a</season_id>
<start_date>2026-09-20T11:28:25.2530633+01:00</start_date>
<type>sample string 6</type>
<type_id>2547f3f9-0b59-4fd9-8c52-08b4f550e120</type_id>
</Season>
<Season>
<end_date>2026-09-20T11:28:25.2530633+01:00</end_date>
<season>sample string 2</season>
<season_archived>true</season_archived>
<season_id>452ce45a-9141-4eec-8bf6-6889e0cad87a</season_id>
<start_date>2026-09-20T11:28:25.2530633+01:00</start_date>
<type>sample string 6</type>
<type_id>2547f3f9-0b59-4fd9-8c52-08b4f550e120</type_id>
</Season>
</ArrayOfSeason>