GET api/Teams

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Team
NameDescriptionTypeAdditional information
id

integer

None.

Name

string

None.

League

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "Name": "sample string 1",
    "League": "sample string 2"
  },
  {
    "id": 1,
    "Name": "sample string 1",
    "League": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTeam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models">
  <Team>
    <League>sample string 2</League>
    <Name>sample string 1</Name>
    <id>1</id>
  </Team>
  <Team>
    <League>sample string 2</League>
    <Name>sample string 1</Name>
    <id>1</id>
  </Team>
</ArrayOfTeam>