POST api/Ends

Request Information

URI Parameters

None.

Body Parameters

End
NameDescriptionTypeAdditional information
Id

Gets or sets the id.

integer

None.

GameId

Gets or sets the game id to which this end belongs.

integer

None.

EndNumber

Gets or sets the end number.

integer

None.

Team1

Gets or sets the score for team 1

integer

None.

Team2

Gets or sets the score for team 2

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "GameId": 2,
  "EndNumber": 3,
  "Team1": 4,
  "Team2": 5
}

application/xml, text/xml

Sample:
<End xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://worldcurling.org/statistics/data/end">
  <EndNumber>3</EndNumber>
  <GameId>2</GameId>
  <Id>1</Id>
  <Team1>4</Team1>
  <Team2>5</Team2>
</End>

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.