PUT api/Content/v3/GetLeaderBoard
Request Information
URI Parameters
None.
Body Parameters
LeaderBoardRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| UniqueId | globally unique identifier |
None. |
|
| UserUniqueId | integer |
None. |
|
| ProgramId | integer |
None. |
|
| SectionId | integer |
None. |
|
| LanguageId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"UniqueId": "4992c188-243f-4e4c-888b-8592b1159a64",
"UserUniqueId": 3,
"ProgramId": 4,
"SectionId": 5,
"LanguageId": 6
}
application/xml, text/xml
Sample:
<LeaderBoardRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <CustomerId>1</CustomerId> <LanguageId>6</LanguageId> <ProgramId>4</ProgramId> <SectionId>5</SectionId> <UniqueId>4992c188-243f-4e4c-888b-8592b1159a64</UniqueId> <UserUniqueId>3</UserUniqueId> </LeaderBoardRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
LeaderBoardResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| List | Collection of APILeaderBoard |
None. |
|
| BreweryList | Collection of APILeaderBoardBreweries |
None. |
|
| TotalRecords | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"List": [
{
"FirstName": "sample string 1",
"LastName": "sample string 2",
"ProfilePic": "sample string 3",
"Points": 4,
"Rank": 5,
"Level": 6,
"IsLoggedIn": true
},
{
"FirstName": "sample string 1",
"LastName": "sample string 2",
"ProfilePic": "sample string 3",
"Points": 4,
"Rank": 5,
"Level": 6,
"IsLoggedIn": true
}
],
"BreweryList": [
{
"Title": "sample string 1",
"Points": 2,
"Rank": 3,
"LogoURL": "sample string 4"
},
{
"Title": "sample string 1",
"Points": 2,
"Rank": 3,
"LogoURL": "sample string 4"
}
],
"TotalRecords": 1
}
application/xml, text/xml
Sample:
<LeaderBoardResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
<BreweryList>
<APILeaderBoardBreweries>
<LogoURL>sample string 4</LogoURL>
<Points>2</Points>
<Rank>3</Rank>
<Title>sample string 1</Title>
</APILeaderBoardBreweries>
<APILeaderBoardBreweries>
<LogoURL>sample string 4</LogoURL>
<Points>2</Points>
<Rank>3</Rank>
<Title>sample string 1</Title>
</APILeaderBoardBreweries>
</BreweryList>
<List>
<APILeaderBoard>
<FirstName>sample string 1</FirstName>
<IsLoggedIn>true</IsLoggedIn>
<LastName>sample string 2</LastName>
<Level>6</Level>
<Points>4</Points>
<ProfilePic>sample string 3</ProfilePic>
<Rank>5</Rank>
</APILeaderBoard>
<APILeaderBoard>
<FirstName>sample string 1</FirstName>
<IsLoggedIn>true</IsLoggedIn>
<LastName>sample string 2</LastName>
<Level>6</Level>
<Points>4</Points>
<ProfilePic>sample string 3</ProfilePic>
<Rank>5</Rank>
</APILeaderBoard>
</List>
<TotalRecords>1</TotalRecords>
</LeaderBoardResponse>