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": "78e26027-5644-4c59-a0aa-b322cc2277c9",
  "LeagueheaderId": "bc0bb108-1ac4-4c46-af8e-bdbccea1a4d0"
}

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>78e26027-5644-4c59-a0aa-b322cc2277c9</ContestId>
  <LeagueheaderId>bc0bb108-1ac4-4c46-af8e-bdbccea1a4d0</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": "27e7abcd-c322-44f6-bb03-0389596973e6",
    "LeagueHeaderId": "6abf806a-6c92-433f-9f36-ed448a01c73c",
    "MemberId": "2764753d-a623-45cf-8dad-c82308b53a0c",
    "IsAdmin": true,
    "UserName": "sample string 5",
    "UserImage": "sample string 6",
    "Rank": 1,
    "Points": 1,
    "ContestName": "sample string 7",
    "PrizePool": 8.0
  },
  {
    "Id": "27e7abcd-c322-44f6-bb03-0389596973e6",
    "LeagueHeaderId": "6abf806a-6c92-433f-9f36-ed448a01c73c",
    "MemberId": "2764753d-a623-45cf-8dad-c82308b53a0c",
    "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>27e7abcd-c322-44f6-bb03-0389596973e6</Id>
    <IsAdmin>true</IsAdmin>
    <LeagueHeaderId>6abf806a-6c92-433f-9f36-ed448a01c73c</LeagueHeaderId>
    <MemberId>2764753d-a623-45cf-8dad-c82308b53a0c</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>27e7abcd-c322-44f6-bb03-0389596973e6</Id>
    <IsAdmin>true</IsAdmin>
    <LeagueHeaderId>6abf806a-6c92-433f-9f36-ed448a01c73c</LeagueHeaderId>
    <MemberId>2764753d-a623-45cf-8dad-c82308b53a0c</MemberId>
    <Points>1</Points>
    <PrizePool>8</PrizePool>
    <Rank>1</Rank>
    <UserImage>sample string 6</UserImage>
    <UserName>sample string 5</UserName>
  </LeagueDetailDto>
</ArrayOfLeagueDetailDto>