GET highscore/getTopUsers?token={token}&recordCount={recordCount}&gameId={gameId}&sortOption={sortOption}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

string

Required

recordCount

integer

Required

gameId

integer

Required

sortOption

scoreSorter

Default value is 0

Body Parameters

None.

Response Information

Resource Description

HighScore
NameDescriptionTypeAdditional information
UserId

integer

None.

Username

string

None.

Score

decimal number

None.

GameName

string

None.

ChapterName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "Username": "sample string 2",
  "Score": 3.0,
  "GameName": "sample string 4",
  "ChapterName": "sample string 5"
}

application/xml, text/xml

Sample:
<HighScore xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_3DHiveAPI.Models">
  <ChapterName>sample string 5</ChapterName>
  <GameName>sample string 4</GameName>
  <Score>3</Score>
  <UserId>1</UserId>
  <Username>sample string 2</Username>
</HighScore>

multipart/form-data

Sample:
<HighScore xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_3DHiveAPI.Models"><ChapterName>sample string 5</ChapterName><GameName>sample string 4</GameName><Score>3</Score><UserId>1</UserId><Username>sample string 2</Username></HighScore>