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": "c9c3541c-c0eb-4ab0-a8d6-d0a9d54224ab", "TeacherId": "e3c50d6b-8d9c-43b4-934e-c7181ae56dcd", "RegistrationId": "aee61ceb-7703-44ed-9b46-a97e54cf8783", "ItemResultsViewModel": [ { "RatingSchemaPartItemId": "8f5933ca-11ce-4c2b-bf32-3eb2e97e8887", "Name": "sample string 2", "Result": 3, "Number": 1 }, { "RatingSchemaPartItemId": "8f5933ca-11ce-4c2b-bf32-3eb2e97e8887", "Name": "sample string 2", "Result": 3, "Number": 1 } ] }, { "StudentId": "c9c3541c-c0eb-4ab0-a8d6-d0a9d54224ab", "TeacherId": "e3c50d6b-8d9c-43b4-934e-c7181ae56dcd", "RegistrationId": "aee61ceb-7703-44ed-9b46-a97e54cf8783", "ItemResultsViewModel": [ { "RatingSchemaPartItemId": "8f5933ca-11ce-4c2b-bf32-3eb2e97e8887", "Name": "sample string 2", "Result": 3, "Number": 1 }, { "RatingSchemaPartItemId": "8f5933ca-11ce-4c2b-bf32-3eb2e97e8887", "Name": "sample string 2", "Result": 3, "Number": 1 } ] } ], "Results": [ { "Id": "f0f237c6-1929-4159-98a1-94efe98f6952", "ClassType": 0, "TeacherId": "3d73393f-a5e5-41ca-b70f-82feab821624", "StudentId": "1f6b32c5-4c29-46fb-b8f7-c2b76c614702", "Result": "sample string 3", "ContentItemResultTypeId": 1, "Score": 1.1, "DateStarted": "2024-10-05T09:18:51.5730429+00:00", "DateCompleted": "2024-10-05T09:18:51.5730429+00:00", "Created": "2024-10-05T09:18:51.5730429+00:00", "LastUpdated": "2024-10-05T09:18:51.5730429+00:00" }, { "Id": "f0f237c6-1929-4159-98a1-94efe98f6952", "ClassType": 0, "TeacherId": "3d73393f-a5e5-41ca-b70f-82feab821624", "StudentId": "1f6b32c5-4c29-46fb-b8f7-c2b76c614702", "Result": "sample string 3", "ContentItemResultTypeId": 1, "Score": 1.1, "DateStarted": "2024-10-05T09:18:51.5730429+00:00", "DateCompleted": "2024-10-05T09:18:51.5730429+00:00", "Created": "2024-10-05T09:18:51.5730429+00:00", "LastUpdated": "2024-10-05T09:18:51.5730429+00:00" } ] }