GET api/{version}/Club/Competitions/{competitionId}/Teams

Details of competition with teams which are part of the competition.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
competitionId

string

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

ClubCompetitionsWithTeams
NameDescriptionTypeAdditional information
CompetitionWithTeams

Details of the competition

Collection of ClubCompetitionWithTeam

None.

RequestStatus

Details of request status

APIRequestStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "CompetitionWithTeams": [
    {
      "Competition": {
        "CompetitionId": "sample string 1",
        "CompetitionCode": "sample string 2",
        "CompetitionName": "sample string 3"
      },
      "Team": {
        "Id": "sample string 1",
        "Name": "sample string 2",
        "Logo": {
          "SVGLogo": "sample string 1",
          "PNGLogo": "sample string 2",
          "RequestStatus": {
            "Success": true,
            "StatusMessage": "sample string 2"
          }
        }
      }
    },
    {
      "Competition": {
        "CompetitionId": "sample string 1",
        "CompetitionCode": "sample string 2",
        "CompetitionName": "sample string 3"
      },
      "Team": {
        "Id": "sample string 1",
        "Name": "sample string 2",
        "Logo": {
          "SVGLogo": "sample string 1",
          "PNGLogo": "sample string 2",
          "RequestStatus": {
            "Success": true,
            "StatusMessage": "sample string 2"
          }
        }
      }
    }
  ],
  "RequestStatus": {
    "Success": true,
    "StatusMessage": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<ClubCompetitionsWithTeams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Green4.WebApi.Stats.Interface.Stats">
  <CompetitionWithTeams>
    <ClubCompetitionWithTeam>
      <Competition>
        <CompetitionCode>sample string 2</CompetitionCode>
        <CompetitionId>sample string 1</CompetitionId>
        <CompetitionName>sample string 3</CompetitionName>
      </Competition>
      <Team>
        <Id>sample string 1</Id>
        <Logo>
          <PNGLogo>sample string 2</PNGLogo>
          <RequestStatus>
            <StatusMessage>sample string 2</StatusMessage>
            <Success>true</Success>
          </RequestStatus>
          <SVGLogo>sample string 1</SVGLogo>
        </Logo>
        <Name>sample string 2</Name>
      </Team>
    </ClubCompetitionWithTeam>
    <ClubCompetitionWithTeam>
      <Competition>
        <CompetitionCode>sample string 2</CompetitionCode>
        <CompetitionId>sample string 1</CompetitionId>
        <CompetitionName>sample string 3</CompetitionName>
      </Competition>
      <Team>
        <Id>sample string 1</Id>
        <Logo>
          <PNGLogo>sample string 2</PNGLogo>
          <RequestStatus>
            <StatusMessage>sample string 2</StatusMessage>
            <Success>true</Success>
          </RequestStatus>
          <SVGLogo>sample string 1</SVGLogo>
        </Logo>
        <Name>sample string 2</Name>
      </Team>
    </ClubCompetitionWithTeam>
  </CompetitionWithTeams>
  <RequestStatus>
    <StatusMessage>sample string 2</StatusMessage>
    <Success>true</Success>
  </RequestStatus>
</ClubCompetitionsWithTeams>