GET api/v{version}/competition/details?id={id}

Get some more details about a competition.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

CompetitionDetailViewModel
NameDescriptionTypeAdditional information
CompetitionId

integer

None.

Title

string

None.

Type

string

None.

NumberOfSeasons

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "CompetitionId": 1,
  "Title": "sample string 2",
  "Type": "sample string 3",
  "NumberOfSeasons": 4
}

application/xml, text/xml

Sample:
<CompetitionDetailViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv1.Models">
  <CompetitionId>1</CompetitionId>
  <NumberOfSeasons>4</NumberOfSeasons>
  <Title>sample string 2</Title>
  <Type>sample string 3</Type>
</CompetitionDetailViewModel>