GET teams

Returns all Teams satisfying the query, paging, and sorting passed in.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
abbreviation

team's name, full text search.

string

None.

start_season_min

first season that the team existed, minimum value.

integer

None.

start_season_max

first season that the team existed, maximum value.

integer

None.

last_season_min

last season that the team existed, minimum value.

integer

None.

last_season_max

last season that the team existed, maximum value.

integer

None.

conference

team's conference within the league

string

None.

division

team's division within their conference

string

None.

location

team's location

string

None.

name

team's name, e.g. "seahawks"

string

None.

full_name

team's full name, e.g. "seattle seahawks"

string

None.

sort

Column to sort by. Default is by Team Id. Options match the options in the Search Parameters.

string

Default value is

is_descending

Whether or not the sort in question is descending. Default is false.

boolean

Default value is False

page

What page of results to return. Default is 1.

integer

Default value is 1

page_length

integer

Default value is 25

Body Parameters

None.

Response Information

Resource Description

HttpResponse with a list of SimpleTeamDetails in it.

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.