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

Get some more details about a competition.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

translations

boolean

Default value is False

version

string

None.

Body Parameters

None.

Response Information

Resource Description

CompetitionDetailViewModel
NameDescriptionTypeAdditional information
NumberOfSeasons

integer

None.

Description

string

None.

DescriptionTranslations

Dictionary of string [key] and string [value]

None.

Meta

Provides list of meta data about the entity

Dictionary of string [key] and string [value]

None.

AttachmentHeader

A header.

string

None.

AttachmentHeaderContentType

The content type of the header.

string

None.

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:
{
  "NumberOfSeasons": 1,
  "Description": "sample string 2",
  "DescriptionTranslations": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "Meta": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "AttachmentHeader": "sample string 3",
  "AttachmentHeaderContentType": "sample string 4",
  "CompetitionId": 5,
  "Title": "sample string 6",
  "Type": "sample string 7",
  "Organisation": "sample string 8",
  "OrganisationId": 9,
  "LevelOfDetail": 0,
  "Modified": "2019-04-25T18:36:58.3280153+02:00",
  "Group": "sample string 11"
}

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.Apiv2.Models">
  <CompetitionId>5</CompetitionId>
  <Group>sample string 11</Group>
  <LevelOfDetail>High</LevelOfDetail>
  <Modified>2019-04-25T18:36:58.3280153+02:00</Modified>
  <Organisation>sample string 8</Organisation>
  <OrganisationId>9</OrganisationId>
  <Title>sample string 6</Title>
  <Type>sample string 7</Type>
  <AttachmentHeader>sample string 3</AttachmentHeader>
  <AttachmentHeaderContentType>sample string 4</AttachmentHeaderContentType>
  <Description>sample string 2</Description>
  <DescriptionTranslations xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </DescriptionTranslations>
  <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Meta>
  <NumberOfSeasons>1</NumberOfSeasons>
</CompetitionDetailViewModel>