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": "dd2434aa-b630-49eb-82d8-11d14822bc31",
      "TeacherId": "38b8ac4e-37d3-4741-8d96-22bfd8c31b1d",
      "RegistrationId": "6b2c6a12-d6d8-4bcf-b6ed-fee30d2e3ffb",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "90a49618-cdb0-4a7b-81b4-37c198796d81",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "90a49618-cdb0-4a7b-81b4-37c198796d81",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "dd2434aa-b630-49eb-82d8-11d14822bc31",
      "TeacherId": "38b8ac4e-37d3-4741-8d96-22bfd8c31b1d",
      "RegistrationId": "6b2c6a12-d6d8-4bcf-b6ed-fee30d2e3ffb",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "90a49618-cdb0-4a7b-81b4-37c198796d81",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "90a49618-cdb0-4a7b-81b4-37c198796d81",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "d7f4e03a-6c08-47b4-9831-05f365c8d963",
      "ClassType": 0,
      "TeacherId": "c4232204-3cfd-45cd-b109-0f06986e9351",
      "StudentId": "177fd91f-f864-4773-ad7b-1ad952020aa8",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-02-19T13:07:33.196405+00:00",
      "DateCompleted": "2026-02-19T13:07:33.196405+00:00",
      "Created": "2026-02-19T13:07:33.196405+00:00",
      "LastUpdated": "2026-02-19T13:07:33.196405+00:00"
    },
    {
      "Id": "d7f4e03a-6c08-47b4-9831-05f365c8d963",
      "ClassType": 0,
      "TeacherId": "c4232204-3cfd-45cd-b109-0f06986e9351",
      "StudentId": "177fd91f-f864-4773-ad7b-1ad952020aa8",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-02-19T13:07:33.196405+00:00",
      "DateCompleted": "2026-02-19T13:07:33.196405+00:00",
      "Created": "2026-02-19T13:07:33.196405+00:00",
      "LastUpdated": "2026-02-19T13:07:33.196405+00:00"
    }
  ]
}