GET v3/views/mobile/teams/default/{view}?id={id}
get league info
Request Information
Parameters
| Name | Description | Additional 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",
"approved": true,
"teamId": "sample string 5",
"teamName": "sample string 6",
"teamLogo": "sample string 7",
"joinedDate": "sample string 8",
"schoolId": "sample string 9",
"schoolName": "sample string 10",
"leagueId": "sample string 11",
"leagueName": "sample string 12",
"needPay": true,
"payAmount": 14.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": "2025-12-10T08:13:16.6015266+00:00",
"gameLocation": "sample string 12",
"playoffsId": 13
},
"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": "2025-12-10T08:13:16.6015266+00:00",
"gameLocation": "sample string 12",
"playoffsId": 13
},
"upcomingEvent": {
"eventId": 1,
"leagueId": "sample string 2",
"eventTime": "sample string 3",
"eventSubject": "sample string 4",
"eventLocation": "sample string 5",
"status": 6,
"eventDateTime": "2025-12-10T08:13:16.6015266+00:00"
},
"previousEvent": {
"eventId": 1,
"leagueId": "sample string 2",
"eventTime": "sample string 3",
"eventSubject": "sample string 4",
"eventLocation": "sample string 5",
"status": 6,
"eventDateTime": "2025-12-10T08:13:16.6015266+00:00"
},
"needTakeQuiz": true,
"sportName": "sample string 17",
"sportBackgroundImg": "sample string 18",
"joinedType": 19
},
"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"
}
],
"shareLink": {
"url": "sample string 1"
},
"isFollowed": true,
"enableTeamAdminAddPlayer": 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>
<EnableTeamAdminAddPlayer>true</EnableTeamAdminAddPlayer>
<IsFollowed>true</IsFollowed>
<IsSchoolChair>true</IsSchoolChair>
<IsSportAdmin>true</IsSportAdmin>
<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>
<ShareLink xmlns:d2p1="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Common">
<d2p1:Url>sample string 1</d2p1:Url>
</ShareLink>
<ShowForms>true</ShowForms>
<TeamInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Team">
<d2p1:IsEventTeam>true</d2p1:IsEventTeam>
<d2p1:JoinedDate>sample string 8</d2p1:JoinedDate>
<d2p1:JoinedType>19</d2p1:JoinedType>
<d2p1:LeagueId>sample string 11</d2p1:LeagueId>
<d2p1:LeagueName>sample string 12</d2p1:LeagueName>
<d2p1:NeedPay>true</d2p1:NeedPay>
<d2p1:NeedTakeQuiz>true</d2p1:NeedTakeQuiz>
<d2p1:PayAmount>14.1</d2p1:PayAmount>
<d2p1:PreviousEvent>
<d2p1:EventDateTime>2025-12-10T08:13:16.6015266+00: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: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>2025-12-10T08:13:16.6015266+00: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 9</d2p1:SchoolId>
<d2p1:SchoolName>sample string 10</d2p1:SchoolName>
<d2p1:SportBackgroundImg>sample string 18</d2p1:SportBackgroundImg>
<d2p1:SportName>sample string 17</d2p1:SportName>
<d2p1:TeamId>sample string 5</d2p1:TeamId>
<d2p1:TeamLogo>sample string 7</d2p1:TeamLogo>
<d2p1:TeamName>sample string 6</d2p1:TeamName>
<d2p1:UpcomingEvent>
<d2p1:EventDateTime>2025-12-10T08:13:16.6015266+00: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: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>2025-12-10T08:13:16.6015266+00: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>
<d2p1:approved>true</d2p1:approved>
</TeamInfo>
<View>sample string 3</View>
<ViewModel />
</DefaultVMOutVO>