GET users/{userIdentifier}/sessions
Gets the user sessions asynchronous.
Authorization
Access to this endpoint is granted if all following conditions are true:
- Authenticated user passes at least one of the following conditions: Authenticated user matches identifier given in "userIdentifier, studentIdentifier" uri parameter. Authenticated user is a staff member and is assigned to the same center as a user who matches identifier given in "userIdentifier, studentIdentifier" uri parameter.
- Authenticated user who is either StaffMember, Student, Administrator, ProspectWithTrial, User
- Authenticated user who is either StaffMember, Student, QA, ISUSTeacher, Administrator, FocusTool, ProspectWithTrial, User
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userIdentifier |
The user identifier. |
PearsonEnglish.LearningServices.Business.Helpers.UserIdentifier |
Required |
Body Parameters
None.
Response Information
Resource Description
PearsonEnglish.LearningServices.Core.Models.Views.TeacherSessionViewModelName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Contact | string |
None. |
|
Photo | string |
None. |
|
StartDate | integer |
None. |
|
EndDate | integer |
None. |
|
PartnerId | globally unique identifier |
Required |
|
ContentItemId | globally unique identifier |
Required |
|
TeacherId | globally unique identifier |
Required |
|
MeetingUrl | string |
Required |
|
StartDateTime | date |
Required |
|
EndDateTime | date |
Required |
Response Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "Contact": "sample string 2", "Photo": "sample string 3", "StartDate": 4, "EndDate": 5, "PartnerId": "bf75aa1d-d35b-4835-89b7-6fb3d3cec673", "ContentItemId": "0301c4cc-de5f-4d46-9a09-0149878fd0f8", "TeacherId": "6d9ceefc-0e2b-48bf-8bf0-775a97b75e3e", "MeetingUrl": "sample string 9", "StartDateTime": "2024-10-05T09:24:44.5461104+00:00", "EndDateTime": "2024-10-05T09:24:44.5461104+00:00" }