POST api/Draws

Request Information

URI Parameters

None.

Body Parameters

Draw
NameDescriptionTypeAdditional information
Id

Gets or sets the id.

integer

None.

TournamentId

Gets or sets the tournament id to which this draw belongs.

integer

None.

GameStart

Gets or sets of the game start.

date

Data type: DateTime

DrawNumber

Gets or sets number of the draw.

integer

None.

OdfId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "TournamentId": 2,
  "GameStart": "2017-12-11T22:00:02.8305713+00:00",
  "DrawNumber": 4,
  "OdfId": "sample string 5"
}

application/xml, text/xml

Sample:
<Draw xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://worldcurling.org/statistics/data/draw">
  <DrawNumber>4</DrawNumber>
  <GameStart>2017-12-11T22:00:02.8305713+00:00</GameStart>
  <Id>1</Id>
  <OdfId>sample string 5</OdfId>
  <TournamentId>2</TournamentId>
</Draw>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.