GET api/CustomerScore/GetLeaderboardList?contestId={contestId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
contestId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of LeaderboardDtoName | Description | Type | Additional information |
---|---|---|---|
RankNumber | integer |
None. |
|
Id | globally unique identifier |
None. |
|
AccountId | globally unique identifier |
None. |
|
Username | string |
None. |
|
CustomerImage | string |
None. |
|
Points | integer |
None. |
|
ContestId | globally unique identifier |
None. |
|
Description | string |
None. |
|
DescriptionFr | string |
None. |
|
PrizeImage | string |
None. |
|
IsTieBreakerWinner | boolean |
None. |
|
TieBreakerAnswer | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "RankNumber": 1, "Id": "c0225d81-06e6-4d83-8dbd-f80ca480be6d", "AccountId": "6d7e49ed-8761-4bda-8df0-21d4c05b52ba", "Username": "sample string 3", "CustomerImage": "sample string 4", "Points": 5, "ContestId": "6a7f55ee-5785-48d4-beaa-fb679263e28e", "Description": "sample string 7", "DescriptionFr": "sample string 8", "PrizeImage": "sample string 9", "IsTieBreakerWinner": true, "TieBreakerAnswer": "sample string 10" }, { "RankNumber": 1, "Id": "c0225d81-06e6-4d83-8dbd-f80ca480be6d", "AccountId": "6d7e49ed-8761-4bda-8df0-21d4c05b52ba", "Username": "sample string 3", "CustomerImage": "sample string 4", "Points": 5, "ContestId": "6a7f55ee-5785-48d4-beaa-fb679263e28e", "Description": "sample string 7", "DescriptionFr": "sample string 8", "PrizeImage": "sample string 9", "IsTieBreakerWinner": true, "TieBreakerAnswer": "sample string 10" } ]
application/xml, text/xml
Sample:
<ArrayOfLeaderboardDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.CustomerScoreModol.Model"> <LeaderboardDto> <AccountId>6d7e49ed-8761-4bda-8df0-21d4c05b52ba</AccountId> <ContestId>6a7f55ee-5785-48d4-beaa-fb679263e28e</ContestId> <CustomerImage>sample string 4</CustomerImage> <Description>sample string 7</Description> <DescriptionFr>sample string 8</DescriptionFr> <Id>c0225d81-06e6-4d83-8dbd-f80ca480be6d</Id> <IsTieBreakerWinner>true</IsTieBreakerWinner> <Points>5</Points> <PrizeImage>sample string 9</PrizeImage> <RankNumber>1</RankNumber> <TieBreakerAnswer>sample string 10</TieBreakerAnswer> <Username>sample string 3</Username> </LeaderboardDto> <LeaderboardDto> <AccountId>6d7e49ed-8761-4bda-8df0-21d4c05b52ba</AccountId> <ContestId>6a7f55ee-5785-48d4-beaa-fb679263e28e</ContestId> <CustomerImage>sample string 4</CustomerImage> <Description>sample string 7</Description> <DescriptionFr>sample string 8</DescriptionFr> <Id>c0225d81-06e6-4d83-8dbd-f80ca480be6d</Id> <IsTieBreakerWinner>true</IsTieBreakerWinner> <Points>5</Points> <PrizeImage>sample string 9</PrizeImage> <RankNumber>1</RankNumber> <TieBreakerAnswer>sample string 10</TieBreakerAnswer> <Username>sample string 3</Username> </LeaderboardDto> </ArrayOfLeaderboardDto>