GET teams/{id}/games?start={start}&end={end}

Return game collection by team id in period (start, end)

Request Information

Parameters

NameDescriptionAdditional information
id
team id

Define this parameter in the request URI.

start
start date

Define this parameter in the request URI.

end
end date

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "type": 0,
    "start": "sample string 2",
    "end": "sample string 3",
    "playoff": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "division": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "league": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "sport": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "network": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "home": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "away": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "surface": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "facility": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "status": 0,
    "home_forfeited": true,
    "away_forfeited": true,
    "home_defaulted": true,
    "away_defaulted": true,
    "home_points": "sample string 8",
    "away_points": "sample string 9",
    "home_score": "sample string 10",
    "away_score": "sample string 11",
    "winner": "sample string 12",
    "has_checked_in_players": true,
    "is_in_club": true
  },
  {
    "id": 1,
    "type": 0,
    "start": "sample string 2",
    "end": "sample string 3",
    "playoff": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "division": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "league": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "sport": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "network": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "home": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "away": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "surface": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "facility": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "status": 0,
    "home_forfeited": true,
    "away_forfeited": true,
    "home_defaulted": true,
    "away_defaulted": true,
    "home_points": "sample string 8",
    "away_points": "sample string 9",
    "home_score": "sample string 10",
    "away_score": "sample string 11",
    "winner": "sample string 12",
    "has_checked_in_players": true,
    "is_in_club": true
  },
  {
    "id": 1,
    "type": 0,
    "start": "sample string 2",
    "end": "sample string 3",
    "playoff": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "division": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "league": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "sport": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "network": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "home": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "away": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "surface": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "facility": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "status": 0,
    "home_forfeited": true,
    "away_forfeited": true,
    "home_defaulted": true,
    "away_defaulted": true,
    "home_points": "sample string 8",
    "away_points": "sample string 9",
    "home_score": "sample string 10",
    "away_score": "sample string 11",
    "winner": "sample string 12",
    "has_checked_in_players": true,
    "is_in_club": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfGameDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO">
  <GameDto>
    <away>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </away>
    <away_defaulted>true</away_defaulted>
    <away_forfeited>true</away_forfeited>
    <away_points>sample string 9</away_points>
    <away_score>sample string 11</away_score>
    <division>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </division>
    <end>sample string 3</end>
    <facility>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </facility>
    <has_checked_in_players>true</has_checked_in_players>
    <home>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </home>
    <home_defaulted>true</home_defaulted>
    <home_forfeited>true</home_forfeited>
    <home_points>sample string 8</home_points>
    <home_score>sample string 10</home_score>
    <id>1</id>
    <is_in_club>true</is_in_club>
    <league>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </league>
    <network>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </network>
    <playoff>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </playoff>
    <sport>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </sport>
    <start>sample string 2</start>
    <status>ToBePlayed</status>
    <surface>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </surface>
    <type>RegularGame</type>
    <winner>sample string 12</winner>
  </GameDto>
  <GameDto>
    <away>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </away>
    <away_defaulted>true</away_defaulted>
    <away_forfeited>true</away_forfeited>
    <away_points>sample string 9</away_points>
    <away_score>sample string 11</away_score>
    <division>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </division>
    <end>sample string 3</end>
    <facility>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </facility>
    <has_checked_in_players>true</has_checked_in_players>
    <home>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </home>
    <home_defaulted>true</home_defaulted>
    <home_forfeited>true</home_forfeited>
    <home_points>sample string 8</home_points>
    <home_score>sample string 10</home_score>
    <id>1</id>
    <is_in_club>true</is_in_club>
    <league>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </league>
    <network>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </network>
    <playoff>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </playoff>
    <sport>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </sport>
    <start>sample string 2</start>
    <status>ToBePlayed</status>
    <surface>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </surface>
    <type>RegularGame</type>
    <winner>sample string 12</winner>
  </GameDto>
  <GameDto>
    <away>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </away>
    <away_defaulted>true</away_defaulted>
    <away_forfeited>true</away_forfeited>
    <away_points>sample string 9</away_points>
    <away_score>sample string 11</away_score>
    <division>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </division>
    <end>sample string 3</end>
    <facility>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </facility>
    <has_checked_in_players>true</has_checked_in_players>
    <home>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </home>
    <home_defaulted>true</home_defaulted>
    <home_forfeited>true</home_forfeited>
    <home_points>sample string 8</home_points>
    <home_score>sample string 10</home_score>
    <id>1</id>
    <is_in_club>true</is_in_club>
    <league>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </league>
    <network>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </network>
    <playoff>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </playoff>
    <sport>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </sport>
    <start>sample string 2</start>
    <status>ToBePlayed</status>
    <surface>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </surface>
    <type>RegularGame</type>
    <winner>sample string 12</winner>
  </GameDto>
</ArrayOfGameDto>