GET classes/{classId}/student/{userIdentifier}/classResults
Authorization
Access to this endpoint is granted if all following conditions are true:
- Authenticated user who is either Student
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
classId | string |
Required |
|
userIdentifier | PearsonEnglish.LearningServices.Business.Helpers.UserIdentifier |
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": "8bf39881-7431-4e83-8824-884e7954c1af", "TeacherId": "40942639-c6c8-432e-a350-261abe2bbd63", "RegistrationId": "b5291fa9-6371-4ead-baf9-2ade4c354021", "ItemResultsViewModel": [ { "RatingSchemaPartItemId": "e2cf9eb1-fc3f-4cc6-8444-46bee32d8ce1", "Name": "sample string 2", "Result": 3, "Number": 1 }, { "RatingSchemaPartItemId": "e2cf9eb1-fc3f-4cc6-8444-46bee32d8ce1", "Name": "sample string 2", "Result": 3, "Number": 1 } ] }, { "StudentId": "8bf39881-7431-4e83-8824-884e7954c1af", "TeacherId": "40942639-c6c8-432e-a350-261abe2bbd63", "RegistrationId": "b5291fa9-6371-4ead-baf9-2ade4c354021", "ItemResultsViewModel": [ { "RatingSchemaPartItemId": "e2cf9eb1-fc3f-4cc6-8444-46bee32d8ce1", "Name": "sample string 2", "Result": 3, "Number": 1 }, { "RatingSchemaPartItemId": "e2cf9eb1-fc3f-4cc6-8444-46bee32d8ce1", "Name": "sample string 2", "Result": 3, "Number": 1 } ] } ], "Results": [ { "Id": "befd5d21-73b3-4dcd-9206-17f43888ef38", "ClassType": 0, "TeacherId": "cd503867-170b-43d9-98b3-06aa4c442d6e", "StudentId": "8679d4e8-31db-440c-b307-306a4fbd6359", "Result": "sample string 3", "ContentItemResultTypeId": 1, "Score": 1.1, "DateStarted": "2025-03-28T18:50:40.6109302+00:00", "DateCompleted": "2025-03-28T18:50:40.6109302+00:00", "Created": "2025-03-28T18:50:40.6109302+00:00", "LastUpdated": "2025-03-28T18:50:40.6109302+00:00" }, { "Id": "befd5d21-73b3-4dcd-9206-17f43888ef38", "ClassType": 0, "TeacherId": "cd503867-170b-43d9-98b3-06aa4c442d6e", "StudentId": "8679d4e8-31db-440c-b307-306a4fbd6359", "Result": "sample string 3", "ContentItemResultTypeId": 1, "Score": 1.1, "DateStarted": "2025-03-28T18:50:40.6109302+00:00", "DateCompleted": "2025-03-28T18:50:40.6109302+00:00", "Created": "2025-03-28T18:50:40.6109302+00:00", "LastUpdated": "2025-03-28T18:50:40.6109302+00:00" } ] }