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

Details of team with all competitions they are part of.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
teamId

string

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

TeamCompetitions
NameDescriptionTypeAdditional information
Competition

Details of the competition

Collection of ClubCompetition

None.

Team

Details of the team

Team

None.

RequestStatus

Details of request status

APIRequestStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "Competition": [
    {
      "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"
    }
  ],
  "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:
<TeamCompetitions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Green4.WebApi.Stats.Interface.Stats">
  <Competition>
    <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>
  </Competition>
  <RequestStatus>
    <StatusMessage>sample string 2</StatusMessage>
    <Success>true</Success>
  </RequestStatus>
  <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>
</TeamCompetitions>