GET api/League/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of LeagueName | Description | Type | Additional information |
---|---|---|---|
LeagueId | integer |
None. |
|
CountryId | integer |
None. |
|
LeagueName | string |
None. |
|
LeagueFlag | string |
None. |
|
IsPremium | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "LeagueId": 1, "CountryId": 2, "LeagueName": "sample string 3", "LeagueFlag": "sample string 4", "IsPremium": true }, { "LeagueId": 1, "CountryId": 2, "LeagueName": "sample string 3", "LeagueFlag": "sample string 4", "IsPremium": true } ]
application/xml, text/xml
Sample:
<ArrayOfLeague xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BetonWebSite.Models"> <League> <CountryId>2</CountryId> <IsPremium>true</IsPremium> <LeagueFlag>sample string 4</LeagueFlag> <LeagueId>1</LeagueId> <LeagueName>sample string 3</LeagueName> </League> <League> <CountryId>2</CountryId> <IsPremium>true</IsPremium> <LeagueFlag>sample string 4</LeagueFlag> <LeagueId>1</LeagueId> <LeagueName>sample string 3</LeagueName> </League> </ArrayOfLeague>