GET api/V2/team/nffTeams?teamId={teamId}&seasonId={seasonId}
Returns all teams in current organization
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| teamId | globally unique identifier |
Required |
|
| seasonId | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
TeamRoot
TeamRoot| Name | Description | Type | Additional information |
|---|---|---|---|
| ClubId | integer |
None. |
|
| ClubName | string |
None. |
|
| DistrictId | integer |
None. |
|
| Teams | Collection of RootTeam |
None. |
Response Formats
application/json, text/json
Sample:
{
"clubId": 1,
"clubName": "sample string 2",
"districtId": 3,
"teams": [
{
"id": 1,
"teamId": 2,
"teamName": "sample string 3",
"clubId": 4,
"numberOfPlayers": 5,
"selected": true,
"changed": true,
"isAtNFF": true,
"mappedTeamName": "sample string 9",
"companyId": "4f6e8362-c543-4af3-bd63-55e11c2ee397",
"teamGroupId": 11
},
{
"id": 1,
"teamId": 2,
"teamName": "sample string 3",
"clubId": 4,
"numberOfPlayers": 5,
"selected": true,
"changed": true,
"isAtNFF": true,
"mappedTeamName": "sample string 9",
"companyId": "4f6e8362-c543-4af3-bd63-55e11c2ee397",
"teamGroupId": 11
}
]
}
application/xml, text/xml
Sample:
<TeamRoot xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oiback.Classes">
<ClubId>1</ClubId>
<ClubName>sample string 2</ClubName>
<DistrictId>3</DistrictId>
<Teams>
<RootTeam>
<Changed>true</Changed>
<ClubId>4</ClubId>
<CompanyId>4f6e8362-c543-4af3-bd63-55e11c2ee397</CompanyId>
<Id>1</Id>
<IsAtNFF>true</IsAtNFF>
<MappedTeamName>sample string 9</MappedTeamName>
<NumberOfPlayers>5</NumberOfPlayers>
<Selected>true</Selected>
<TeamGroupId>11</TeamGroupId>
<TeamId>2</TeamId>
<TeamName>sample string 3</TeamName>
</RootTeam>
<RootTeam>
<Changed>true</Changed>
<ClubId>4</ClubId>
<CompanyId>4f6e8362-c543-4af3-bd63-55e11c2ee397</CompanyId>
<Id>1</Id>
<IsAtNFF>true</IsAtNFF>
<MappedTeamName>sample string 9</MappedTeamName>
<NumberOfPlayers>5</NumberOfPlayers>
<Selected>true</Selected>
<TeamGroupId>11</TeamGroupId>
<TeamId>2</TeamId>
<TeamName>sample string 3</TeamName>
</RootTeam>
</Teams>
</TeamRoot>