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": "ee233e92-4dcc-4665-9e8e-d0b2e0a40c4e",
      "TeacherId": "515bbf46-85d7-4066-b6f0-7af5511a4ebe",
      "RegistrationId": "a7e80c5b-af67-43ab-975e-747556cec96f",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "7e41de2e-a201-4da8-8351-0d1c73f1104c",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "7e41de2e-a201-4da8-8351-0d1c73f1104c",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "ee233e92-4dcc-4665-9e8e-d0b2e0a40c4e",
      "TeacherId": "515bbf46-85d7-4066-b6f0-7af5511a4ebe",
      "RegistrationId": "a7e80c5b-af67-43ab-975e-747556cec96f",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "7e41de2e-a201-4da8-8351-0d1c73f1104c",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "7e41de2e-a201-4da8-8351-0d1c73f1104c",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "5c331769-c22c-4728-a93b-ea9793a755b6",
      "ClassType": 0,
      "TeacherId": "bba67bd7-efef-4a4a-94fc-f7f0a2bf39d7",
      "StudentId": "f190e07e-3713-490c-92cb-c69dafe52cc5",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-11T15:55:33.7855126+00:00",
      "DateCompleted": "2026-03-11T15:55:33.7855126+00:00",
      "Created": "2026-03-11T15:55:33.7855126+00:00",
      "LastUpdated": "2026-03-11T15:55:33.7855126+00:00"
    },
    {
      "Id": "5c331769-c22c-4728-a93b-ea9793a755b6",
      "ClassType": 0,
      "TeacherId": "bba67bd7-efef-4a4a-94fc-f7f0a2bf39d7",
      "StudentId": "f190e07e-3713-490c-92cb-c69dafe52cc5",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-11T15:55:33.7855126+00:00",
      "DateCompleted": "2026-03-11T15:55:33.7855126+00:00",
      "Created": "2026-03-11T15:55:33.7855126+00:00",
      "LastUpdated": "2026-03-11T15:55:33.7855126+00:00"
    }
  ]
}