GET api/CompetitionClasses/{id}

Gets a specific competition class based on the id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The identifier of the class

integer

Required

Body Parameters

None.

Response Information

Resource Description

A record.

CompetitionClass
NameDescriptionTypeAdditional information
Id

Gets or sets the id of the competition class.

integer

None.

Name

Gets or sets the name of the competition class.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2"
}

application/xml, text/xml

Sample:
<CompetitionClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://worldcurling.org/statistics/data/competitionclass">
  <Id>1</Id>
  <Name>sample string 2</Name>
</CompetitionClass>