GET api/Ends/{id}

Gets a specific end.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The databse identifiern of the end record.

integer

Required

Body Parameters

None.

Response Information

Resource Description

An record

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.

Response 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>