GET api/Game?gameId={gameId}&playerId={playerId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
gameId

globally unique identifier

Required

playerId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

QuizGameResult
NameDescriptionTypeAdditional information
GameId

globally unique identifier

None.

PlayerId

globally unique identifier

None.

QuizId

globally unique identifier

None.

QuestionCount

integer

None.

CorrectAnswerCount

integer

None.

PersonalRank

integer

None.

TotalRank

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "GameId": "4dbf359b-3df4-4557-a0d3-e4a23d71dd5a",
  "PlayerId": "ab0cdea3-6d68-4536-a919-a74509a046e0",
  "QuizId": "b291ef66-fc9b-456b-85de-0c06a6593924",
  "QuestionCount": 4,
  "CorrectAnswerCount": 5,
  "PersonalRank": 6,
  "TotalRank": 7,
  "Message": "sample string 8"
}

application/xml, text/xml

Sample:
<QuizGameResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WIQuest.Web.API.Responses">
  <CorrectAnswerCount>5</CorrectAnswerCount>
  <GameId>4dbf359b-3df4-4557-a0d3-e4a23d71dd5a</GameId>
  <Message>sample string 8</Message>
  <PersonalRank>6</PersonalRank>
  <PlayerId>ab0cdea3-6d68-4536-a919-a74509a046e0</PlayerId>
  <QuestionCount>4</QuestionCount>
  <QuizId>b291ef66-fc9b-456b-85de-0c06a6593924</QuizId>
  <TotalRank>7</TotalRank>
</QuizGameResult>