GET api/competitions/{competitionID}/standings

Gets the current standings for a competition in IBIS

Request Information

URI Parameters

NameDescriptionTypeAdditional information
competitionID

The ID of the competition to fetch the standings for

integer

Required

Body Parameters

None.

Response Information

Resource Description

A Standings object containing a list of StandingsRow objects sorted by StandingsRow.Position

Standings
NameDescriptionTypeAdditional information
StandingsRows

Contains the StandingsRow objects for this Standings object

Collection of StandingsRow

None.

Response Formats

application/json, text/json

Sample:
{
  "StandingsRows": [
    {
      "TeamID": 1,
      "TeamName": "sample string 2",
      "PlayedMatchesHome": 3,
      "PlayedMatchesAway": 4,
      "WinsHome": 5,
      "WinsAway": 6,
      "SdWinsHome": 7,
      "SdWinsAway": 8,
      "DrawsHome": 9,
      "DrawsAway": 10,
      "LossesHome": 11,
      "LossesAway": 12,
      "GoalsScoredHome": 13,
      "GoalsScoredAway": 14,
      "GoalsAgainstHome": 15,
      "GoalsAgainstAway": 16,
      "ScoringDiff": 17,
      "Points": 18,
      "Position": 19
    },
    {
      "TeamID": 1,
      "TeamName": "sample string 2",
      "PlayedMatchesHome": 3,
      "PlayedMatchesAway": 4,
      "WinsHome": 5,
      "WinsAway": 6,
      "SdWinsHome": 7,
      "SdWinsAway": 8,
      "DrawsHome": 9,
      "DrawsAway": 10,
      "LossesHome": 11,
      "LossesAway": 12,
      "GoalsScoredHome": 13,
      "GoalsScoredAway": 14,
      "GoalsAgainstHome": 15,
      "GoalsAgainstAway": 16,
      "ScoringDiff": 17,
      "Points": 18,
      "Position": 19
    }
  ]
}

application/xml, text/xml

Sample:
<Standings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IbisApi.Models">
  <StandingsRows>
    <StandingsRow>
      <DrawsAway>10</DrawsAway>
      <DrawsHome>9</DrawsHome>
      <GoalsAgainstAway>16</GoalsAgainstAway>
      <GoalsAgainstHome>15</GoalsAgainstHome>
      <GoalsScoredAway>14</GoalsScoredAway>
      <GoalsScoredHome>13</GoalsScoredHome>
      <LossesAway>12</LossesAway>
      <LossesHome>11</LossesHome>
      <PlayedMatchesAway>4</PlayedMatchesAway>
      <PlayedMatchesHome>3</PlayedMatchesHome>
      <Points>18</Points>
      <Position>19</Position>
      <ScoringDiff>17</ScoringDiff>
      <SdWinsAway>8</SdWinsAway>
      <SdWinsHome>7</SdWinsHome>
      <TeamID>1</TeamID>
      <TeamName>sample string 2</TeamName>
      <WinsAway>6</WinsAway>
      <WinsHome>5</WinsHome>
    </StandingsRow>
    <StandingsRow>
      <DrawsAway>10</DrawsAway>
      <DrawsHome>9</DrawsHome>
      <GoalsAgainstAway>16</GoalsAgainstAway>
      <GoalsAgainstHome>15</GoalsAgainstHome>
      <GoalsScoredAway>14</GoalsScoredAway>
      <GoalsScoredHome>13</GoalsScoredHome>
      <LossesAway>12</LossesAway>
      <LossesHome>11</LossesHome>
      <PlayedMatchesAway>4</PlayedMatchesAway>
      <PlayedMatchesHome>3</PlayedMatchesHome>
      <Points>18</Points>
      <Position>19</Position>
      <ScoringDiff>17</ScoringDiff>
      <SdWinsAway>8</SdWinsAway>
      <SdWinsHome>7</SdWinsHome>
      <TeamID>1</TeamID>
      <TeamName>sample string 2</TeamName>
      <WinsAway>6</WinsAway>
      <WinsHome>5</WinsHome>
    </StandingsRow>
  </StandingsRows>
</Standings>