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 SeasonName | Description | Type | Additional information |
---|---|---|---|
end_date | date |
None. |
|
season | string |
None. |
|
season_archived | boolean |
None. |
|
season_id | globally unique identifier |
None. |
|
start_date | date |
None. |
|
type | string |
None. |
|
type_id | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[ { "end_date": "2024-12-24T14:10:49.0646924+00:00", "season": "sample string 2", "season_archived": true, "season_id": "7bfc153a-9b96-4bcb-a43f-6eb486de1ada", "start_date": "2024-12-24T14:10:49.0646924+00:00", "type": "sample string 6", "type_id": "d7b3c0c3-5874-4a7a-952f-6003ccd1151c" }, { "end_date": "2024-12-24T14:10:49.0646924+00:00", "season": "sample string 2", "season_archived": true, "season_id": "7bfc153a-9b96-4bcb-a43f-6eb486de1ada", "start_date": "2024-12-24T14:10:49.0646924+00:00", "type": "sample string 6", "type_id": "d7b3c0c3-5874-4a7a-952f-6003ccd1151c" } ]
application/xml, text/xml
Sample:
<ArrayOfSeason xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Archery_Records_API"> <Season> <end_date>2024-12-24T14:10:49.0646924+00:00</end_date> <season>sample string 2</season> <season_archived>true</season_archived> <season_id>7bfc153a-9b96-4bcb-a43f-6eb486de1ada</season_id> <start_date>2024-12-24T14:10:49.0646924+00:00</start_date> <type>sample string 6</type> <type_id>d7b3c0c3-5874-4a7a-952f-6003ccd1151c</type_id> </Season> <Season> <end_date>2024-12-24T14:10:49.0646924+00:00</end_date> <season>sample string 2</season> <season_archived>true</season_archived> <season_id>7bfc153a-9b96-4bcb-a43f-6eb486de1ada</season_id> <start_date>2024-12-24T14:10:49.0646924+00:00</start_date> <type>sample string 6</type> <type_id>d7b3c0c3-5874-4a7a-952f-6003ccd1151c</type_id> </Season> </ArrayOfSeason>