GET api/v{version}/competition/tournament/{tournament}

Get the competitions that are related to a tournament.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tournament

the tournament type: PDC Majors, BDO Majors, WDF Cups...

string

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CompetitionViewModel
NameDescriptionTypeAdditional information
CompetitionId

integer

None.

Title

string

None.

Type

string

None.

Organisation

string

None.

OrganisationId

integer

None.

LevelOfDetail

LevelOfDetail

None.

Modified

date

None.

Group

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CompetitionId": 1,
    "Title": "sample string 2",
    "Type": "sample string 3",
    "Organisation": "sample string 4",
    "OrganisationId": 5,
    "LevelOfDetail": 0,
    "Modified": "2019-06-17T21:25:28.1129916+02:00",
    "Group": "sample string 7"
  },
  {
    "CompetitionId": 1,
    "Title": "sample string 2",
    "Type": "sample string 3",
    "Organisation": "sample string 4",
    "OrganisationId": 5,
    "LevelOfDetail": 0,
    "Modified": "2019-06-17T21:25:28.1129916+02:00",
    "Group": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCompetitionViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models">
  <CompetitionViewModel>
    <CompetitionId>1</CompetitionId>
    <Group>sample string 7</Group>
    <LevelOfDetail>High</LevelOfDetail>
    <Modified>2019-06-17T21:25:28.1129916+02:00</Modified>
    <Organisation>sample string 4</Organisation>
    <OrganisationId>5</OrganisationId>
    <Title>sample string 2</Title>
    <Type>sample string 3</Type>
  </CompetitionViewModel>
  <CompetitionViewModel>
    <CompetitionId>1</CompetitionId>
    <Group>sample string 7</Group>
    <LevelOfDetail>High</LevelOfDetail>
    <Modified>2019-06-17T21:25:28.1129916+02:00</Modified>
    <Organisation>sample string 4</Organisation>
    <OrganisationId>5</OrganisationId>
    <Title>sample string 2</Title>
    <Type>sample string 3</Type>
  </CompetitionViewModel>
</ArrayOfCompetitionViewModel>