GET api/v{version}/tournament
Get all available tournaments
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of TournamentViewModelName | Description | Type | Additional information |
---|---|---|---|
TournamentId | integer |
None. |
|
Name | string |
None. |
|
Area | string |
None. |
|
CountryCode | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "TournamentId": 1, "Name": "sample string 2", "Area": "sample string 3", "CountryCode": "sample string 4" }, { "TournamentId": 1, "Name": "sample string 2", "Area": "sample string 3", "CountryCode": "sample string 4" } ]
application/xml, text/xml
Sample:
<ArrayOfTournamentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models"> <TournamentViewModel> <Area>sample string 3</Area> <CountryCode>sample string 4</CountryCode> <Name>sample string 2</Name> <TournamentId>1</TournamentId> </TournamentViewModel> <TournamentViewModel> <Area>sample string 3</Area> <CountryCode>sample string 4</CountryCode> <Name>sample string 2</Name> <TournamentId>1</TournamentId> </TournamentViewModel> </ArrayOfTournamentViewModel>