GET api/HockeyLeagues

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of HockeyLeague
NameDescriptionTypeAdditional information
HockeyLeagueId

integer

None.

Country

string

None.

LeagueName

string

None.

LeagueFlag

string

None.

IsPremium

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "HockeyLeagueId": 1,
    "Country": "sample string 2",
    "LeagueName": "sample string 3",
    "LeagueFlag": "sample string 4",
    "IsPremium": true
  },
  {
    "HockeyLeagueId": 1,
    "Country": "sample string 2",
    "LeagueName": "sample string 3",
    "LeagueFlag": "sample string 4",
    "IsPremium": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfHockeyLeague xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BetonWebSite">
  <HockeyLeague>
    <Country>sample string 2</Country>
    <HockeyLeagueId>1</HockeyLeagueId>
    <IsPremium>true</IsPremium>
    <LeagueFlag>sample string 4</LeagueFlag>
    <LeagueName>sample string 3</LeagueName>
  </HockeyLeague>
  <HockeyLeague>
    <Country>sample string 2</Country>
    <HockeyLeagueId>1</HockeyLeagueId>
    <IsPremium>true</IsPremium>
    <LeagueFlag>sample string 4</LeagueFlag>
    <LeagueName>sample string 3</LeagueName>
  </HockeyLeague>
</ArrayOfHockeyLeague>