GET api/BasicInformation/OfficialRoles

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of OfficialRole
NameDescriptionTypeAdditional information
Code

Gets or sets the code.

OfficialRoleCodes

None.

Name

Gets or sets the name of the role used for display purposes.

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Code": 1,
    "Name": "sample string 1"
  },
  {
    "Code": 1,
    "Name": "sample string 1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfOfficialRole xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://worldcurling.org/statistics/data/officialrole">
  <OfficialRole>
    <Code>CHIEFUMPIRE</Code>
    <Name>sample string 1</Name>
  </OfficialRole>
  <OfficialRole>
    <Code>CHIEFUMPIRE</Code>
    <Name>sample string 1</Name>
  </OfficialRole>
</ArrayOfOfficialRole>