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": "059d47f4-d776-4086-99a7-fb82d92df2ed",
      "TeacherId": "46175ae9-f42b-4029-a77c-406317982f46",
      "RegistrationId": "08982771-75ef-4e5c-a1f8-9e4142f2c98b",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "f8f4e8b4-2d8a-4baf-af87-1e64e5a37036",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "f8f4e8b4-2d8a-4baf-af87-1e64e5a37036",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "059d47f4-d776-4086-99a7-fb82d92df2ed",
      "TeacherId": "46175ae9-f42b-4029-a77c-406317982f46",
      "RegistrationId": "08982771-75ef-4e5c-a1f8-9e4142f2c98b",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "f8f4e8b4-2d8a-4baf-af87-1e64e5a37036",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "f8f4e8b4-2d8a-4baf-af87-1e64e5a37036",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "aa09243b-1df4-499e-b7d2-8610e0d27ed1",
      "ClassType": 0,
      "TeacherId": "a76c0825-e53b-4d9c-839a-3d545128fd13",
      "StudentId": "6ff339aa-ae2b-47d8-9d58-a255689518e9",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-04-21T03:33:09.7049103+00:00",
      "DateCompleted": "2026-04-21T03:33:09.7049103+00:00",
      "Created": "2026-04-21T03:33:09.7049103+00:00",
      "LastUpdated": "2026-04-21T03:33:09.7049103+00:00"
    },
    {
      "Id": "aa09243b-1df4-499e-b7d2-8610e0d27ed1",
      "ClassType": 0,
      "TeacherId": "a76c0825-e53b-4d9c-839a-3d545128fd13",
      "StudentId": "6ff339aa-ae2b-47d8-9d58-a255689518e9",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-04-21T03:33:09.7049103+00:00",
      "DateCompleted": "2026-04-21T03:33:09.7049103+00:00",
      "Created": "2026-04-21T03:33:09.7049103+00:00",
      "LastUpdated": "2026-04-21T03:33:09.7049103+00:00"
    }
  ]
}