GET api/v{version}/core/competition/{id}

Get the details of the competition.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Comptition id

integer

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

The details

CompetitionDetailsCoreModel
NameDescriptionTypeAdditional information
CompetitionId

The unique id.

integer

None.

Name

Name of the competition.

string

None.

Modified

Last time the competition is modified.

date

None.

TournamentTypeId

integer

None.

TournamentId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "CompetitionId": 1,
  "Name": "sample string 2",
  "Modified": "2023-09-30T04:00:08.8955805+02:00",
  "TournamentTypeId": 4,
  "TournamentId": 1
}

application/xml, text/xml

Sample:
<CompetitionDetailsCoreModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models.Core">
  <CompetitionId>1</CompetitionId>
  <Modified>2023-09-30T04:00:08.8955805+02:00</Modified>
  <Name>sample string 2</Name>
</CompetitionDetailsCoreModel>