GET api/{version}/Club/Seasons

Details of season Ids and names you have within your club.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

None.

Response Information

Resource Description

ClubSeasons
NameDescriptionTypeAdditional information
Seasons

List of club season details for the club

Collection of ClubSeason

None.

RequestStatus

Details of the request status

APIRequestStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "Seasons": [
    {
      "Default": true,
      "Id": "sample string 2",
      "SeasonName": "sample string 3"
    },
    {
      "Default": true,
      "Id": "sample string 2",
      "SeasonName": "sample string 3"
    }
  ],
  "RequestStatus": {
    "Success": true,
    "StatusMessage": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<ClubSeasons xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Green4.WebApi.Stats.Interface.Stats">
  <RequestStatus>
    <StatusMessage>sample string 2</StatusMessage>
    <Success>true</Success>
  </RequestStatus>
  <Seasons>
    <ClubSeason>
      <Id>sample string 2</Id>
      <SeasonName>sample string 3</SeasonName>
      <Default>true</Default>
    </ClubSeason>
    <ClubSeason>
      <Id>sample string 2</Id>
      <SeasonName>sample string 3</SeasonName>
      <Default>true</Default>
    </ClubSeason>
  </Seasons>
</ClubSeasons>