GET games/{id}

Return a specific game data object by id by default, return type of regular game

Request Information

Parameters

NameDescriptionAdditional information
id
game id

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
}

application/xml, text/xml

Sample:
<GameDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO">
  <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>