GET leagues/{id}/divisions

Return division collection by league id

Request Information

Parameters

NameDescriptionAdditional information
id
league id

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "id": "sample string 1",
    "name": "sample string 2",
    "logo": "sample string 3",
    "description": "sample string 4",
    "league": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "sport": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "network": {
      "id": "sample string 1",
      "name": "sample string 2"
    }
  },
  {
    "id": "sample string 1",
    "name": "sample string 2",
    "logo": "sample string 3",
    "description": "sample string 4",
    "league": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "sport": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "network": {
      "id": "sample string 1",
      "name": "sample string 2"
    }
  },
  {
    "id": "sample string 1",
    "name": "sample string 2",
    "logo": "sample string 3",
    "description": "sample string 4",
    "league": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "sport": {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    "network": {
      "id": "sample string 1",
      "name": "sample string 2"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfDivisionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO">
  <DivisionDto>
    <description>sample string 4</description>
    <id>sample string 1</id>
    <league>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </league>
    <logo>sample string 3</logo>
    <name>sample string 2</name>
    <network>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </network>
    <sport>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </sport>
  </DivisionDto>
  <DivisionDto>
    <description>sample string 4</description>
    <id>sample string 1</id>
    <league>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </league>
    <logo>sample string 3</logo>
    <name>sample string 2</name>
    <network>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </network>
    <sport>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </sport>
  </DivisionDto>
  <DivisionDto>
    <description>sample string 4</description>
    <id>sample string 1</id>
    <league>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </league>
    <logo>sample string 3</logo>
    <name>sample string 2</name>
    <network>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </network>
    <sport>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </sport>
  </DivisionDto>
</ArrayOfDivisionDto>