GET api/LeaderBoardResult/GetLeaderboardList?contestId={contestId}&pageNumber={pageNumber}&numberOfRows={numberOfRows}

Request Information

URI Parameters

NameDescriptionTypeAdditional 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 LeaderBoardResultDto
NameDescriptionTypeAdditional 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": "4532360a-4c50-435a-9950-a423f631afb8",
    "Username": "sample string 2",
    "CustomerImage": "sample string 3",
    "Points": 1,
    "ContestId": "59f03abb-bfcd-4a40-9aae-e9dedc9f9597",
    "Description": "sample string 5",
    "IsTieBreakerWinner": true,
    "TieBreakerAnswer": "sample string 6",
    "TieBreakerResponse": "sample string 7",
    "WinnerDesc": "sample string 8"
  },
  {
    "Id": "4532360a-4c50-435a-9950-a423f631afb8",
    "Username": "sample string 2",
    "CustomerImage": "sample string 3",
    "Points": 1,
    "ContestId": "59f03abb-bfcd-4a40-9aae-e9dedc9f9597",
    "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>59f03abb-bfcd-4a40-9aae-e9dedc9f9597</ContestId>
    <CustomerImage>sample string 3</CustomerImage>
    <Description>sample string 5</Description>
    <Id>4532360a-4c50-435a-9950-a423f631afb8</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>59f03abb-bfcd-4a40-9aae-e9dedc9f9597</ContestId>
    <CustomerImage>sample string 3</CustomerImage>
    <Description>sample string 5</Description>
    <Id>4532360a-4c50-435a-9950-a423f631afb8</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>