GET api/DrawTypes

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of DrawType
NameDescriptionTypeAdditional information
Id

Gets or sets the id.

integer

None.

DrawNumber

Gets or sets the draw number (used for sorting purposes).

integer

Required

Name

Gets or sets the name of the draw.

string

Required

GameType

Gets or sets the type of the game.

DrawGameType

None.

Abbreviation

Gets or sets the abbreviation (short name) of the game type.

string

None.

OdfId

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "DrawNumber": 2,
    "Name": "sample string 3",
    "GameType": 0,
    "Abbreviation": "sample string 4",
    "OdfId": "sample string 5"
  },
  {
    "Id": 1,
    "DrawNumber": 2,
    "Name": "sample string 3",
    "GameType": 0,
    "Abbreviation": "sample string 4",
    "OdfId": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDrawType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://worldcurling.org/statistics/data/drawtype">
  <DrawType>
    <Abbreviation>sample string 4</Abbreviation>
    <DrawNumber>2</DrawNumber>
    <GameType>Roundrobin</GameType>
    <Id>1</Id>
    <Name>sample string 3</Name>
    <OdfId>sample string 5</OdfId>
  </DrawType>
  <DrawType>
    <Abbreviation>sample string 4</Abbreviation>
    <DrawNumber>2</DrawNumber>
    <GameType>Roundrobin</GameType>
    <Id>1</Id>
    <Name>sample string 3</Name>
    <OdfId>sample string 5</OdfId>
  </DrawType>
</ArrayOfDrawType>