GET v2/me/networks/{networkid}/sessions/{id}

Get a specific session for the current user

Request Information

Parameters

NameDescriptionAdditional information
networkid
network id

Define this parameter in the request URI.

id
session id

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "member": {
    "id": "sample string 1",
    "first_name": "sample string 2",
    "last_name": "sample string 3",
    "avatar_url": "sample string 4"
  },
  "is_in_waitlist": true,
  "position_in_waitlist": 2,
  "id": "sample string 3",
  "subject": "sample string 4",
  "class": {
    "id": "sample string 1",
    "name": "sample string 2"
  },
  "registration_start": "sample string 5",
  "registration_end": "sample string 6",
  "start": "sample string 7",
  "end": "sample string 8",
  "participant_intructions": "sample string 9",
  "registration_required": true,
  "max_participants": 11,
  "allow_waitlist": true,
  "participants_num": 13,
  "description": "sample string 14",
  "join_after_payment": true,
  "payment_type": 0,
  "instructors": [
    {
      "id": "sample string 1",
      "first_name": "sample string 2",
      "last_name": "sample string 3",
      "avatar_url": "sample string 4"
    },
    {
      "id": "sample string 1",
      "first_name": "sample string 2",
      "last_name": "sample string 3",
      "avatar_url": "sample string 4"
    },
    {
      "id": "sample string 1",
      "first_name": "sample string 2",
      "last_name": "sample string 3",
      "avatar_url": "sample string 4"
    }
  ],
  "facility": {
    "id": "sample string 1",
    "name": "sample string 2"
  },
  "surface": {
    "id": "sample string 1",
    "name": "sample string 2"
  },
  "network": {
    "id": "sample string 1",
    "name": "sample string 2"
  },
  "leave_session_date": "sample string 16",
  "linked_sessions": 17,
  "waitlist_members_num": 18,
  "session_fee": {
    "only_accept_packages": true,
    "payment_amount": 2.1
  },
  "class_fee": {
    "only_accept_packages": true,
    "payment_amount": 2.1
  }
}

application/xml, text/xml

Sample:
<MemberSessionDtoV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO.V2">
  <allow_waitlist>true</allow_waitlist>
  <class xmlns:d2p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO">
    <d2p1:id>sample string 1</d2p1:id>
    <d2p1:name>sample string 2</d2p1:name>
  </class>
  <class_fee>
    <only_accept_packages>true</only_accept_packages>
    <payment_amount>2.1</payment_amount>
  </class_fee>
  <description>sample string 14</description>
  <end>sample string 8</end>
  <facility xmlns:d2p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO">
    <d2p1:id>sample string 1</d2p1:id>
    <d2p1:name>sample string 2</d2p1:name>
  </facility>
  <id>sample string 3</id>
  <instructors xmlns:d2p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO">
    <d2p1:BasicMemberDto>
      <d2p1:avatar_url>sample string 4</d2p1:avatar_url>
      <d2p1:first_name>sample string 2</d2p1:first_name>
      <d2p1:id>sample string 1</d2p1:id>
      <d2p1:last_name>sample string 3</d2p1:last_name>
    </d2p1:BasicMemberDto>
    <d2p1:BasicMemberDto>
      <d2p1:avatar_url>sample string 4</d2p1:avatar_url>
      <d2p1:first_name>sample string 2</d2p1:first_name>
      <d2p1:id>sample string 1</d2p1:id>
      <d2p1:last_name>sample string 3</d2p1:last_name>
    </d2p1:BasicMemberDto>
    <d2p1:BasicMemberDto>
      <d2p1:avatar_url>sample string 4</d2p1:avatar_url>
      <d2p1:first_name>sample string 2</d2p1:first_name>
      <d2p1:id>sample string 1</d2p1:id>
      <d2p1:last_name>sample string 3</d2p1:last_name>
    </d2p1:BasicMemberDto>
  </instructors>
  <join_after_payment>true</join_after_payment>
  <leave_session_date>sample string 16</leave_session_date>
  <linked_sessions>17</linked_sessions>
  <max_participants>11</max_participants>
  <network xmlns:d2p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO">
    <d2p1:id>sample string 1</d2p1:id>
    <d2p1:name>sample string 2</d2p1:name>
  </network>
  <participant_intructions>sample string 9</participant_intructions>
  <participants_num>13</participants_num>
  <payment_type>None</payment_type>
  <registration_end>sample string 6</registration_end>
  <registration_required>true</registration_required>
  <registration_start>sample string 5</registration_start>
  <session_fee>
    <only_accept_packages>true</only_accept_packages>
    <payment_amount>2.1</payment_amount>
  </session_fee>
  <start>sample string 7</start>
  <subject>sample string 4</subject>
  <surface xmlns:d2p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO">
    <d2p1:id>sample string 1</d2p1:id>
    <d2p1:name>sample string 2</d2p1:name>
  </surface>
  <waitlist_members_num>18</waitlist_members_num>
  <is_in_waitlist>true</is_in_waitlist>
  <member xmlns:d2p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO">
    <d2p1:avatar_url>sample string 4</d2p1:avatar_url>
    <d2p1:first_name>sample string 2</d2p1:first_name>
    <d2p1:id>sample string 1</d2p1:id>
    <d2p1:last_name>sample string 3</d2p1:last_name>
  </member>
  <position_in_waitlist>2</position_in_waitlist>
</MemberSessionDtoV2>

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="member.id"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="member.first_name"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="member.last_name"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="member.avatar_url"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="is_in_waitlist"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="position_in_waitlist"

2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="id"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="subject"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="class.id"

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

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="registration_start"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="registration_end"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="start"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="end"

sample string 8
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="participant_intructions"

sample string 9
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="registration_required"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="max_participants"

11
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="allow_waitlist"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="participants_num"

13
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="description"

sample string 14
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="join_after_payment"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="payment_type"

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

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

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

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

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

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

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

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

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

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

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

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

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="facility.id"

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

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

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

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

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

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="leave_session_date"

sample string 16
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="linked_sessions"

17
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="waitlist_members_num"

18
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="session_fee.only_accept_packages"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="session_fee.payment_amount"

2.1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="class_fee.only_accept_packages"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="class_fee.payment_amount"

2.1
--MultipartDataMediaFormatterBoundary1q2w3e--