GET api/v{version}/tournamenttype?page={page}&pageSize={pageSize}
Get all available tournament types
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
page | integer |
Default value is 0 |
|
pageSize | integer |
Default value is 0 |
|
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of TournamentTypeViewModelName | Description | Type | Additional information |
---|---|---|---|
TournamentTypeId | integer |
None. |
|
Name | string |
None. |
|
Slug | string |
None. |
|
DisplayOrder | integer |
None. |
|
TournamentTypeGroupId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "TournamentTypeId": 1, "Name": "sample string 2", "Slug": "sample string 3", "DisplayOrder": 4, "TournamentTypeGroupId": 1 }, { "TournamentTypeId": 1, "Name": "sample string 2", "Slug": "sample string 3", "DisplayOrder": 4, "TournamentTypeGroupId": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfTournamentTypeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Mappers"> <TournamentTypeViewModel> <DisplayOrder>4</DisplayOrder> <Name>sample string 2</Name> <Slug>sample string 3</Slug> <TournamentTypeGroupId>1</TournamentTypeGroupId> <TournamentTypeId>1</TournamentTypeId> </TournamentTypeViewModel> <TournamentTypeViewModel> <DisplayOrder>4</DisplayOrder> <Name>sample string 2</Name> <Slug>sample string 3</Slug> <TournamentTypeGroupId>1</TournamentTypeGroupId> <TournamentTypeId>1</TournamentTypeId> </TournamentTypeViewModel> </ArrayOfTournamentTypeViewModel>