GET api/v1/games/participants/{gameId}

Gets the game participants / contestants for the specified game id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
gameId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of GameParticipantDetail
NameDescriptionTypeAdditional information
Id

integer

None.

GameId

integer

None.

GroupId

integer

None.

ParticipantName

string

None.

GroupName

string

None.

Points

integer

None.

Eliminated

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "gameId": 2,
    "groupId": 1,
    "participantName": "sample string 3",
    "groupName": "sample string 4",
    "points": 5,
    "eliminated": true
  },
  {
    "id": 1,
    "gameId": 2,
    "groupId": 1,
    "participantName": "sample string 3",
    "groupName": "sample string 4",
    "points": 5,
    "eliminated": true
  }
]

text/html, text/plain

Sample:
[{"id":1,"gameId":2,"groupId":1,"participantName":"sample string 3","groupName":"sample string 4","points":5,"eliminated":true},{"id":1,"gameId":2,"groupId":1,"participantName":"sample string 3","groupName":"sample string 4","points":5,"eliminated":true}]

application/xml, text/xml

Sample:
<ArrayOfGameParticipantDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Last2Left.Services.DTOs">
  <GameParticipantDetail>
    <Eliminated>true</Eliminated>
    <GameId>2</GameId>
    <GroupId>1</GroupId>
    <GroupName>sample string 4</GroupName>
    <Id>1</Id>
    <ParticipantName>sample string 3</ParticipantName>
    <Points>5</Points>
  </GameParticipantDetail>
  <GameParticipantDetail>
    <Eliminated>true</Eliminated>
    <GameId>2</GameId>
    <GroupId>1</GroupId>
    <GroupName>sample string 4</GroupName>
    <Id>1</Id>
    <ParticipantName>sample string 3</ParticipantName>
    <Points>5</Points>
  </GameParticipantDetail>
</ArrayOfGameParticipantDetail>