GET networks/{id}/fitness/classes?active={active}

Get fitness classes 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
true/false

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",
    "duration": 3,
    "description": "sample string 4",
    "participant_instructions": "sample string 5",
    "payment_required": true,
    "class_fee": 7.1,
    "network": {
      "id": "sample string 1",
      "name": "sample string 2"
    }
  },
  {
    "id": "sample string 1",
    "name": "sample string 2",
    "duration": 3,
    "description": "sample string 4",
    "participant_instructions": "sample string 5",
    "payment_required": true,
    "class_fee": 7.1,
    "network": {
      "id": "sample string 1",
      "name": "sample string 2"
    }
  },
  {
    "id": "sample string 1",
    "name": "sample string 2",
    "duration": 3,
    "description": "sample string 4",
    "participant_instructions": "sample string 5",
    "payment_required": true,
    "class_fee": 7.1,
    "network": {
      "id": "sample string 1",
      "name": "sample string 2"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfFitnessClassDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO">
  <FitnessClassDto>
    <class_fee>7.1</class_fee>
    <description>sample string 4</description>
    <duration>3</duration>
    <id>sample string 1</id>
    <name>sample string 2</name>
    <network>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </network>
    <participant_instructions>sample string 5</participant_instructions>
    <payment_required>true</payment_required>
  </FitnessClassDto>
  <FitnessClassDto>
    <class_fee>7.1</class_fee>
    <description>sample string 4</description>
    <duration>3</duration>
    <id>sample string 1</id>
    <name>sample string 2</name>
    <network>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </network>
    <participant_instructions>sample string 5</participant_instructions>
    <payment_required>true</payment_required>
  </FitnessClassDto>
  <FitnessClassDto>
    <class_fee>7.1</class_fee>
    <description>sample string 4</description>
    <duration>3</duration>
    <id>sample string 1</id>
    <name>sample string 2</name>
    <network>
      <id>sample string 1</id>
      <name>sample string 2</name>
    </network>
    <participant_instructions>sample string 5</participant_instructions>
    <payment_required>true</payment_required>
  </FitnessClassDto>
</ArrayOfFitnessClassDto>