GET networks/{id}/fitness/classes

Get fitness classes in the network specified by id

Request Information

Parameters

NameDescriptionAdditional information
id
network 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",
    "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>

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].id"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].name"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].duration"

3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].description"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].participant_instructions"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].payment_required"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].class_fee"

7.1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].network.id"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].network.name"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].id"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].name"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].duration"

3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].description"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].participant_instructions"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].payment_required"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].class_fee"

7.1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].network.id"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].network.name"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[2].id"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[2].name"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[2].duration"

3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[2].description"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[2].participant_instructions"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[2].payment_required"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[2].class_fee"

7.1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[2].network.id"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[2].network.name"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e--