POST api/LeaderBoardResult/AddLeaderBoardResult

Request Information

URI Parameters

None.

Body Parameters

AddLeaderBoardResultDto
NameDescriptionTypeAdditional information
ContestId

globally unique identifier

None.

CustomerId

globally unique identifier

None.

IsTieBreakerWinner

boolean

None.

TieBreakerAnswer

string

None.

UserName

string

None.

UserId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "ContestId": "87be2edc-307d-4af9-92ee-9c0637e2e280",
  "CustomerId": "0fa69911-6d5a-476e-bea0-3a596b61f7d7",
  "IsTieBreakerWinner": true,
  "TieBreakerAnswer": "sample string 2",
  "UserName": "sample string 3",
  "UserId": "ef83d0b5-4e38-41c9-adf4-ef78e8c32f72"
}

application/xml, text/xml

Sample:
<AddLeaderBoardResultDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.LeaderBoardResultModule.Model">
  <ContestId>87be2edc-307d-4af9-92ee-9c0637e2e280</ContestId>
  <CustomerId>0fa69911-6d5a-476e-bea0-3a596b61f7d7</CustomerId>
  <IsTieBreakerWinner>true</IsTieBreakerWinner>
  <TieBreakerAnswer>sample string 2</TieBreakerAnswer>
  <UserId>ef83d0b5-4e38-41c9-adf4-ef78e8c32f72</UserId>
  <UserName>sample string 3</UserName>
</AddLeaderBoardResultDto>

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 'AddLeaderBoardResultDto'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>