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": "03d69839-6acf-4e55-a5e3-8d073d0f6d0d", "TeacherId": "008cfcf5-44ca-4605-9905-8c8ee2b0eace", "RegistrationId": "48cac821-68c3-44a4-8430-e74865a4f1da", "ItemResultsViewModel": [ { "RatingSchemaPartItemId": "b3c359cb-77ef-49a0-b784-623227a9eeb8", "Name": "sample string 2", "Result": 3, "Number": 1 }, { "RatingSchemaPartItemId": "b3c359cb-77ef-49a0-b784-623227a9eeb8", "Name": "sample string 2", "Result": 3, "Number": 1 } ] }, { "StudentId": "03d69839-6acf-4e55-a5e3-8d073d0f6d0d", "TeacherId": "008cfcf5-44ca-4605-9905-8c8ee2b0eace", "RegistrationId": "48cac821-68c3-44a4-8430-e74865a4f1da", "ItemResultsViewModel": [ { "RatingSchemaPartItemId": "b3c359cb-77ef-49a0-b784-623227a9eeb8", "Name": "sample string 2", "Result": 3, "Number": 1 }, { "RatingSchemaPartItemId": "b3c359cb-77ef-49a0-b784-623227a9eeb8", "Name": "sample string 2", "Result": 3, "Number": 1 } ] } ], "Results": [ { "Id": "31c1f572-c9c3-485a-8f56-aa38148cf6ac", "ClassType": 0, "TeacherId": "e9b2a79e-575e-47a3-b5ee-59f2ca4d0752", "StudentId": "0faa3abd-1154-4a92-bfce-4e3e8f7c0a87", "Result": "sample string 3", "ContentItemResultTypeId": 1, "Score": 1.1, "DateStarted": "2024-10-05T09:16:37.5753421+00:00", "DateCompleted": "2024-10-05T09:16:37.5753421+00:00", "Created": "2024-10-05T09:16:37.5753421+00:00", "LastUpdated": "2024-10-05T09:16:37.5753421+00:00" }, { "Id": "31c1f572-c9c3-485a-8f56-aa38148cf6ac", "ClassType": 0, "TeacherId": "e9b2a79e-575e-47a3-b5ee-59f2ca4d0752", "StudentId": "0faa3abd-1154-4a92-bfce-4e3e8f7c0a87", "Result": "sample string 3", "ContentItemResultTypeId": 1, "Score": 1.1, "DateStarted": "2024-10-05T09:16:37.5753421+00:00", "DateCompleted": "2024-10-05T09:16:37.5753421+00:00", "Created": "2024-10-05T09:16:37.5753421+00:00", "LastUpdated": "2024-10-05T09:16:37.5753421+00:00" } ] }