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": "d7aabaff-2361-4d26-992e-ecde95922a53",
      "TeacherId": "7425eb96-bcc3-4d21-8fc6-0b32fc37b93d",
      "RegistrationId": "963c2be8-12e6-4097-ba0b-2977cc6f0ef5",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "940ecfbe-641c-45c2-a348-bf15a859bffe",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "940ecfbe-641c-45c2-a348-bf15a859bffe",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "d7aabaff-2361-4d26-992e-ecde95922a53",
      "TeacherId": "7425eb96-bcc3-4d21-8fc6-0b32fc37b93d",
      "RegistrationId": "963c2be8-12e6-4097-ba0b-2977cc6f0ef5",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "940ecfbe-641c-45c2-a348-bf15a859bffe",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "940ecfbe-641c-45c2-a348-bf15a859bffe",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "89896e95-b366-414b-b0d5-ea868dbf9553",
      "ClassType": 0,
      "TeacherId": "731c3565-489c-4ebe-b3ef-5cf3dcc30098",
      "StudentId": "a96a856d-5898-4304-ac16-f5c018c10e86",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-07-05T22:15:29.5710428+00:00",
      "DateCompleted": "2026-07-05T22:15:29.5710428+00:00",
      "Created": "2026-07-05T22:15:29.5710428+00:00",
      "LastUpdated": "2026-07-05T22:15:29.5710428+00:00"
    },
    {
      "Id": "89896e95-b366-414b-b0d5-ea868dbf9553",
      "ClassType": 0,
      "TeacherId": "731c3565-489c-4ebe-b3ef-5cf3dcc30098",
      "StudentId": "a96a856d-5898-4304-ac16-f5c018c10e86",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-07-05T22:15:29.5710428+00:00",
      "DateCompleted": "2026-07-05T22:15:29.5710428+00:00",
      "Created": "2026-07-05T22:15:29.5710428+00:00",
      "LastUpdated": "2026-07-05T22:15:29.5710428+00:00"
    }
  ]
}