GET api/Participants/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Participant
NameDescriptionTypeAdditional information
Id

Gets or sets the id of the participant.

integer

None.

Person

Gets or sets the person's key data.

PersonKeyData

None.

PlayerPosition

Gets or sets the position of the player.

Position

None.

PlayedStones

Gets or sets if the player has played stones in the game. If the value is larger than 0 then player participated.

integer

None.

Points

Gets or sets the total number of points (for calculation percentages).

integer

None.

Score

Gets or sets the percentage score.

decimal number

None.

Skip

Gets or sets a value indicating whether this was the skip.

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Person": {
    "FirstName": "sample string 1",
    "Initial": "sample string 2",
    "PersonId": 3,
    "SurName": "sample string 4",
    "Links": []
  },
  "PlayerPosition": {
    "Number": 1,
    "Name": "sample string 2",
    "IsSkip": true,
    "IsPlayer": true,
    "ShortName": "sample string 5"
  },
  "PlayedStones": 1,
  "Points": 1,
  "Score": 1.0,
  "Skip": true
}

application/xml, text/xml

Sample:
<Participant xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://worldcurling.org/statistics/data/participant">
  <Id>1</Id>
  <Person xmlns:d2p1="http://worldcurling.org/statistics/data/personkeydata">
    <Links xmlns:d3p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
    <d2p1:FirstName>sample string 1</d2p1:FirstName>
    <d2p1:Initial>sample string 2</d2p1:Initial>
    <d2p1:PersonId>3</d2p1:PersonId>
    <d2p1:SurName>sample string 4</d2p1:SurName>
  </Person>
  <PlayedStones>1</PlayedStones>
  <PlayerPosition xmlns:d2p1="http://worldcurling.org/statistics/data/position">
    <d2p1:IsPlayer>true</d2p1:IsPlayer>
    <d2p1:IsSkip>true</d2p1:IsSkip>
    <d2p1:Name>sample string 2</d2p1:Name>
    <d2p1:Number>1</d2p1:Number>
    <d2p1:ShortName>sample string 5</d2p1:ShortName>
  </PlayerPosition>
  <Points>1</Points>
  <Score>1</Score>
  <Skip>true</Skip>
</Participant>