GET v3/views/mobile/teams/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:
{
  "teamInfo": {
    "canSendJoinRequest": {
      "returnValue": true,
      "code": 0,
      "message": "sample string 2"
    },
    "maleCount": 1,
    "femaleCount": 2,
    "rosterReq": "sample string 3",
    "teamId": "sample string 4",
    "teamName": "sample string 5",
    "teamLogo": "sample string 6",
    "joinedDate": "sample string 7",
    "schoolId": "sample string 8",
    "schoolName": "sample string 9",
    "leagueId": "sample string 10",
    "leagueName": "sample string 11",
    "needPay": true,
    "payAmount": 13.1,
    "isEventTeam": true,
    "upcomingGame": {
      "gameId": 1,
      "gameType": 2,
      "gameTime": "sample string 3",
      "againstTeamLogo": "sample string 4",
      "againstTeamId": "sample string 5",
      "againstTeamName": "sample string 6",
      "againstTeamType": "sample string 7",
      "gamePlayedStatus": "sample string 8",
      "gameResultType": 9,
      "rsvpNote": "sample string 10",
      "gameDateTime": "2024-04-25T10:13:44.6420375-05:00",
      "gameLocation": "sample string 12",
      "playoffsId": 13,
      "action": 0
    },
    "previousGame": {
      "gameId": 1,
      "gameType": 2,
      "gameTime": "sample string 3",
      "againstTeamLogo": "sample string 4",
      "againstTeamId": "sample string 5",
      "againstTeamName": "sample string 6",
      "againstTeamType": "sample string 7",
      "gamePlayedStatus": "sample string 8",
      "gameResultType": 9,
      "rsvpNote": "sample string 10",
      "gameDateTime": "2024-04-25T10:13:44.6420375-05:00",
      "gameLocation": "sample string 12",
      "playoffsId": 13,
      "action": 0
    },
    "upcomingEvent": {
      "eventId": 1,
      "leagueId": "sample string 2",
      "eventTime": "sample string 3",
      "eventSubject": "sample string 4",
      "eventLocation": "sample string 5",
      "status": 6,
      "eventDateTime": "2024-04-25T10:13:44.6420375-05:00"
    },
    "previousEvent": {
      "eventId": 1,
      "leagueId": "sample string 2",
      "eventTime": "sample string 3",
      "eventSubject": "sample string 4",
      "eventLocation": "sample string 5",
      "status": 6,
      "eventDateTime": "2024-04-25T10:13:44.6420375-05:00"
    },
    "needTakeQuiz": true,
    "sportName": "sample string 16",
    "sportBackgroundImg": "sample string 17",
    "joinedType": 18,
    "isShowCustomLink": true,
    "tShirtLink": {
      "isShowCancelButton": true,
      "hRef": "sample string 2",
      "innerHtml": "sample string 3",
      "isCustomTShirt": true
    }
  },
  "isTeamMember": true,
  "isTeamAdmin": true,
  "view": "sample string 3",
  "needPay": true,
  "payFor": 0,
  "payAmount": 5.1,
  "needTakeQuiz": true,
  "viewModel": {},
  "allowTimePreference": true,
  "isSchoolChair": true,
  "showForms": true,
  "isSportAdmin": true,
  "playoffList": [
    {
      "id": "sample string 1",
      "objType": 0,
      "name": "sample string 2",
      "logo": "sample string 3"
    },
    {
      "id": "sample string 1",
      "objType": 0,
      "name": "sample string 2",
      "logo": "sample string 3"
    },
    {
      "id": "sample string 1",
      "objType": 0,
      "name": "sample string 2",
      "logo": "sample string 3"
    }
  ],
  "showDivisionPreference": true,
  "isSportReferee": true
}

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.Team">
  <AllowTimePreference>true</AllowTimePreference>
  <IsSchoolChair>true</IsSchoolChair>
  <IsSportAdmin>true</IsSportAdmin>
  <IsSportReferee>true</IsSportReferee>
  <IsTeamAdmin>true</IsTeamAdmin>
  <IsTeamMember>true</IsTeamMember>
  <NeedPay>true</NeedPay>
  <NeedTakeQuiz>true</NeedTakeQuiz>
  <PayAmount>5.1</PayAmount>
  <PayFor>TeamFee</PayFor>
  <PlayoffList xmlns:d2p1="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Common">
    <d2p1:EntityItemOutVO>
      <d2p1:id>sample string 1</d2p1:id>
      <d2p1:logo>sample string 3</d2p1:logo>
      <d2p1:name>sample string 2</d2p1:name>
      <d2p1:objType>Member</d2p1:objType>
    </d2p1:EntityItemOutVO>
    <d2p1:EntityItemOutVO>
      <d2p1:id>sample string 1</d2p1:id>
      <d2p1:logo>sample string 3</d2p1:logo>
      <d2p1:name>sample string 2</d2p1:name>
      <d2p1:objType>Member</d2p1:objType>
    </d2p1:EntityItemOutVO>
    <d2p1:EntityItemOutVO>
      <d2p1:id>sample string 1</d2p1:id>
      <d2p1:logo>sample string 3</d2p1:logo>
      <d2p1:name>sample string 2</d2p1:name>
      <d2p1:objType>Member</d2p1:objType>
    </d2p1:EntityItemOutVO>
  </PlayoffList>
  <ShowDivisionPreference>true</ShowDivisionPreference>
  <ShowForms>true</ShowForms>
  <TeamInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Team">
    <d2p1:IsEventTeam>true</d2p1:IsEventTeam>
    <d2p1:IsShowCustomLink>true</d2p1:IsShowCustomLink>
    <d2p1:JoinedDate>sample string 7</d2p1:JoinedDate>
    <d2p1:JoinedType>18</d2p1:JoinedType>
    <d2p1:LeagueId>sample string 10</d2p1:LeagueId>
    <d2p1:LeagueName>sample string 11</d2p1:LeagueName>
    <d2p1:NeedPay>true</d2p1:NeedPay>
    <d2p1:NeedTakeQuiz>true</d2p1:NeedTakeQuiz>
    <d2p1:PayAmount>13.1</d2p1:PayAmount>
    <d2p1:PreviousEvent>
      <d2p1:EventDateTime>2024-04-25T10:13:44.6420375-05:00</d2p1:EventDateTime>
      <d2p1:EventId>1</d2p1:EventId>
      <d2p1:EventLocation>sample string 5</d2p1:EventLocation>
      <d2p1:EventSubject>sample string 4</d2p1:EventSubject>
      <d2p1:EventTime>sample string 3</d2p1:EventTime>
      <d2p1:LeagueId>sample string 2</d2p1:LeagueId>
      <d2p1:Status>6</d2p1:Status>
    </d2p1:PreviousEvent>
    <d2p1:PreviousGame>
      <d2p1:Action>None</d2p1:Action>
      <d2p1:AgainstTeamId>sample string 5</d2p1:AgainstTeamId>
      <d2p1:AgainstTeamLogo>sample string 4</d2p1:AgainstTeamLogo>
      <d2p1:AgainstTeamName>sample string 6</d2p1:AgainstTeamName>
      <d2p1:AgainstTeamType>sample string 7</d2p1:AgainstTeamType>
      <d2p1:GameDateTime>2024-04-25T10:13:44.6420375-05:00</d2p1:GameDateTime>
      <d2p1:GameId>1</d2p1:GameId>
      <d2p1:GameLocation>sample string 12</d2p1:GameLocation>
      <d2p1:GamePlayedStatus>sample string 8</d2p1:GamePlayedStatus>
      <d2p1:GameResultType>9</d2p1:GameResultType>
      <d2p1:GameTime>sample string 3</d2p1:GameTime>
      <d2p1:GameType>2</d2p1:GameType>
      <d2p1:PlayoffsId>13</d2p1:PlayoffsId>
      <d2p1:RSVPNote>sample string 10</d2p1:RSVPNote>
    </d2p1:PreviousGame>
    <d2p1:SchoolId>sample string 8</d2p1:SchoolId>
    <d2p1:SchoolName>sample string 9</d2p1:SchoolName>
    <d2p1:SportBackgroundImg>sample string 17</d2p1:SportBackgroundImg>
    <d2p1:SportName>sample string 16</d2p1:SportName>
    <d2p1:TShirtLink>
      <d2p1:HRef>sample string 2</d2p1:HRef>
      <d2p1:InnerHtml>sample string 3</d2p1:InnerHtml>
      <d2p1:IsCustomTShirt>true</d2p1:IsCustomTShirt>
      <d2p1:IsShowCancelButton>true</d2p1:IsShowCancelButton>
    </d2p1:TShirtLink>
    <d2p1:TeamId>sample string 4</d2p1:TeamId>
    <d2p1:TeamLogo>sample string 6</d2p1:TeamLogo>
    <d2p1:TeamName>sample string 5</d2p1:TeamName>
    <d2p1:UpcomingEvent>
      <d2p1:EventDateTime>2024-04-25T10:13:44.6420375-05:00</d2p1:EventDateTime>
      <d2p1:EventId>1</d2p1:EventId>
      <d2p1:EventLocation>sample string 5</d2p1:EventLocation>
      <d2p1:EventSubject>sample string 4</d2p1:EventSubject>
      <d2p1:EventTime>sample string 3</d2p1:EventTime>
      <d2p1:LeagueId>sample string 2</d2p1:LeagueId>
      <d2p1:Status>6</d2p1:Status>
    </d2p1:UpcomingEvent>
    <d2p1:UpcomingGame>
      <d2p1:Action>None</d2p1:Action>
      <d2p1:AgainstTeamId>sample string 5</d2p1:AgainstTeamId>
      <d2p1:AgainstTeamLogo>sample string 4</d2p1:AgainstTeamLogo>
      <d2p1:AgainstTeamName>sample string 6</d2p1:AgainstTeamName>
      <d2p1:AgainstTeamType>sample string 7</d2p1:AgainstTeamType>
      <d2p1:GameDateTime>2024-04-25T10:13:44.6420375-05:00</d2p1:GameDateTime>
      <d2p1:GameId>1</d2p1:GameId>
      <d2p1:GameLocation>sample string 12</d2p1:GameLocation>
      <d2p1:GamePlayedStatus>sample string 8</d2p1:GamePlayedStatus>
      <d2p1:GameResultType>9</d2p1:GameResultType>
      <d2p1:GameTime>sample string 3</d2p1:GameTime>
      <d2p1:GameType>2</d2p1:GameType>
      <d2p1:PlayoffsId>13</d2p1:PlayoffsId>
      <d2p1:RSVPNote>sample string 10</d2p1:RSVPNote>
    </d2p1:UpcomingGame>
    <d2p1:CanSendJoinRequest xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Common">
      <d3p1:code>None</d3p1:code>
      <d3p1:message>sample string 2</d3p1:message>
      <d3p1:returnValue>true</d3p1:returnValue>
    </d2p1:CanSendJoinRequest>
    <d2p1:FemaleCount>2</d2p1:FemaleCount>
    <d2p1:MaleCount>1</d2p1:MaleCount>
    <d2p1:RosterReq>sample string 3</d2p1:RosterReq>
  </TeamInfo>
  <View>sample string 3</View>
  <ViewModel />
</DefaultVMOutVO>