POST api/LeaderBoardResult/GetLeaderboardList

Request Information

URI Parameters

None.

Body Parameters

LeaderboardListbyContestQueryInfo
NameDescriptionTypeAdditional 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": "6d691f5c-49fa-432a-9850-bd56fa7c1e14",
  "CustomerId": "1dde7ec4-5472-467f-b8a8-bae2f756da3e",
  "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>6d691f5c-49fa-432a-9850-bd56fa7c1e14</ContestId>
  <CustomerId>1dde7ec4-5472-467f-b8a8-bae2f756da3e</CustomerId>
</LeaderboardListbyContestQueryInfo>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LeaderboardListbyContestQueryInfo'.

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.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "3fec88e0-77b0-46f5-8555-982238a475b5",
    "Username": "sample string 2",
    "CustomerImage": "sample string 3",
    "Points": 1,
    "ContestId": "2676ab04-8c94-45ff-bc68-f73dbe636354",
    "Description": "sample string 4",
    "IsTieBreakerWinner": true,
    "TieBreakerAnswer": "sample string 5"
  },
  {
    "Id": "3fec88e0-77b0-46f5-8555-982238a475b5",
    "Username": "sample string 2",
    "CustomerImage": "sample string 3",
    "Points": 1,
    "ContestId": "2676ab04-8c94-45ff-bc68-f73dbe636354",
    "Description": "sample string 4",
    "IsTieBreakerWinner": true,
    "TieBreakerAnswer": "sample string 5"
  }
]

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>2676ab04-8c94-45ff-bc68-f73dbe636354</ContestId>
    <CustomerImage>sample string 3</CustomerImage>
    <Description>sample string 4</Description>
    <Id>3fec88e0-77b0-46f5-8555-982238a475b5</Id>
    <IsTieBreakerWinner>true</IsTieBreakerWinner>
    <Points>1</Points>
    <TieBreakerAnswer>sample string 5</TieBreakerAnswer>
    <Username>sample string 2</Username>
  </LeaderBoardResultDto>
  <LeaderBoardResultDto>
    <ContestId>2676ab04-8c94-45ff-bc68-f73dbe636354</ContestId>
    <CustomerImage>sample string 3</CustomerImage>
    <Description>sample string 4</Description>
    <Id>3fec88e0-77b0-46f5-8555-982238a475b5</Id>
    <IsTieBreakerWinner>true</IsTieBreakerWinner>
    <Points>1</Points>
    <TieBreakerAnswer>sample string 5</TieBreakerAnswer>
    <Username>sample string 2</Username>
  </LeaderBoardResultDto>
</ArrayOfLeaderBoardResultDto>