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": "59c6b347-1e63-4f3f-abf3-a4520462bff2",
      "TeacherId": "3a8ee39c-3a6f-41fa-b36e-640b737029a5",
      "RegistrationId": "0e6222ec-0abe-42eb-a1e4-49a9d432253b",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "538f3300-2d60-421a-bb96-ea2c7c22d2b1",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "538f3300-2d60-421a-bb96-ea2c7c22d2b1",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "59c6b347-1e63-4f3f-abf3-a4520462bff2",
      "TeacherId": "3a8ee39c-3a6f-41fa-b36e-640b737029a5",
      "RegistrationId": "0e6222ec-0abe-42eb-a1e4-49a9d432253b",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "538f3300-2d60-421a-bb96-ea2c7c22d2b1",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "538f3300-2d60-421a-bb96-ea2c7c22d2b1",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "02843147-1123-4252-b94b-7b628978a1a9",
      "ClassType": 0,
      "TeacherId": "df984b9d-e72c-47b9-8479-e15b479548f9",
      "StudentId": "aec5c643-6444-41cf-8178-f181c63ae2c6",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-07-16T08:25:25.0673932+00:00",
      "DateCompleted": "2026-07-16T08:25:25.0673932+00:00",
      "Created": "2026-07-16T08:25:25.0673932+00:00",
      "LastUpdated": "2026-07-16T08:25:25.0673932+00:00"
    },
    {
      "Id": "02843147-1123-4252-b94b-7b628978a1a9",
      "ClassType": 0,
      "TeacherId": "df984b9d-e72c-47b9-8479-e15b479548f9",
      "StudentId": "aec5c643-6444-41cf-8178-f181c63ae2c6",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-07-16T08:25:25.0673932+00:00",
      "DateCompleted": "2026-07-16T08:25:25.0673932+00:00",
      "Created": "2026-07-16T08:25:25.0673932+00:00",
      "LastUpdated": "2026-07-16T08:25:25.0673932+00:00"
    }
  ]
}