GET api/Draws/Tournament/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Draw
NameDescriptionTypeAdditional information
Id

integer

None.

TournamentId

integer

None.

GameStart

date

Data type: DateTime

DrawNumber

integer

None.

OdfId

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "TournamentId": 2,
    "GameStart": "2019-09-20T14:57:56.9789386+00:00",
    "DrawNumber": 4,
    "OdfId": "sample string 5"
  },
  {
    "Id": 1,
    "TournamentId": 2,
    "GameStart": "2019-09-20T14:57:56.9789386+00:00",
    "DrawNumber": 4,
    "OdfId": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDraw xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://worldcurling.org/statistics/data/draw">
  <Draw>
    <DrawNumber>4</DrawNumber>
    <GameStart>2019-09-20T14:57:56.9789386+00:00</GameStart>
    <Id>1</Id>
    <OdfId>sample string 5</OdfId>
    <TournamentId>2</TournamentId>
  </Draw>
  <Draw>
    <DrawNumber>4</DrawNumber>
    <GameStart>2019-09-20T14:57:56.9789386+00:00</GameStart>
    <Id>1</Id>
    <OdfId>sample string 5</OdfId>
    <TournamentId>2</TournamentId>
  </Draw>
</ArrayOfDraw>