GET v3/views/mobile/leagues/default/{view}?id={id}

get league info

Request Information

Parameters

NameDescriptionAdditional information
view
No documentation available.

Define this parameter in the request URI.

id
league id

Define this parameter in the request URI.

Response Information

league info

Response body formats

application/json, text/json

Sample:
{
  "leagueInfo": {
    "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
    }
  },
  "view": "sample string 1",
  "viewModel": {}
}

application/xml, text/xml

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