GET api/Team/GetTeamListBySportsType?sportsTypeId={sportsTypeId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sportsTypeId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of TeamDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

TeamName

string

None.

TeamNameFr

string

None.

TeamStats

string

None.

TeamLogo

string

None.

LeagueImage

string

None.

ChampionshipName

string

None.

SportsType

string

None.

SportsTypeId

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "03d3f5f0-6c27-4b65-8561-1bcf4d4bc90f",
    "TeamName": "sample string 2",
    "TeamNameFr": "sample string 3",
    "TeamStats": "sample string 4",
    "TeamLogo": "sample string 5",
    "LeagueImage": "sample string 6",
    "ChampionshipName": "sample string 7",
    "SportsType": "sample string 8",
    "SportsTypeId": "07cdddba-5e1e-4c31-81ef-6e29be4f034a"
  },
  {
    "Id": "03d3f5f0-6c27-4b65-8561-1bcf4d4bc90f",
    "TeamName": "sample string 2",
    "TeamNameFr": "sample string 3",
    "TeamStats": "sample string 4",
    "TeamLogo": "sample string 5",
    "LeagueImage": "sample string 6",
    "ChampionshipName": "sample string 7",
    "SportsType": "sample string 8",
    "SportsTypeId": "07cdddba-5e1e-4c31-81ef-6e29be4f034a"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTeamDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.TeamModule.Model">
  <TeamDto>
    <ChampionshipName>sample string 7</ChampionshipName>
    <Id>03d3f5f0-6c27-4b65-8561-1bcf4d4bc90f</Id>
    <LeagueImage>sample string 6</LeagueImage>
    <SportsType>sample string 8</SportsType>
    <SportsTypeId>07cdddba-5e1e-4c31-81ef-6e29be4f034a</SportsTypeId>
    <TeamLogo>sample string 5</TeamLogo>
    <TeamName>sample string 2</TeamName>
    <TeamNameFr>sample string 3</TeamNameFr>
    <TeamStats>sample string 4</TeamStats>
  </TeamDto>
  <TeamDto>
    <ChampionshipName>sample string 7</ChampionshipName>
    <Id>03d3f5f0-6c27-4b65-8561-1bcf4d4bc90f</Id>
    <LeagueImage>sample string 6</LeagueImage>
    <SportsType>sample string 8</SportsType>
    <SportsTypeId>07cdddba-5e1e-4c31-81ef-6e29be4f034a</SportsTypeId>
    <TeamLogo>sample string 5</TeamLogo>
    <TeamName>sample string 2</TeamName>
    <TeamNameFr>sample string 3</TeamNameFr>
    <TeamStats>sample string 4</TeamStats>
  </TeamDto>
</ArrayOfTeamDto>