GET api/CompetitionClasses/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

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>