GET users/{userIdentifier}/encounters/available
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
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userIdentifier | PearsonEnglish.LearningServices.Business.Helpers.UserIdentifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PearsonEnglish.LearningServices.Wse.Models.AvailableEncounter| Name | Description | Type | Additional information |
|---|---|---|---|
| UnitNumber | integer |
None. |
|
| Id | globally unique identifier |
None. |
|
| DateTime | date |
None. |
|
| EndDate | date |
None. |
|
| Duration | integer |
None. |
|
| Status | PearsonEnglish.LearningServices.Wse.Models.AvailableClassStatus |
None. |
|
| IsOnline | boolean |
None. |
|
| CenterId | globally unique identifier |
None. |
|
| CenterName | string |
None. |
|
| CenterReferenceId | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"UnitNumber": 1,
"Id": "875c6749-f7cc-432c-b67f-364c090cb7fb",
"DateTime": "2025-12-09T05:55:49.6330509+00:00",
"EndDate": "2025-12-09T05:55:49.6330509+00:00",
"Duration": 4,
"Status": "Available",
"IsOnline": true,
"CenterId": "5735e8d4-4bb3-43e3-8c4e-526bd28e07a6",
"CenterName": "sample string 7",
"CenterReferenceId": "sample string 8"
},
{
"UnitNumber": 1,
"Id": "875c6749-f7cc-432c-b67f-364c090cb7fb",
"DateTime": "2025-12-09T05:55:49.6330509+00:00",
"EndDate": "2025-12-09T05:55:49.6330509+00:00",
"Duration": 4,
"Status": "Available",
"IsOnline": true,
"CenterId": "5735e8d4-4bb3-43e3-8c4e-526bd28e07a6",
"CenterName": "sample string 7",
"CenterReferenceId": "sample string 8"
}
]