GET centers/{centerId}/scheduledclasses/obsolete?startDate={startDate}&includeOnlineCenterClasses={includeOnlineCenterClasses}&includeCrossCenterGroupClasses={includeCrossCenterGroupClasses}
Authorization
Access to this endpoint is granted if all following conditions are true:
- Authenticated user who is either StaffMember
- Authenticated user belongs to center which matches identifier given in "centerId" uri parameter.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
centerId | globally unique identifier |
Required |
|
startDate | date |
None. |
|
includeOnlineCenterClasses | boolean |
Default value is True |
|
includeCrossCenterGroupClasses | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
Collection of PearsonEnglish.LearningServices.Wse.Models.Views.ScheduledClassViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
ClassId | string |
None. |
|
ClassCode | string |
None. |
|
ClassType | integer |
None. |
|
NumberOfSeats | integer |
None. |
|
NumberOfStudents | integer |
None. |
|
IsComplete | boolean |
None. |
|
NumberOfStudentsOnStandbyList | integer |
None. |
|
MaxNumberOfStudentsOnStandbyList | integer |
None. |
|
IsClosed | boolean |
None. |
|
IsOnline | boolean |
None. |
|
StartDate | date |
None. |
|
Duration | integer |
None. |
|
Categories | Collection of PearsonEnglish.LearningServices.Core.Models.Views.CategoryViewModel |
None. |
|
CategoriesAbbreviations | string |
None. |
|
ClassDescription | string |
None. |
|
CompanyId | globally unique identifier |
None. |
|
AcceptsStandby | boolean |
None. |
|
TeacherId | globally unique identifier |
None. |
|
TeacherSsdsId | string |
None. |
|
IsVisibleInGroup | boolean |
None. |
|
IsB2B | boolean |
None. |
|
IsStandbyListFull | boolean |
None. |
|
CenterId | globally unique identifier |
None. |
|
CenterName | string |
None. |
|
IsTechnologyEnabledCenter | boolean |
None. |
|
IsScheduledInOnlineCenter | boolean |
None. |
|
IsTeen | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": "dd5811d0-adc1-4057-8648-dbaa26ab5208", "ClassId": "sample string 2", "ClassCode": "sample string 3", "ClassType": 4, "NumberOfSeats": 5, "NumberOfStudents": 6, "IsComplete": true, "NumberOfStudentsOnStandbyList": 1, "MaxNumberOfStudentsOnStandbyList": 7, "IsClosed": true, "IsOnline": true, "StartDate": "2024-12-20T14:12:50.1056131+00:00", "Duration": 9, "Categories": [ { "Id": "b16382ed-1115-4a8d-a669-bc88453e556e", "Type": "sample string 2", "Sequence": 1, "Path": "sample string 3", "Attributes": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "ChildCategories": [] }, { "Id": "b16382ed-1115-4a8d-a669-bc88453e556e", "Type": "sample string 2", "Sequence": 1, "Path": "sample string 3", "Attributes": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "ChildCategories": [] } ], "CategoriesAbbreviations": "sample string 10", "ClassDescription": "sample string 11", "CompanyId": "35dec513-4763-4098-a6ad-fcdbc8bc8287", "AcceptsStandby": true, "TeacherId": "e5389305-55d3-45c9-909f-8a432d488357", "TeacherSsdsId": "sample string 14", "IsVisibleInGroup": true, "IsB2B": true, "IsStandbyListFull": false, "CenterId": "21eb0d6e-e3d1-44c8-8220-868eff2f3c9b", "CenterName": "sample string 17", "IsTechnologyEnabledCenter": true, "IsScheduledInOnlineCenter": true, "IsTeen": true }, { "Id": "dd5811d0-adc1-4057-8648-dbaa26ab5208", "ClassId": "sample string 2", "ClassCode": "sample string 3", "ClassType": 4, "NumberOfSeats": 5, "NumberOfStudents": 6, "IsComplete": true, "NumberOfStudentsOnStandbyList": 1, "MaxNumberOfStudentsOnStandbyList": 7, "IsClosed": true, "IsOnline": true, "StartDate": "2024-12-20T14:12:50.1056131+00:00", "Duration": 9, "Categories": [ { "Id": "b16382ed-1115-4a8d-a669-bc88453e556e", "Type": "sample string 2", "Sequence": 1, "Path": "sample string 3", "Attributes": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "ChildCategories": [] }, { "Id": "b16382ed-1115-4a8d-a669-bc88453e556e", "Type": "sample string 2", "Sequence": 1, "Path": "sample string 3", "Attributes": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "ChildCategories": [] } ], "CategoriesAbbreviations": "sample string 10", "ClassDescription": "sample string 11", "CompanyId": "35dec513-4763-4098-a6ad-fcdbc8bc8287", "AcceptsStandby": true, "TeacherId": "e5389305-55d3-45c9-909f-8a432d488357", "TeacherSsdsId": "sample string 14", "IsVisibleInGroup": true, "IsB2B": true, "IsStandbyListFull": false, "CenterId": "21eb0d6e-e3d1-44c8-8220-868eff2f3c9b", "CenterName": "sample string 17", "IsTechnologyEnabledCenter": true, "IsScheduledInOnlineCenter": true, "IsTeen": true } ]