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": "23cbaf67-e38e-4c63-b422-a43be4ea34cd", "TeacherId": "1a734262-58fc-470b-b760-8ecbbf0edb98", "RegistrationId": "4df673c3-623f-4102-bf89-90197c3d5640", "ItemResultsViewModel": [ { "RatingSchemaPartItemId": "71f09faa-c666-4e38-801b-cddad8b52ab6", "Name": "sample string 2", "Result": 3, "Number": 1 }, { "RatingSchemaPartItemId": "71f09faa-c666-4e38-801b-cddad8b52ab6", "Name": "sample string 2", "Result": 3, "Number": 1 } ] }, { "StudentId": "23cbaf67-e38e-4c63-b422-a43be4ea34cd", "TeacherId": "1a734262-58fc-470b-b760-8ecbbf0edb98", "RegistrationId": "4df673c3-623f-4102-bf89-90197c3d5640", "ItemResultsViewModel": [ { "RatingSchemaPartItemId": "71f09faa-c666-4e38-801b-cddad8b52ab6", "Name": "sample string 2", "Result": 3, "Number": 1 }, { "RatingSchemaPartItemId": "71f09faa-c666-4e38-801b-cddad8b52ab6", "Name": "sample string 2", "Result": 3, "Number": 1 } ] } ], "Results": [ { "Id": "1609872c-3803-411c-a43c-9bf37fa83bc7", "ClassType": 0, "TeacherId": "74f24a15-c23a-480e-b088-9f26afe44002", "StudentId": "742a7e02-dcde-4fd4-8418-6eedb4a18e3e", "Result": "sample string 3", "ContentItemResultTypeId": 1, "Score": 1.1, "DateStarted": "2024-12-20T14:04:50.2409015+00:00", "DateCompleted": "2024-12-20T14:04:50.2409015+00:00", "Created": "2024-12-20T14:04:50.2409015+00:00", "LastUpdated": "2024-12-20T14:04:50.2409015+00:00" }, { "Id": "1609872c-3803-411c-a43c-9bf37fa83bc7", "ClassType": 0, "TeacherId": "74f24a15-c23a-480e-b088-9f26afe44002", "StudentId": "742a7e02-dcde-4fd4-8418-6eedb4a18e3e", "Result": "sample string 3", "ContentItemResultTypeId": 1, "Score": 1.1, "DateStarted": "2024-12-20T14:04:50.2409015+00:00", "DateCompleted": "2024-12-20T14:04:50.2409015+00:00", "Created": "2024-12-20T14:04:50.2409015+00:00", "LastUpdated": "2024-12-20T14:04:50.2409015+00:00" } ] }