GET api/{version}/Teams/{teamId}/Competitions/{competitionId}/Seasons/{seasonId}/Standings?live={live}

Details of league standings for a specified team, competition and season.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
teamId

The ID of the team.

string

Required

competitionId

The ID of the competition.

string

Required

seasonId

The ID of the season.

string

Required

live

When set to true it will do a complete new request to get the latest standings data.

boolean

Default value is False

version

string

None.

Body Parameters

None.

Response Information

Resource Description

TeamStandings
NameDescriptionTypeAdditional information
Standings

Details of standing table

Standings

None.

RequestStatus

Details of request status

APIRequestStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "Standings": {
    "Competition": {
      "CompetitionId": "sample string 1",
      "CompetitionCode": "sample string 2",
      "CompetitionName": "sample string 3"
    },
    "GroupName": "sample string 1",
    "Season": {
      "Id": "sample string 1",
      "SeasonName": "sample string 2"
    },
    "TeamAndStandingDetails": [
      {
        "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"
            }
          }
        },
        "TeamStandingDetails": {
          "Against": 1,
          "AwayAgainst": 2,
          "AwayDrawn": 3,
          "AwayFor": 4,
          "AwayLost": 5,
          "AwayPlayed": 6,
          "AwayPoints": 7,
          "AwayPosition": 8,
          "AwayWon": 9,
          "Drawn": 10,
          "For": 11,
          "Lost": 12,
          "HomeAgainst": 13,
          "HomeDrawn": 14,
          "HomeFor": 15,
          "HomeLost": 16,
          "HomePlayed": 17,
          "HomePoints": 18,
          "HomePosition": 19,
          "HomeWon": 20,
          "Played": 21,
          "Points": 22,
          "Position": 23,
          "StartDayPosition": 1,
          "Won": 24,
          "MovedDown": true,
          "MovedUp": true,
          "Difference": 27
        }
      },
      {
        "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"
            }
          }
        },
        "TeamStandingDetails": {
          "Against": 1,
          "AwayAgainst": 2,
          "AwayDrawn": 3,
          "AwayFor": 4,
          "AwayLost": 5,
          "AwayPlayed": 6,
          "AwayPoints": 7,
          "AwayPosition": 8,
          "AwayWon": 9,
          "Drawn": 10,
          "For": 11,
          "Lost": 12,
          "HomeAgainst": 13,
          "HomeDrawn": 14,
          "HomeFor": 15,
          "HomeLost": 16,
          "HomePlayed": 17,
          "HomePoints": 18,
          "HomePosition": 19,
          "HomeWon": 20,
          "Played": 21,
          "Points": 22,
          "Position": 23,
          "StartDayPosition": 1,
          "Won": 24,
          "MovedDown": true,
          "MovedUp": true,
          "Difference": 27
        }
      }
    ],
    "Live": true
  },
  "RequestStatus": {
    "Success": true,
    "StatusMessage": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<TeamStandings 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>
  <Standings>
    <Competition>
      <CompetitionCode>sample string 2</CompetitionCode>
      <CompetitionId>sample string 1</CompetitionId>
      <CompetitionName>sample string 3</CompetitionName>
    </Competition>
    <GroupName>sample string 1</GroupName>
    <Live>true</Live>
    <Season>
      <Id>sample string 1</Id>
      <SeasonName>sample string 2</SeasonName>
    </Season>
    <TeamAndStandingDetails>
      <TeamAndStandingDetails>
        <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>
        <TeamStandingDetails>
          <Against>1</Against>
          <AwayAgainst>2</AwayAgainst>
          <AwayDrawn>3</AwayDrawn>
          <AwayFor>4</AwayFor>
          <AwayLost>5</AwayLost>
          <AwayPlayed>6</AwayPlayed>
          <AwayPoints>7</AwayPoints>
          <AwayPosition>8</AwayPosition>
          <AwayWon>9</AwayWon>
          <Difference>27</Difference>
          <Drawn>10</Drawn>
          <For>11</For>
          <HomeAgainst>13</HomeAgainst>
          <HomeDrawn>14</HomeDrawn>
          <HomeFor>15</HomeFor>
          <HomeLost>16</HomeLost>
          <HomePlayed>17</HomePlayed>
          <HomePoints>18</HomePoints>
          <HomePosition>19</HomePosition>
          <HomeWon>20</HomeWon>
          <Lost>12</Lost>
          <MovedDown>true</MovedDown>
          <MovedUp>true</MovedUp>
          <Played>21</Played>
          <Points>22</Points>
          <Position>23</Position>
          <StartDayPosition>1</StartDayPosition>
          <Won>24</Won>
        </TeamStandingDetails>
      </TeamAndStandingDetails>
      <TeamAndStandingDetails>
        <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>
        <TeamStandingDetails>
          <Against>1</Against>
          <AwayAgainst>2</AwayAgainst>
          <AwayDrawn>3</AwayDrawn>
          <AwayFor>4</AwayFor>
          <AwayLost>5</AwayLost>
          <AwayPlayed>6</AwayPlayed>
          <AwayPoints>7</AwayPoints>
          <AwayPosition>8</AwayPosition>
          <AwayWon>9</AwayWon>
          <Difference>27</Difference>
          <Drawn>10</Drawn>
          <For>11</For>
          <HomeAgainst>13</HomeAgainst>
          <HomeDrawn>14</HomeDrawn>
          <HomeFor>15</HomeFor>
          <HomeLost>16</HomeLost>
          <HomePlayed>17</HomePlayed>
          <HomePoints>18</HomePoints>
          <HomePosition>19</HomePosition>
          <HomeWon>20</HomeWon>
          <Lost>12</Lost>
          <MovedDown>true</MovedDown>
          <MovedUp>true</MovedUp>
          <Played>21</Played>
          <Points>22</Points>
          <Position>23</Position>
          <StartDayPosition>1</StartDayPosition>
          <Won>24</Won>
        </TeamStandingDetails>
      </TeamAndStandingDetails>
    </TeamAndStandingDetails>
  </Standings>
</TeamStandings>