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": "182ba6de-e765-41bd-a26e-804b3825443c",
      "TeacherId": "e4a6d133-f1b7-4921-a3f5-93eef9e7fb41",
      "RegistrationId": "8a6cecaa-a148-45bf-91c1-8a958c1bd521",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "60844255-f612-44d5-9b30-d124e8a8c68a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "60844255-f612-44d5-9b30-d124e8a8c68a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "182ba6de-e765-41bd-a26e-804b3825443c",
      "TeacherId": "e4a6d133-f1b7-4921-a3f5-93eef9e7fb41",
      "RegistrationId": "8a6cecaa-a148-45bf-91c1-8a958c1bd521",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "60844255-f612-44d5-9b30-d124e8a8c68a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "60844255-f612-44d5-9b30-d124e8a8c68a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "caaae7a9-9ffe-4de2-989b-85f3ad91b5dd",
      "ClassType": 0,
      "TeacherId": "4253b68d-b2c7-4f9a-99c6-db170c9e8757",
      "StudentId": "e7f21ab1-bf42-4c18-aa4f-789857eff21c",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-08-22T08:43:43.7984058+00:00",
      "DateCompleted": "2026-08-22T08:43:43.7984058+00:00",
      "Created": "2026-08-22T08:43:43.7984058+00:00",
      "LastUpdated": "2026-08-22T08:43:43.7984058+00:00"
    },
    {
      "Id": "caaae7a9-9ffe-4de2-989b-85f3ad91b5dd",
      "ClassType": 0,
      "TeacherId": "4253b68d-b2c7-4f9a-99c6-db170c9e8757",
      "StudentId": "e7f21ab1-bf42-4c18-aa4f-789857eff21c",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-08-22T08:43:43.7984058+00:00",
      "DateCompleted": "2026-08-22T08:43:43.7984058+00:00",
      "Created": "2026-08-22T08:43:43.7984058+00:00",
      "LastUpdated": "2026-08-22T08:43:43.7984058+00:00"
    }
  ]
}