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": "82429e3e-78f5-4414-85b2-b290d9b5cf1d",
      "TeacherId": "7c320960-17be-4596-bb0e-1b550f2832fa",
      "RegistrationId": "5e35cd08-34f5-41a8-9f53-776fec94c2aa",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "1776cbb2-2082-4452-950c-1b6cd6071369",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "1776cbb2-2082-4452-950c-1b6cd6071369",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "82429e3e-78f5-4414-85b2-b290d9b5cf1d",
      "TeacherId": "7c320960-17be-4596-bb0e-1b550f2832fa",
      "RegistrationId": "5e35cd08-34f5-41a8-9f53-776fec94c2aa",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "1776cbb2-2082-4452-950c-1b6cd6071369",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "1776cbb2-2082-4452-950c-1b6cd6071369",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "89240435-2c16-4eed-aa4e-12919b2dd24d",
      "ClassType": 0,
      "TeacherId": "320275e8-5b64-4788-8818-5ff14f8aa48b",
      "StudentId": "99a7ce38-53a8-4e35-b1c6-d419a534e9b5",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-05-19T18:44:43.3073767+00:00",
      "DateCompleted": "2026-05-19T18:44:43.3073767+00:00",
      "Created": "2026-05-19T18:44:43.3073767+00:00",
      "LastUpdated": "2026-05-19T18:44:43.3073767+00:00"
    },
    {
      "Id": "89240435-2c16-4eed-aa4e-12919b2dd24d",
      "ClassType": 0,
      "TeacherId": "320275e8-5b64-4788-8818-5ff14f8aa48b",
      "StudentId": "99a7ce38-53a8-4e35-b1c6-d419a534e9b5",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-05-19T18:44:43.3073767+00:00",
      "DateCompleted": "2026-05-19T18:44:43.3073767+00:00",
      "Created": "2026-05-19T18:44:43.3073767+00:00",
      "LastUpdated": "2026-05-19T18:44:43.3073767+00:00"
    }
  ]
}