GET api/User/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

User
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Email

string

None.

FacebookId

string

None.

FacebookAccessToken

string

None.

DeviceId

string

None.

Rating

integer

None.

Score

integer

None.

League

string

None.

LeagueRank

integer

None.

GlobalRank

integer

None.

WinStreak

integer

None.

LossStreak

integer

None.

Avatar

string

None.

PlayerNumber

integer

None.

OptOutOfFacebook

boolean

None.

OptOutOfLogin

boolean

None.

IsComputer

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Email": "sample string 3",
  "FacebookId": "sample string 4",
  "FacebookAccessToken": "sample string 5",
  "DeviceId": "sample string 6",
  "Rating": 1,
  "Score": 1,
  "League": "sample string 7",
  "LeagueRank": 1,
  "GlobalRank": 1,
  "WinStreak": 1,
  "LossStreak": 1,
  "Avatar": "sample string 8",
  "PlayerNumber": 9,
  "OptOutOfFacebook": true,
  "OptOutOfLogin": true,
  "IsComputer": true
}

application/xml, text/xml

Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gamification">
  <Avatar>sample string 8</Avatar>
  <DeviceId>sample string 6</DeviceId>
  <Email>sample string 3</Email>
  <FacebookAccessToken>sample string 5</FacebookAccessToken>
  <FacebookId>sample string 4</FacebookId>
  <GlobalRank>1</GlobalRank>
  <Id>1</Id>
  <IsComputer>true</IsComputer>
  <League>sample string 7</League>
  <LeagueRank>1</LeagueRank>
  <LossStreak>1</LossStreak>
  <Name>sample string 2</Name>
  <OptOutOfFacebook>true</OptOutOfFacebook>
  <OptOutOfLogin>true</OptOutOfLogin>
  <PlayerNumber>9</PlayerNumber>
  <Rating>1</Rating>
  <Score>1</Score>
  <WinStreak>1</WinStreak>
</User>