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": "8c5dde26-931e-4ca8-8476-a22adea15d91",
      "TeacherId": "02c72ea2-0e1a-4bd1-9c41-38ebd4b3c63d",
      "RegistrationId": "95c80840-0e7f-4795-be8d-532ec6ebfa5a",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "bbbeab5c-1a55-405a-a747-654150be78fa",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "bbbeab5c-1a55-405a-a747-654150be78fa",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "8c5dde26-931e-4ca8-8476-a22adea15d91",
      "TeacherId": "02c72ea2-0e1a-4bd1-9c41-38ebd4b3c63d",
      "RegistrationId": "95c80840-0e7f-4795-be8d-532ec6ebfa5a",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "bbbeab5c-1a55-405a-a747-654150be78fa",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "bbbeab5c-1a55-405a-a747-654150be78fa",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "1b19d75e-199d-4a61-96e3-a6059304314e",
      "ClassType": 0,
      "TeacherId": "f534e953-47ad-4d8b-b670-f65b8d86d102",
      "StudentId": "8c5c0e41-9fcd-40de-a855-6292fac81ec8",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-01-10T06:24:08.1857997+00:00",
      "DateCompleted": "2026-01-10T06:24:08.1857997+00:00",
      "Created": "2026-01-10T06:24:08.1857997+00:00",
      "LastUpdated": "2026-01-10T06:24:08.1857997+00:00"
    },
    {
      "Id": "1b19d75e-199d-4a61-96e3-a6059304314e",
      "ClassType": 0,
      "TeacherId": "f534e953-47ad-4d8b-b670-f65b8d86d102",
      "StudentId": "8c5c0e41-9fcd-40de-a855-6292fac81ec8",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-01-10T06:24:08.1857997+00:00",
      "DateCompleted": "2026-01-10T06:24:08.1857997+00:00",
      "Created": "2026-01-10T06:24:08.1857997+00:00",
      "LastUpdated": "2026-01-10T06:24:08.1857997+00:00"
    }
  ]
}