GET api/v{version}/tournamenttype/{id}
Get the information of a specific tournament type.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
tournamenttype id |
integer |
Required |
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
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 }
application/xml, text/xml
Sample:
<TournamentTypeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Mappers"> <DisplayOrder>4</DisplayOrder> <Name>sample string 2</Name> <Slug>sample string 3</Slug> <TournamentTypeGroupId>1</TournamentTypeGroupId> <TournamentTypeId>1</TournamentTypeId> </TournamentTypeViewModel>