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": "18f87bec-adbe-4958-abc6-7343c5802fec", "TeacherId": "2134de79-3db0-440d-aeca-bcd235d19f54", "RegistrationId": "0e122f0d-67af-4f48-b93e-61fb93dcc082", "ItemResultsViewModel": [ { "RatingSchemaPartItemId": "20c27f0c-cc64-434d-bd51-f03ac404bbe5", "Name": "sample string 2", "Result": 3, "Number": 1 }, { "RatingSchemaPartItemId": "20c27f0c-cc64-434d-bd51-f03ac404bbe5", "Name": "sample string 2", "Result": 3, "Number": 1 } ] }, { "StudentId": "18f87bec-adbe-4958-abc6-7343c5802fec", "TeacherId": "2134de79-3db0-440d-aeca-bcd235d19f54", "RegistrationId": "0e122f0d-67af-4f48-b93e-61fb93dcc082", "ItemResultsViewModel": [ { "RatingSchemaPartItemId": "20c27f0c-cc64-434d-bd51-f03ac404bbe5", "Name": "sample string 2", "Result": 3, "Number": 1 }, { "RatingSchemaPartItemId": "20c27f0c-cc64-434d-bd51-f03ac404bbe5", "Name": "sample string 2", "Result": 3, "Number": 1 } ] } ], "Results": [ { "Id": "cc67acda-a9c9-4605-9d84-7cfd4005b790", "ClassType": 0, "TeacherId": "ddf1b176-172d-47f4-9de9-6f79123c04b8", "StudentId": "219feede-0769-419a-8a2a-9c8d1883201b", "Result": "sample string 3", "ContentItemResultTypeId": 1, "Score": 1.1, "DateStarted": "2025-04-04T05:48:27.365485+00:00", "DateCompleted": "2025-04-04T05:48:27.365485+00:00", "Created": "2025-04-04T05:48:27.365485+00:00", "LastUpdated": "2025-04-04T05:48:27.365485+00:00" }, { "Id": "cc67acda-a9c9-4605-9d84-7cfd4005b790", "ClassType": 0, "TeacherId": "ddf1b176-172d-47f4-9de9-6f79123c04b8", "StudentId": "219feede-0769-419a-8a2a-9c8d1883201b", "Result": "sample string 3", "ContentItemResultTypeId": 1, "Score": 1.1, "DateStarted": "2025-04-04T05:48:27.365485+00:00", "DateCompleted": "2025-04-04T05:48:27.365485+00:00", "Created": "2025-04-04T05:48:27.365485+00:00", "LastUpdated": "2025-04-04T05:48:27.365485+00:00" } ] }