GET api/Ends/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

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>