GET classes/{id}/sessions?sort={sort}
Return sorted sessions by class id
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
id | class id |
Define this parameter in the request URI. |
sort | ASC/DESC |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
[ { "id": "sample string 1", "subject": "sample string 2", "class": { "id": "sample string 1", "name": "sample string 2" }, "registration_start": "sample string 3", "registration_end": "sample string 4", "start": "sample string 5", "end": "sample string 6", "participant_intructions": "sample string 7", "registration_required": true, "max_participants": 9, "allow_waitlist": true, "participants_num": 11, "description": "sample string 12", "join_after_payment": true, "session_fee": 14.1, "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" } }, { "id": "sample string 1", "subject": "sample string 2", "class": { "id": "sample string 1", "name": "sample string 2" }, "registration_start": "sample string 3", "registration_end": "sample string 4", "start": "sample string 5", "end": "sample string 6", "participant_intructions": "sample string 7", "registration_required": true, "max_participants": 9, "allow_waitlist": true, "participants_num": 11, "description": "sample string 12", "join_after_payment": true, "session_fee": 14.1, "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" } }, { "id": "sample string 1", "subject": "sample string 2", "class": { "id": "sample string 1", "name": "sample string 2" }, "registration_start": "sample string 3", "registration_end": "sample string 4", "start": "sample string 5", "end": "sample string 6", "participant_intructions": "sample string 7", "registration_required": true, "max_participants": 9, "allow_waitlist": true, "participants_num": 11, "description": "sample string 12", "join_after_payment": true, "session_fee": 14.1, "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" } } ]
application/xml, text/xml
Sample:
<ArrayOfSessionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <SessionDto> <allow_waitlist>true</allow_waitlist> <class> <id>sample string 1</id> <name>sample string 2</name> </class> <description>sample string 12</description> <end>sample string 6</end> <facility> <id>sample string 1</id> <name>sample string 2</name> </facility> <id>sample string 1</id> <instructors> <BasicMemberDto> <avatar_url>sample string 4</avatar_url> <first_name>sample string 2</first_name> <id>sample string 1</id> <last_name>sample string 3</last_name> </BasicMemberDto> <BasicMemberDto> <avatar_url>sample string 4</avatar_url> <first_name>sample string 2</first_name> <id>sample string 1</id> <last_name>sample string 3</last_name> </BasicMemberDto> <BasicMemberDto> <avatar_url>sample string 4</avatar_url> <first_name>sample string 2</first_name> <id>sample string 1</id> <last_name>sample string 3</last_name> </BasicMemberDto> </instructors> <join_after_payment>true</join_after_payment> <max_participants>9</max_participants> <network> <id>sample string 1</id> <name>sample string 2</name> </network> <participant_intructions>sample string 7</participant_intructions> <participants_num>11</participants_num> <payment_type>None</payment_type> <registration_end>sample string 4</registration_end> <registration_required>true</registration_required> <registration_start>sample string 3</registration_start> <session_fee>14.1</session_fee> <start>sample string 5</start> <subject>sample string 2</subject> <surface> <id>sample string 1</id> <name>sample string 2</name> </surface> </SessionDto> <SessionDto> <allow_waitlist>true</allow_waitlist> <class> <id>sample string 1</id> <name>sample string 2</name> </class> <description>sample string 12</description> <end>sample string 6</end> <facility> <id>sample string 1</id> <name>sample string 2</name> </facility> <id>sample string 1</id> <instructors> <BasicMemberDto> <avatar_url>sample string 4</avatar_url> <first_name>sample string 2</first_name> <id>sample string 1</id> <last_name>sample string 3</last_name> </BasicMemberDto> <BasicMemberDto> <avatar_url>sample string 4</avatar_url> <first_name>sample string 2</first_name> <id>sample string 1</id> <last_name>sample string 3</last_name> </BasicMemberDto> <BasicMemberDto> <avatar_url>sample string 4</avatar_url> <first_name>sample string 2</first_name> <id>sample string 1</id> <last_name>sample string 3</last_name> </BasicMemberDto> </instructors> <join_after_payment>true</join_after_payment> <max_participants>9</max_participants> <network> <id>sample string 1</id> <name>sample string 2</name> </network> <participant_intructions>sample string 7</participant_intructions> <participants_num>11</participants_num> <payment_type>None</payment_type> <registration_end>sample string 4</registration_end> <registration_required>true</registration_required> <registration_start>sample string 3</registration_start> <session_fee>14.1</session_fee> <start>sample string 5</start> <subject>sample string 2</subject> <surface> <id>sample string 1</id> <name>sample string 2</name> </surface> </SessionDto> <SessionDto> <allow_waitlist>true</allow_waitlist> <class> <id>sample string 1</id> <name>sample string 2</name> </class> <description>sample string 12</description> <end>sample string 6</end> <facility> <id>sample string 1</id> <name>sample string 2</name> </facility> <id>sample string 1</id> <instructors> <BasicMemberDto> <avatar_url>sample string 4</avatar_url> <first_name>sample string 2</first_name> <id>sample string 1</id> <last_name>sample string 3</last_name> </BasicMemberDto> <BasicMemberDto> <avatar_url>sample string 4</avatar_url> <first_name>sample string 2</first_name> <id>sample string 1</id> <last_name>sample string 3</last_name> </BasicMemberDto> <BasicMemberDto> <avatar_url>sample string 4</avatar_url> <first_name>sample string 2</first_name> <id>sample string 1</id> <last_name>sample string 3</last_name> </BasicMemberDto> </instructors> <join_after_payment>true</join_after_payment> <max_participants>9</max_participants> <network> <id>sample string 1</id> <name>sample string 2</name> </network> <participant_intructions>sample string 7</participant_intructions> <participants_num>11</participants_num> <payment_type>None</payment_type> <registration_end>sample string 4</registration_end> <registration_required>true</registration_required> <registration_start>sample string 3</registration_start> <session_fee>14.1</session_fee> <start>sample string 5</start> <subject>sample string 2</subject> <surface> <id>sample string 1</id> <name>sample string 2</name> </surface> </SessionDto> </ArrayOfSessionDto>
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].subject" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].class.id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].class.name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].registration_start" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].registration_end" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].start" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].end" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].participant_intructions" sample string 7 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].registration_required" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].max_participants" 9 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].allow_waitlist" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].participants_num" 11 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].description" sample string 12 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].join_after_payment" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].session_fee" 14.1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].payment_type" None --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].instructors[0].id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].instructors[0].first_name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].instructors[0].last_name" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].instructors[0].avatar_url" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].instructors[1].id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].instructors[1].first_name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].instructors[1].last_name" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].instructors[1].avatar_url" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].instructors[2].id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].instructors[2].first_name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].instructors[2].last_name" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].instructors[2].avatar_url" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].facility.id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].facility.name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].surface.id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].surface.name" sample string 2 --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].subject" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].class.id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].class.name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].registration_start" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].registration_end" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].start" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].end" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].participant_intructions" sample string 7 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].registration_required" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].max_participants" 9 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].allow_waitlist" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].participants_num" 11 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].description" sample string 12 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].join_after_payment" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].session_fee" 14.1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].payment_type" None --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].instructors[0].id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].instructors[0].first_name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].instructors[0].last_name" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].instructors[0].avatar_url" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].instructors[1].id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].instructors[1].first_name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].instructors[1].last_name" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].instructors[1].avatar_url" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].instructors[2].id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].instructors[2].first_name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].instructors[2].last_name" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].instructors[2].avatar_url" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].facility.id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].facility.name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].surface.id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].surface.name" sample string 2 --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].subject" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].class.id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].class.name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].registration_start" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].registration_end" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].start" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].end" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].participant_intructions" sample string 7 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].registration_required" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].max_participants" 9 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].allow_waitlist" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].participants_num" 11 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].description" sample string 12 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].join_after_payment" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].session_fee" 14.1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].payment_type" None --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].instructors[0].id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].instructors[0].first_name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].instructors[0].last_name" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].instructors[0].avatar_url" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].instructors[1].id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].instructors[1].first_name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].instructors[1].last_name" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].instructors[1].avatar_url" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].instructors[2].id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].instructors[2].first_name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].instructors[2].last_name" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].instructors[2].avatar_url" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].facility.id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].facility.name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].surface.id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].surface.name" sample string 2 --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--