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": "a3f1dbe6-97e8-4507-b09c-b6cf12483704", "TeacherId": "5473b293-3504-4911-ad26-8ec284aea848", "RegistrationId": "d54a7ba9-74b8-4204-af77-bd17ce9fd2b8", "ItemResultsViewModel": [ { "RatingSchemaPartItemId": "c09a3472-96bb-46af-a6c4-fc5a18851474", "Name": "sample string 2", "Result": 3, "Number": 1 }, { "RatingSchemaPartItemId": "c09a3472-96bb-46af-a6c4-fc5a18851474", "Name": "sample string 2", "Result": 3, "Number": 1 } ] }, { "StudentId": "a3f1dbe6-97e8-4507-b09c-b6cf12483704", "TeacherId": "5473b293-3504-4911-ad26-8ec284aea848", "RegistrationId": "d54a7ba9-74b8-4204-af77-bd17ce9fd2b8", "ItemResultsViewModel": [ { "RatingSchemaPartItemId": "c09a3472-96bb-46af-a6c4-fc5a18851474", "Name": "sample string 2", "Result": 3, "Number": 1 }, { "RatingSchemaPartItemId": "c09a3472-96bb-46af-a6c4-fc5a18851474", "Name": "sample string 2", "Result": 3, "Number": 1 } ] } ], "Results": [ { "Id": "8d0647d3-8eaa-4d51-b8af-d8fb68847524", "ClassType": 0, "TeacherId": "368a092d-26aa-46ac-ab88-d274ba919a92", "StudentId": "795f222c-244f-4da0-997c-218f476e01e4", "Result": "sample string 3", "ContentItemResultTypeId": 1, "Score": 1.1, "DateStarted": "2025-07-01T06:31:55.3650217+00:00", "DateCompleted": "2025-07-01T06:31:55.3650217+00:00", "Created": "2025-07-01T06:31:55.3650217+00:00", "LastUpdated": "2025-07-01T06:31:55.3650217+00:00" }, { "Id": "8d0647d3-8eaa-4d51-b8af-d8fb68847524", "ClassType": 0, "TeacherId": "368a092d-26aa-46ac-ab88-d274ba919a92", "StudentId": "795f222c-244f-4da0-997c-218f476e01e4", "Result": "sample string 3", "ContentItemResultTypeId": 1, "Score": 1.1, "DateStarted": "2025-07-01T06:31:55.3650217+00:00", "DateCompleted": "2025-07-01T06:31:55.3650217+00:00", "Created": "2025-07-01T06:31:55.3650217+00:00", "LastUpdated": "2025-07-01T06:31:55.3650217+00:00" } ] }