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

Gets the game participant scores for the specified game id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
gameId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of GameParticipantScoreDetail
NameDescriptionTypeAdditional information
ParticipantId

integer

None.

ParticipantName

string

None.

GroupId

integer

None.

Points

integer

None.

Eliminated

boolean

None.

GroupName

string

None.

Response Formats

application/json, text/json

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

text/html, text/plain

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

application/xml, text/xml

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