GET api/BasicInformation/CompetitionClasses

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of 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"
  },
  {
    "Id": 1,
    "Name": "sample string 2"
  }
]

application/xml, text/xml

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