GET networks/{id}/club/seasonsports?active={active}

Get club season sports in the network specified by id with status active(true/false)

Request Information

Parameters

NameDescriptionAdditional information
id
network id

Define this parameter in the request URI.

active
No documentation available.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "year": 1,
    "season": 2,
    "sports": [
      {
        "id": "sample string 1",
        "name": "sample string 2",
        "description": "sample string 3",
        "logo": "sample string 4",
        "sport_type": 5,
        "enable_club": true,
        "network": {
          "id": "sample string 1",
          "name": "sample string 2"
        }
      },
      {
        "id": "sample string 1",
        "name": "sample string 2",
        "description": "sample string 3",
        "logo": "sample string 4",
        "sport_type": 5,
        "enable_club": true,
        "network": {
          "id": "sample string 1",
          "name": "sample string 2"
        }
      },
      {
        "id": "sample string 1",
        "name": "sample string 2",
        "description": "sample string 3",
        "logo": "sample string 4",
        "sport_type": 5,
        "enable_club": true,
        "network": {
          "id": "sample string 1",
          "name": "sample string 2"
        }
      }
    ]
  },
  {
    "year": 1,
    "season": 2,
    "sports": [
      {
        "id": "sample string 1",
        "name": "sample string 2",
        "description": "sample string 3",
        "logo": "sample string 4",
        "sport_type": 5,
        "enable_club": true,
        "network": {
          "id": "sample string 1",
          "name": "sample string 2"
        }
      },
      {
        "id": "sample string 1",
        "name": "sample string 2",
        "description": "sample string 3",
        "logo": "sample string 4",
        "sport_type": 5,
        "enable_club": true,
        "network": {
          "id": "sample string 1",
          "name": "sample string 2"
        }
      },
      {
        "id": "sample string 1",
        "name": "sample string 2",
        "description": "sample string 3",
        "logo": "sample string 4",
        "sport_type": 5,
        "enable_club": true,
        "network": {
          "id": "sample string 1",
          "name": "sample string 2"
        }
      }
    ]
  },
  {
    "year": 1,
    "season": 2,
    "sports": [
      {
        "id": "sample string 1",
        "name": "sample string 2",
        "description": "sample string 3",
        "logo": "sample string 4",
        "sport_type": 5,
        "enable_club": true,
        "network": {
          "id": "sample string 1",
          "name": "sample string 2"
        }
      },
      {
        "id": "sample string 1",
        "name": "sample string 2",
        "description": "sample string 3",
        "logo": "sample string 4",
        "sport_type": 5,
        "enable_club": true,
        "network": {
          "id": "sample string 1",
          "name": "sample string 2"
        }
      },
      {
        "id": "sample string 1",
        "name": "sample string 2",
        "description": "sample string 3",
        "logo": "sample string 4",
        "sport_type": 5,
        "enable_club": true,
        "network": {
          "id": "sample string 1",
          "name": "sample string 2"
        }
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfSeasonSportDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO">
  <SeasonSportDto>
    <season>2</season>
    <sports>
      <SportDto>
        <description>sample string 3</description>
        <enable_club>true</enable_club>
        <id>sample string 1</id>
        <logo>sample string 4</logo>
        <name>sample string 2</name>
        <network>
          <id>sample string 1</id>
          <name>sample string 2</name>
        </network>
        <sport_type>5</sport_type>
      </SportDto>
      <SportDto>
        <description>sample string 3</description>
        <enable_club>true</enable_club>
        <id>sample string 1</id>
        <logo>sample string 4</logo>
        <name>sample string 2</name>
        <network>
          <id>sample string 1</id>
          <name>sample string 2</name>
        </network>
        <sport_type>5</sport_type>
      </SportDto>
      <SportDto>
        <description>sample string 3</description>
        <enable_club>true</enable_club>
        <id>sample string 1</id>
        <logo>sample string 4</logo>
        <name>sample string 2</name>
        <network>
          <id>sample string 1</id>
          <name>sample string 2</name>
        </network>
        <sport_type>5</sport_type>
      </SportDto>
    </sports>
    <year>1</year>
  </SeasonSportDto>
  <SeasonSportDto>
    <season>2</season>
    <sports>
      <SportDto>
        <description>sample string 3</description>
        <enable_club>true</enable_club>
        <id>sample string 1</id>
        <logo>sample string 4</logo>
        <name>sample string 2</name>
        <network>
          <id>sample string 1</id>
          <name>sample string 2</name>
        </network>
        <sport_type>5</sport_type>
      </SportDto>
      <SportDto>
        <description>sample string 3</description>
        <enable_club>true</enable_club>
        <id>sample string 1</id>
        <logo>sample string 4</logo>
        <name>sample string 2</name>
        <network>
          <id>sample string 1</id>
          <name>sample string 2</name>
        </network>
        <sport_type>5</sport_type>
      </SportDto>
      <SportDto>
        <description>sample string 3</description>
        <enable_club>true</enable_club>
        <id>sample string 1</id>
        <logo>sample string 4</logo>
        <name>sample string 2</name>
        <network>
          <id>sample string 1</id>
          <name>sample string 2</name>
        </network>
        <sport_type>5</sport_type>
      </SportDto>
    </sports>
    <year>1</year>
  </SeasonSportDto>
  <SeasonSportDto>
    <season>2</season>
    <sports>
      <SportDto>
        <description>sample string 3</description>
        <enable_club>true</enable_club>
        <id>sample string 1</id>
        <logo>sample string 4</logo>
        <name>sample string 2</name>
        <network>
          <id>sample string 1</id>
          <name>sample string 2</name>
        </network>
        <sport_type>5</sport_type>
      </SportDto>
      <SportDto>
        <description>sample string 3</description>
        <enable_club>true</enable_club>
        <id>sample string 1</id>
        <logo>sample string 4</logo>
        <name>sample string 2</name>
        <network>
          <id>sample string 1</id>
          <name>sample string 2</name>
        </network>
        <sport_type>5</sport_type>
      </SportDto>
      <SportDto>
        <description>sample string 3</description>
        <enable_club>true</enable_club>
        <id>sample string 1</id>
        <logo>sample string 4</logo>
        <name>sample string 2</name>
        <network>
          <id>sample string 1</id>
          <name>sample string 2</name>
        </network>
        <sport_type>5</sport_type>
      </SportDto>
    </sports>
    <year>1</year>
  </SeasonSportDto>
</ArrayOfSeasonSportDto>