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

Details of all team information associated to the specified competition. This will bring back every team who played in that competition and season and search every season.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
competitionId

The ID of the competition.

string

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

Teams
NameDescriptionTypeAdditional information
TeamInformation

Details of the team information

Collection of TeamExpandedInformation

None.

RequestStatus

Details of the request status

APIRequestStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "TeamInformation": [
    {
      "Competitions": [
        "sample string 1",
        "sample string 2"
      ],
      "Seasons": [
        "sample string 1",
        "sample string 2"
      ],
      "Id": "sample string 1",
      "Name": "sample string 2",
      "Logo": {
        "SVGLogo": "sample string 1",
        "PNGLogo": "sample string 2",
        "RequestStatus": {
          "Success": true,
          "StatusMessage": "sample string 2"
        }
      }
    },
    {
      "Competitions": [
        "sample string 1",
        "sample string 2"
      ],
      "Seasons": [
        "sample string 1",
        "sample string 2"
      ],
      "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:
<Teams 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>
  <TeamInformation>
    <TeamExpandedInformation>
      <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>
      <Competitions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </Competitions>
      <Seasons xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </Seasons>
    </TeamExpandedInformation>
    <TeamExpandedInformation>
      <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>
      <Competitions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </Competitions>
      <Seasons xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </Seasons>
    </TeamExpandedInformation>
  </TeamInformation>
</Teams>