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

NameDescriptionTypeAdditional information
classId

string

Required

Body Parameters

None.

Response Information

Resource Description

PearsonEnglish.LearningServices.Wse.Models.Views.ClassResultAggregationViewModel
NameDescriptionTypeAdditional 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": "94ce6baf-7b12-491d-a638-8cea9c75962b",
      "TeacherId": "4c5088e9-67e5-455e-ab74-3da4f49475f5",
      "RegistrationId": "bf7b5161-3b4c-45fd-b15f-691869e6cafa",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "d1f98a70-3376-4b32-8577-f7600cbe6dbd",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "d1f98a70-3376-4b32-8577-f7600cbe6dbd",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "94ce6baf-7b12-491d-a638-8cea9c75962b",
      "TeacherId": "4c5088e9-67e5-455e-ab74-3da4f49475f5",
      "RegistrationId": "bf7b5161-3b4c-45fd-b15f-691869e6cafa",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "d1f98a70-3376-4b32-8577-f7600cbe6dbd",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "d1f98a70-3376-4b32-8577-f7600cbe6dbd",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "75fe15b4-12d6-4c07-b51f-60850d2e8a02",
      "ClassType": 0,
      "TeacherId": "9a7b6b67-c2ed-4aa1-9ff4-715258d5776e",
      "StudentId": "1884bde5-a114-47fd-ae1d-f805234fc51c",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-07-11T21:45:28.785755+00:00",
      "DateCompleted": "2025-07-11T21:45:28.785755+00:00",
      "Created": "2025-07-11T21:45:28.785755+00:00",
      "LastUpdated": "2025-07-11T21:45:28.785755+00:00"
    },
    {
      "Id": "75fe15b4-12d6-4c07-b51f-60850d2e8a02",
      "ClassType": 0,
      "TeacherId": "9a7b6b67-c2ed-4aa1-9ff4-715258d5776e",
      "StudentId": "1884bde5-a114-47fd-ae1d-f805234fc51c",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-07-11T21:45:28.785755+00:00",
      "DateCompleted": "2025-07-11T21:45:28.785755+00:00",
      "Created": "2025-07-11T21:45:28.785755+00:00",
      "LastUpdated": "2025-07-11T21:45:28.785755+00:00"
    }
  ]
}