POST api/LeagueDetail/GetCustomerListForLeague

Request Information

URI Parameters

None.

Body Parameters

LeagueInfo
NameDescriptionTypeAdditional information
ContestId

globally unique identifier

None.

LeagueheaderId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "ContestId": "6e6d5de4-e228-415b-b4de-c4fc3c2b1eba",
  "LeagueheaderId": "359dcfaf-6823-49de-9fab-9f8ec8d135aa"
}

application/xml, text/xml

Sample:
<LeagueInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.LeagueDetailModule.Model">
  <ContestId>6e6d5de4-e228-415b-b4de-c4fc3c2b1eba</ContestId>
  <LeagueheaderId>359dcfaf-6823-49de-9fab-9f8ec8d135aa</LeagueheaderId>
</LeagueInfo>

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

Response Information

Resource Description

Collection of LeagueDetailDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

LeagueHeaderId

globally unique identifier

None.

MemberId

globally unique identifier

None.

IsAdmin

boolean

None.

UserName

string

None.

UserImage

string

None.

Rank

integer

None.

Points

integer

None.

ContestName

string

None.

PrizePool

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "d9a9578e-bc3c-4cda-8b72-f12e6d44e4b2",
    "LeagueHeaderId": "2116eabc-b183-426c-a741-94edd95891c6",
    "MemberId": "23d9675d-f732-4abc-b30e-b0a0ee5689ab",
    "IsAdmin": true,
    "UserName": "sample string 5",
    "UserImage": "sample string 6",
    "Rank": 1,
    "Points": 1,
    "ContestName": "sample string 7",
    "PrizePool": 8.0
  },
  {
    "Id": "d9a9578e-bc3c-4cda-8b72-f12e6d44e4b2",
    "LeagueHeaderId": "2116eabc-b183-426c-a741-94edd95891c6",
    "MemberId": "23d9675d-f732-4abc-b30e-b0a0ee5689ab",
    "IsAdmin": true,
    "UserName": "sample string 5",
    "UserImage": "sample string 6",
    "Rank": 1,
    "Points": 1,
    "ContestName": "sample string 7",
    "PrizePool": 8.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfLeagueDetailDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.LeagueDetailModule.Model">
  <LeagueDetailDto>
    <ContestName>sample string 7</ContestName>
    <Id>d9a9578e-bc3c-4cda-8b72-f12e6d44e4b2</Id>
    <IsAdmin>true</IsAdmin>
    <LeagueHeaderId>2116eabc-b183-426c-a741-94edd95891c6</LeagueHeaderId>
    <MemberId>23d9675d-f732-4abc-b30e-b0a0ee5689ab</MemberId>
    <Points>1</Points>
    <PrizePool>8</PrizePool>
    <Rank>1</Rank>
    <UserImage>sample string 6</UserImage>
    <UserName>sample string 5</UserName>
  </LeagueDetailDto>
  <LeagueDetailDto>
    <ContestName>sample string 7</ContestName>
    <Id>d9a9578e-bc3c-4cda-8b72-f12e6d44e4b2</Id>
    <IsAdmin>true</IsAdmin>
    <LeagueHeaderId>2116eabc-b183-426c-a741-94edd95891c6</LeagueHeaderId>
    <MemberId>23d9675d-f732-4abc-b30e-b0a0ee5689ab</MemberId>
    <Points>1</Points>
    <PrizePool>8</PrizePool>
    <Rank>1</Rank>
    <UserImage>sample string 6</UserImage>
    <UserName>sample string 5</UserName>
  </LeagueDetailDto>
</ArrayOfLeagueDetailDto>