POST api/CustomerScore/GetCustomerLeaderboard
Request Information
URI Parameters
None.
Body Parameters
LeaderboardListbyContestQueryInfoName | Description | Type | Additional information |
---|---|---|---|
ContestId | globally unique identifier |
None. |
|
CustomerId | globally unique identifier |
None. |
|
PageNumber | integer |
None. |
|
NumberOfRows | integer |
None. |
|
FilterText | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ContestId": "d4dc6d77-68dc-4ec4-8fe1-0f2dcf63eec9", "CustomerId": "cce1a121-cbf4-487f-96b2-f74e22174b02", "PageNumber": 1, "NumberOfRows": 1, "FilterText": "sample string 3" }
application/xml, text/xml
Sample:
<LeaderboardListbyContestQueryInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.CustomerScoreModol.Queries"> <FilterText xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Common">sample string 3</FilterText> <NumberOfRows xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Common">1</NumberOfRows> <PageNumber xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Common">1</PageNumber> <ContestId>d4dc6d77-68dc-4ec4-8fe1-0f2dcf63eec9</ContestId> <CustomerId>cce1a121-cbf4-487f-96b2-f74e22174b02</CustomerId> </LeaderboardListbyContestQueryInfo>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of GetCustomerLeaderBoardDtoName | Description | Type | Additional information |
---|---|---|---|
RankNumber | integer |
None. |
|
Username | string |
None. |
|
Points | integer |
None. |
|
TotalCounts | integer |
None. |
|
IsTieBreakerWinner | boolean |
None. |
|
TieBreakerAnswer | string |
None. |
|
ResponseText | string |
None. |
|
TMID | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "RankNumber": 1, "Username": "sample string 1", "Points": 2, "TotalCounts": 3, "IsTieBreakerWinner": true, "TieBreakerAnswer": "sample string 4", "ResponseText": "sample string 5", "TMID": "sample string 6" }, { "RankNumber": 1, "Username": "sample string 1", "Points": 2, "TotalCounts": 3, "IsTieBreakerWinner": true, "TieBreakerAnswer": "sample string 4", "ResponseText": "sample string 5", "TMID": "sample string 6" } ]
application/xml, text/xml
Sample:
<ArrayOfGetCustomerLeaderBoardDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.CustomerScoreModol.Model"> <GetCustomerLeaderBoardDto> <IsTieBreakerWinner>true</IsTieBreakerWinner> <Points>2</Points> <RankNumber>1</RankNumber> <ResponseText>sample string 5</ResponseText> <TMID>sample string 6</TMID> <TieBreakerAnswer>sample string 4</TieBreakerAnswer> <TotalCounts>3</TotalCounts> <Username>sample string 1</Username> </GetCustomerLeaderBoardDto> <GetCustomerLeaderBoardDto> <IsTieBreakerWinner>true</IsTieBreakerWinner> <Points>2</Points> <RankNumber>1</RankNumber> <ResponseText>sample string 5</ResponseText> <TMID>sample string 6</TMID> <TieBreakerAnswer>sample string 4</TieBreakerAnswer> <TotalCounts>3</TotalCounts> <Username>sample string 1</Username> </GetCustomerLeaderBoardDto> </ArrayOfGetCustomerLeaderBoardDto>