GET v3/leagues/{id}

get league basic info

Request Information

Parameters

NameDescriptionAdditional information
id
league id

Define this parameter in the request URI.

Response Information

league basic info

Response body formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "name": "sample string 2",
  "logo": "sample string 3",
  "registrationStart": "sample string 4",
  "registrationEnd": "sample string 5",
  "regularSeasonStart": "sample string 6",
  "regularSeasonEnd": "sample string 7",
  "leagueStatus": 0,
  "leagueStatusText": "sample string 8",
  "isSportAdmin": true,
  "isEventSport": true,
  "isCanCreateTeam": true,
  "allowWaitList": true,
  "waitlistAlias": "sample string 13",
  "defaultDivisionId": "sample string 14",
  "isDivisionLevel": true,
  "acceptPayment": true,
  "allowFreeAgent": true,
  "freeagentFeeAmount": 18.1,
  "isCanJoinAsFreeAgent": true,
  "paymentAmount": 20.1,
  "schoolId": "sample string 21",
  "description": "sample string 22",
  "leagueInfoVM": {
    "registrationStart": "sample string 1",
    "registrationEnd": "sample string 2",
    "regularSeasonStart": "sample string 3",
    "regularSeasonEnd": "sample string 4",
    "joinTeamUntilDate": "sample string 5",
    "minPlayer": "sample string 6",
    "maxPlayer": "sample string 7",
    "waitlistRegStartDate": "sample string 8",
    "waitlistRegEndDate": "sample string 9",
    "description": "sample string 10",
    "showWaitlist": true
  }
}

application/xml, text/xml

Sample:
<LeagueBasicInfoOutVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.League">
  <AcceptPayment>true</AcceptPayment>
  <AllowFreeAgent>true</AllowFreeAgent>
  <AllowWaitList>true</AllowWaitList>
  <DefaultDivisionId>sample string 14</DefaultDivisionId>
  <Description>sample string 22</Description>
  <FreeagentFeeAmount>18.1</FreeagentFeeAmount>
  <Id>sample string 1</Id>
  <IsCanCreateTeam>true</IsCanCreateTeam>
  <IsCanJoinAsFreeAgent>true</IsCanJoinAsFreeAgent>
  <IsDivisionLevel>true</IsDivisionLevel>
  <IsEventSport>true</IsEventSport>
  <IsSportAdmin>true</IsSportAdmin>
  <LeagueInfoVM>
    <Description>sample string 10</Description>
    <JoinTeamUntilDate>sample string 5</JoinTeamUntilDate>
    <MaxPlayer>sample string 7</MaxPlayer>
    <MinPlayer>sample string 6</MinPlayer>
    <RegistrationEnd>sample string 2</RegistrationEnd>
    <RegistrationStart>sample string 1</RegistrationStart>
    <RegularSeasonEnd>sample string 4</RegularSeasonEnd>
    <RegularSeasonStart>sample string 3</RegularSeasonStart>
    <ShowWaitlist>true</ShowWaitlist>
    <WaitlistRegEndDate>sample string 9</WaitlistRegEndDate>
    <WaitlistRegStartDate>sample string 8</WaitlistRegStartDate>
  </LeagueInfoVM>
  <LeagueStatus>Waitlist</LeagueStatus>
  <LeagueStatusText>sample string 8</LeagueStatusText>
  <Logo>sample string 3</Logo>
  <Name>sample string 2</Name>
  <PaymentAmount>20.1</PaymentAmount>
  <RegistrationEnd>sample string 5</RegistrationEnd>
  <RegistrationStart>sample string 4</RegistrationStart>
  <RegularSeasonEnd>sample string 7</RegularSeasonEnd>
  <RegularSeasonStart>sample string 6</RegularSeasonStart>
  <SchoolId>sample string 21</SchoolId>
  <WaitlistAlias>sample string 13</WaitlistAlias>
</LeagueBasicInfoOutVO>