GET v2/me/sessions/unpaid
Get all sessions that member need to make payments
Response Information
Response body formats
application/json, text/json
Sample:
[ { "session_paid": true, "class_paid": true, "has_pending_session_payment": true, "has_pending_class_payment": true, "id": "sample string 5", "subject": "sample string 6", "class": { "id": "sample string 1", "name": "sample string 2" }, "registration_start": "sample string 7", "registration_end": "sample string 8", "start": "sample string 9", "end": "sample string 10", "participant_intructions": "sample string 11", "registration_required": true, "max_participants": 13, "allow_waitlist": true, "participants_num": 15, "description": "sample string 16", "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 18", "linked_sessions": 19, "waitlist_members_num": 20, "session_fee": { "only_accept_packages": true, "payment_amount": 2.1 }, "class_fee": { "only_accept_packages": true, "payment_amount": 2.1 } }, { "session_paid": true, "class_paid": true, "has_pending_session_payment": true, "has_pending_class_payment": true, "id": "sample string 5", "subject": "sample string 6", "class": { "id": "sample string 1", "name": "sample string 2" }, "registration_start": "sample string 7", "registration_end": "sample string 8", "start": "sample string 9", "end": "sample string 10", "participant_intructions": "sample string 11", "registration_required": true, "max_participants": 13, "allow_waitlist": true, "participants_num": 15, "description": "sample string 16", "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 18", "linked_sessions": 19, "waitlist_members_num": 20, "session_fee": { "only_accept_packages": true, "payment_amount": 2.1 }, "class_fee": { "only_accept_packages": true, "payment_amount": 2.1 } }, { "session_paid": true, "class_paid": true, "has_pending_session_payment": true, "has_pending_class_payment": true, "id": "sample string 5", "subject": "sample string 6", "class": { "id": "sample string 1", "name": "sample string 2" }, "registration_start": "sample string 7", "registration_end": "sample string 8", "start": "sample string 9", "end": "sample string 10", "participant_intructions": "sample string 11", "registration_required": true, "max_participants": 13, "allow_waitlist": true, "participants_num": 15, "description": "sample string 16", "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 18", "linked_sessions": 19, "waitlist_members_num": 20, "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:
<ArrayOfUnPaidSessionDtoV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO.V2"> <UnPaidSessionDtoV2> <allow_waitlist>true</allow_waitlist> <class xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </class> <class_fee> <only_accept_packages>true</only_accept_packages> <payment_amount>2.1</payment_amount> </class_fee> <description>sample string 16</description> <end>sample string 10</end> <facility xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </facility> <id>sample string 5</id> <instructors xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <d3p1:BasicMemberDto> <d3p1:avatar_url>sample string 4</d3p1:avatar_url> <d3p1:first_name>sample string 2</d3p1:first_name> <d3p1:id>sample string 1</d3p1:id> <d3p1:last_name>sample string 3</d3p1:last_name> </d3p1:BasicMemberDto> <d3p1:BasicMemberDto> <d3p1:avatar_url>sample string 4</d3p1:avatar_url> <d3p1:first_name>sample string 2</d3p1:first_name> <d3p1:id>sample string 1</d3p1:id> <d3p1:last_name>sample string 3</d3p1:last_name> </d3p1:BasicMemberDto> <d3p1:BasicMemberDto> <d3p1:avatar_url>sample string 4</d3p1:avatar_url> <d3p1:first_name>sample string 2</d3p1:first_name> <d3p1:id>sample string 1</d3p1:id> <d3p1:last_name>sample string 3</d3p1:last_name> </d3p1:BasicMemberDto> </instructors> <join_after_payment>true</join_after_payment> <leave_session_date>sample string 18</leave_session_date> <linked_sessions>19</linked_sessions> <max_participants>13</max_participants> <network xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </network> <participant_intructions>sample string 11</participant_intructions> <participants_num>15</participants_num> <payment_type>None</payment_type> <registration_end>sample string 8</registration_end> <registration_required>true</registration_required> <registration_start>sample string 7</registration_start> <session_fee> <only_accept_packages>true</only_accept_packages> <payment_amount>2.1</payment_amount> </session_fee> <start>sample string 9</start> <subject>sample string 6</subject> <surface xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </surface> <waitlist_members_num>20</waitlist_members_num> <class_paid>true</class_paid> <has_pending_class_payment>true</has_pending_class_payment> <has_pending_session_payment>true</has_pending_session_payment> <session_paid>true</session_paid> </UnPaidSessionDtoV2> <UnPaidSessionDtoV2> <allow_waitlist>true</allow_waitlist> <class xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </class> <class_fee> <only_accept_packages>true</only_accept_packages> <payment_amount>2.1</payment_amount> </class_fee> <description>sample string 16</description> <end>sample string 10</end> <facility xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </facility> <id>sample string 5</id> <instructors xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <d3p1:BasicMemberDto> <d3p1:avatar_url>sample string 4</d3p1:avatar_url> <d3p1:first_name>sample string 2</d3p1:first_name> <d3p1:id>sample string 1</d3p1:id> <d3p1:last_name>sample string 3</d3p1:last_name> </d3p1:BasicMemberDto> <d3p1:BasicMemberDto> <d3p1:avatar_url>sample string 4</d3p1:avatar_url> <d3p1:first_name>sample string 2</d3p1:first_name> <d3p1:id>sample string 1</d3p1:id> <d3p1:last_name>sample string 3</d3p1:last_name> </d3p1:BasicMemberDto> <d3p1:BasicMemberDto> <d3p1:avatar_url>sample string 4</d3p1:avatar_url> <d3p1:first_name>sample string 2</d3p1:first_name> <d3p1:id>sample string 1</d3p1:id> <d3p1:last_name>sample string 3</d3p1:last_name> </d3p1:BasicMemberDto> </instructors> <join_after_payment>true</join_after_payment> <leave_session_date>sample string 18</leave_session_date> <linked_sessions>19</linked_sessions> <max_participants>13</max_participants> <network xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </network> <participant_intructions>sample string 11</participant_intructions> <participants_num>15</participants_num> <payment_type>None</payment_type> <registration_end>sample string 8</registration_end> <registration_required>true</registration_required> <registration_start>sample string 7</registration_start> <session_fee> <only_accept_packages>true</only_accept_packages> <payment_amount>2.1</payment_amount> </session_fee> <start>sample string 9</start> <subject>sample string 6</subject> <surface xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </surface> <waitlist_members_num>20</waitlist_members_num> <class_paid>true</class_paid> <has_pending_class_payment>true</has_pending_class_payment> <has_pending_session_payment>true</has_pending_session_payment> <session_paid>true</session_paid> </UnPaidSessionDtoV2> <UnPaidSessionDtoV2> <allow_waitlist>true</allow_waitlist> <class xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </class> <class_fee> <only_accept_packages>true</only_accept_packages> <payment_amount>2.1</payment_amount> </class_fee> <description>sample string 16</description> <end>sample string 10</end> <facility xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </facility> <id>sample string 5</id> <instructors xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <d3p1:BasicMemberDto> <d3p1:avatar_url>sample string 4</d3p1:avatar_url> <d3p1:first_name>sample string 2</d3p1:first_name> <d3p1:id>sample string 1</d3p1:id> <d3p1:last_name>sample string 3</d3p1:last_name> </d3p1:BasicMemberDto> <d3p1:BasicMemberDto> <d3p1:avatar_url>sample string 4</d3p1:avatar_url> <d3p1:first_name>sample string 2</d3p1:first_name> <d3p1:id>sample string 1</d3p1:id> <d3p1:last_name>sample string 3</d3p1:last_name> </d3p1:BasicMemberDto> <d3p1:BasicMemberDto> <d3p1:avatar_url>sample string 4</d3p1:avatar_url> <d3p1:first_name>sample string 2</d3p1:first_name> <d3p1:id>sample string 1</d3p1:id> <d3p1:last_name>sample string 3</d3p1:last_name> </d3p1:BasicMemberDto> </instructors> <join_after_payment>true</join_after_payment> <leave_session_date>sample string 18</leave_session_date> <linked_sessions>19</linked_sessions> <max_participants>13</max_participants> <network xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </network> <participant_intructions>sample string 11</participant_intructions> <participants_num>15</participants_num> <payment_type>None</payment_type> <registration_end>sample string 8</registration_end> <registration_required>true</registration_required> <registration_start>sample string 7</registration_start> <session_fee> <only_accept_packages>true</only_accept_packages> <payment_amount>2.1</payment_amount> </session_fee> <start>sample string 9</start> <subject>sample string 6</subject> <surface xmlns:d3p1="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <d3p1:id>sample string 1</d3p1:id> <d3p1:name>sample string 2</d3p1:name> </surface> <waitlist_members_num>20</waitlist_members_num> <class_paid>true</class_paid> <has_pending_class_payment>true</has_pending_class_payment> <has_pending_session_payment>true</has_pending_session_payment> <session_paid>true</session_paid> </UnPaidSessionDtoV2> </ArrayOfUnPaidSessionDtoV2>