GET classes/{classId}/classResults
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 is a staff member and is assigned to the same center as a user who matches any student who has a result for class specified by "classId" uri parameter parameter or by content of request. Authenticated user is a staff member and is assigned to the online center as a user who matches any student who has a result for class specified by "classId" uri parameter parameter or by content of request. Authenticated user matches any student who has a result for class specified by "classId" uri parameter parameter or by content of request.
- Authenticated user who is either StaffMember
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
classId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
PearsonEnglish.LearningServices.Wse.Models.Views.ClassResultAggregationViewModelName | Description | Type | Additional information |
---|---|---|---|
PartialResults | Collection of PearsonEnglish.LearningServices.Wse.Models.Views.RatingSchemaPartsResultsViewModel |
None. |
|
Results | Collection of PearsonEnglish.LearningServices.Wse.Models.Views.ClassResultViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "PartialResults": [ { "StudentId": "60c88591-b7e0-424f-9dd3-038bb9a6bde1", "TeacherId": "4350b748-892c-4c5a-b361-71d53d7ebfee", "RegistrationId": "0967d266-3982-44a6-84d3-23b7f84a5c54", "ItemResultsViewModel": [ { "RatingSchemaPartItemId": "71ec952a-e53b-4e53-9220-cde02e799f57", "Name": "sample string 2", "Result": 3, "Number": 1 }, { "RatingSchemaPartItemId": "71ec952a-e53b-4e53-9220-cde02e799f57", "Name": "sample string 2", "Result": 3, "Number": 1 } ] }, { "StudentId": "60c88591-b7e0-424f-9dd3-038bb9a6bde1", "TeacherId": "4350b748-892c-4c5a-b361-71d53d7ebfee", "RegistrationId": "0967d266-3982-44a6-84d3-23b7f84a5c54", "ItemResultsViewModel": [ { "RatingSchemaPartItemId": "71ec952a-e53b-4e53-9220-cde02e799f57", "Name": "sample string 2", "Result": 3, "Number": 1 }, { "RatingSchemaPartItemId": "71ec952a-e53b-4e53-9220-cde02e799f57", "Name": "sample string 2", "Result": 3, "Number": 1 } ] } ], "Results": [ { "Id": "4eec8556-a901-40d6-bc88-87895682aa05", "ClassType": 0, "TeacherId": "e7e2c0e2-919e-42b8-ae17-521085201cfe", "StudentId": "2e627cb1-9840-4bc2-afda-9e137a82a310", "Result": "sample string 3", "ContentItemResultTypeId": 1, "Score": 1.1, "DateStarted": "2025-09-16T00:39:24.885318+00:00", "DateCompleted": "2025-09-16T00:39:24.885318+00:00", "Created": "2025-09-16T00:39:24.885318+00:00", "LastUpdated": "2025-09-16T00:39:24.885318+00:00" }, { "Id": "4eec8556-a901-40d6-bc88-87895682aa05", "ClassType": 0, "TeacherId": "e7e2c0e2-919e-42b8-ae17-521085201cfe", "StudentId": "2e627cb1-9840-4bc2-afda-9e137a82a310", "Result": "sample string 3", "ContentItemResultTypeId": 1, "Score": 1.1, "DateStarted": "2025-09-16T00:39:24.885318+00:00", "DateCompleted": "2025-09-16T00:39:24.885318+00:00", "Created": "2025-09-16T00:39:24.885318+00:00", "LastUpdated": "2025-09-16T00:39:24.885318+00:00" } ] }