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": "d64506e4-738e-4481-a687-ddb50ffd1fd2",
      "TeacherId": "51387e25-cc69-42d4-93ab-6c67311b69df",
      "RegistrationId": "9226facf-65cf-41ff-920f-c94bd21105e3",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "f87a1a91-f571-455b-8952-df140cfb4a10",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "f87a1a91-f571-455b-8952-df140cfb4a10",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "d64506e4-738e-4481-a687-ddb50ffd1fd2",
      "TeacherId": "51387e25-cc69-42d4-93ab-6c67311b69df",
      "RegistrationId": "9226facf-65cf-41ff-920f-c94bd21105e3",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "f87a1a91-f571-455b-8952-df140cfb4a10",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "f87a1a91-f571-455b-8952-df140cfb4a10",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "0f156339-ad5c-4f76-a180-488800b95ac2",
      "ClassType": 0,
      "TeacherId": "99643edf-c904-449f-a64c-afec52dd788d",
      "StudentId": "dfaadb21-8aa9-4be1-b0e0-23ae6d483c96",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-01-30T05:12:44.3306791+00:00",
      "DateCompleted": "2026-01-30T05:12:44.3306791+00:00",
      "Created": "2026-01-30T05:12:44.3306791+00:00",
      "LastUpdated": "2026-01-30T05:12:44.3306791+00:00"
    },
    {
      "Id": "0f156339-ad5c-4f76-a180-488800b95ac2",
      "ClassType": 0,
      "TeacherId": "99643edf-c904-449f-a64c-afec52dd788d",
      "StudentId": "dfaadb21-8aa9-4be1-b0e0-23ae6d483c96",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-01-30T05:12:44.3306791+00:00",
      "DateCompleted": "2026-01-30T05:12:44.3306791+00:00",
      "Created": "2026-01-30T05:12:44.3306791+00:00",
      "LastUpdated": "2026-01-30T05:12:44.3306791+00:00"
    }
  ]
}