GET api/{version}/Club/Competitions

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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

None.

Response Information

Resource Description

ClubCompetitions
NameDescriptionTypeAdditional information
Competitions

List of club competitions details for the club

Collection of ClubCompetition

None.

RequestStatus

Details of the request status

APIRequestStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "Competitions": [
    {
      "Default": true,
      "CompetitionId": "sample string 2",
      "CompetitionCode": "sample string 3",
      "CompetitionName": "sample string 4"
    },
    {
      "Default": true,
      "CompetitionId": "sample string 2",
      "CompetitionCode": "sample string 3",
      "CompetitionName": "sample string 4"
    }
  ],
  "RequestStatus": {
    "Success": true,
    "StatusMessage": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<ClubCompetitions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Green4.WebApi.Stats.Interface.Stats">
  <Competitions>
    <ClubCompetition>
      <CompetitionCode>sample string 3</CompetitionCode>
      <CompetitionId>sample string 2</CompetitionId>
      <CompetitionName>sample string 4</CompetitionName>
      <Default>true</Default>
    </ClubCompetition>
    <ClubCompetition>
      <CompetitionCode>sample string 3</CompetitionCode>
      <CompetitionId>sample string 2</CompetitionId>
      <CompetitionName>sample string 4</CompetitionName>
      <Default>true</Default>
    </ClubCompetition>
  </Competitions>
  <RequestStatus>
    <StatusMessage>sample string 2</StatusMessage>
    <Success>true</Success>
  </RequestStatus>
</ClubCompetitions>