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": "8e1e06ab-b06a-4792-bc69-f151988f6a21",
      "TeacherId": "05eb5b35-350a-44ee-8dbe-b2c99f9c7554",
      "RegistrationId": "216f71f9-bc0c-4a98-80cd-9625bc4be244",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "da9b4331-97a9-48a2-8c10-92673832dda2",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "da9b4331-97a9-48a2-8c10-92673832dda2",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "8e1e06ab-b06a-4792-bc69-f151988f6a21",
      "TeacherId": "05eb5b35-350a-44ee-8dbe-b2c99f9c7554",
      "RegistrationId": "216f71f9-bc0c-4a98-80cd-9625bc4be244",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "da9b4331-97a9-48a2-8c10-92673832dda2",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "da9b4331-97a9-48a2-8c10-92673832dda2",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "66de77a4-8bcb-461c-9a77-79d2b5053558",
      "ClassType": 0,
      "TeacherId": "ac4ddc27-2e5e-48ef-be0d-f227fb7da563",
      "StudentId": "bcf5cc07-1bfd-4291-a8e8-f3cb074931c1",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-01-19T13:03:54.1586607+00:00",
      "DateCompleted": "2026-01-19T13:03:54.1586607+00:00",
      "Created": "2026-01-19T13:03:54.1586607+00:00",
      "LastUpdated": "2026-01-19T13:03:54.1586607+00:00"
    },
    {
      "Id": "66de77a4-8bcb-461c-9a77-79d2b5053558",
      "ClassType": 0,
      "TeacherId": "ac4ddc27-2e5e-48ef-be0d-f227fb7da563",
      "StudentId": "bcf5cc07-1bfd-4291-a8e8-f3cb074931c1",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-01-19T13:03:54.1586607+00:00",
      "DateCompleted": "2026-01-19T13:03:54.1586607+00:00",
      "Created": "2026-01-19T13:03:54.1586607+00:00",
      "LastUpdated": "2026-01-19T13:03:54.1586607+00:00"
    }
  ]
}