GET api/{version}/Teams

Details of all team information associated to the seasons and competitions the API is setup to look for. This will bring back every team and bring back every competition and every season that team is in.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
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>