GET api/v{version}/tournamenttypegroup

Get all available tournamenttypes

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of TournamentTypeGroupViewModel
NameDescriptionTypeAdditional information
TournamentTypeGroupId

integer

None.

Name

string

None.

Slug

string

None.

DisplayOrder

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "TournamentTypeGroupId": 1,
    "Name": "sample string 2",
    "Slug": "sample string 3",
    "DisplayOrder": 4
  },
  {
    "TournamentTypeGroupId": 1,
    "Name": "sample string 2",
    "Slug": "sample string 3",
    "DisplayOrder": 4
  }
]

application/xml, text/xml

Sample:
<ArrayOfTournamentTypeGroupViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Mappers">
  <TournamentTypeGroupViewModel>
    <DisplayOrder>4</DisplayOrder>
    <Name>sample string 2</Name>
    <Slug>sample string 3</Slug>
    <TournamentTypeGroupId>1</TournamentTypeGroupId>
  </TournamentTypeGroupViewModel>
  <TournamentTypeGroupViewModel>
    <DisplayOrder>4</DisplayOrder>
    <Name>sample string 2</Name>
    <Slug>sample string 3</Slug>
    <TournamentTypeGroupId>1</TournamentTypeGroupId>
  </TournamentTypeGroupViewModel>
</ArrayOfTournamentTypeGroupViewModel>