GET api/LeaderBoardResult/GetLeaderboardList?contestId={contestId}&pageNumber={pageNumber}&numberOfRows={numberOfRows}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
contestId | globally unique identifier |
Required |
|
pageNumber | integer |
Default value is 1 |
|
numberOfRows | integer |
Default value is 200 |
Body Parameters
None.
Response Information
Resource Description
Collection of LeaderBoardResultDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Username | string |
None. |
|
CustomerImage | string |
None. |
|
Points | integer |
None. |
|
ContestId | globally unique identifier |
None. |
|
Description | string |
None. |
|
IsTieBreakerWinner | boolean |
None. |
|
TieBreakerAnswer | string |
None. |
|
TieBreakerResponse | string |
None. |
|
WinnerDesc | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": "fa11eb56-f128-461e-a5f1-b4c9d4d3d480", "Username": "sample string 2", "CustomerImage": "sample string 3", "Points": 1, "ContestId": "c4aed456-bb43-47af-b3fc-15f61cb57ed1", "Description": "sample string 5", "IsTieBreakerWinner": true, "TieBreakerAnswer": "sample string 6", "TieBreakerResponse": "sample string 7", "WinnerDesc": "sample string 8" }, { "Id": "fa11eb56-f128-461e-a5f1-b4c9d4d3d480", "Username": "sample string 2", "CustomerImage": "sample string 3", "Points": 1, "ContestId": "c4aed456-bb43-47af-b3fc-15f61cb57ed1", "Description": "sample string 5", "IsTieBreakerWinner": true, "TieBreakerAnswer": "sample string 6", "TieBreakerResponse": "sample string 7", "WinnerDesc": "sample string 8" } ]
application/xml, text/xml
Sample:
<ArrayOfLeaderBoardResultDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.LeaderBoardResultModule.Model"> <LeaderBoardResultDto> <ContestId>c4aed456-bb43-47af-b3fc-15f61cb57ed1</ContestId> <CustomerImage>sample string 3</CustomerImage> <Description>sample string 5</Description> <Id>fa11eb56-f128-461e-a5f1-b4c9d4d3d480</Id> <IsTieBreakerWinner>true</IsTieBreakerWinner> <Points>1</Points> <TieBreakerAnswer>sample string 6</TieBreakerAnswer> <TieBreakerResponse>sample string 7</TieBreakerResponse> <Username>sample string 2</Username> <WinnerDesc>sample string 8</WinnerDesc> </LeaderBoardResultDto> <LeaderBoardResultDto> <ContestId>c4aed456-bb43-47af-b3fc-15f61cb57ed1</ContestId> <CustomerImage>sample string 3</CustomerImage> <Description>sample string 5</Description> <Id>fa11eb56-f128-461e-a5f1-b4c9d4d3d480</Id> <IsTieBreakerWinner>true</IsTieBreakerWinner> <Points>1</Points> <TieBreakerAnswer>sample string 6</TieBreakerAnswer> <TieBreakerResponse>sample string 7</TieBreakerResponse> <Username>sample string 2</Username> <WinnerDesc>sample string 8</WinnerDesc> </LeaderBoardResultDto> </ArrayOfLeaderBoardResultDto>