GET api/LeaderBoard/{id}?userId={userId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
|
userId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of LeaderBoardDataName | Description | Type | Additional information |
---|---|---|---|
UserId | integer |
None. |
|
UserName | string |
None. |
|
Rating | integer |
None. |
|
Score | integer |
None. |
|
League | string |
None. |
|
LeagueRank | integer |
None. |
|
GlobalRank | integer |
None. |
|
FacebookId | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "UserId": 1, "UserName": "sample string 1", "Rating": 1, "Score": 1, "League": "sample string 2", "LeagueRank": 1, "GlobalRank": 1, "FacebookId": "sample string 3" }, { "UserId": 1, "UserName": "sample string 1", "Rating": 1, "Score": 1, "League": "sample string 2", "LeagueRank": 1, "GlobalRank": 1, "FacebookId": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfLeaderBoardData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gamification"> <LeaderBoardData> <FacebookId>sample string 3</FacebookId> <GlobalRank>1</GlobalRank> <League>sample string 2</League> <LeagueRank>1</LeagueRank> <Rating>1</Rating> <Score>1</Score> <UserId>1</UserId> <UserName>sample string 1</UserName> </LeaderBoardData> <LeaderBoardData> <FacebookId>sample string 3</FacebookId> <GlobalRank>1</GlobalRank> <League>sample string 2</League> <LeagueRank>1</LeagueRank> <Rating>1</Rating> <Score>1</Score> <UserId>1</UserId> <UserName>sample string 1</UserName> </LeaderBoardData> </ArrayOfLeaderBoardData>