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": "6f100365-92c7-471c-95ce-680dad06d78e",
      "TeacherId": "19e5b2c2-17d0-4451-bdae-02bf909925ea",
      "RegistrationId": "91d211ca-1cbb-4ce4-901e-fce3e869a9e3",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "7e1964cf-5adb-44f9-8421-880e91e74f41",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "7e1964cf-5adb-44f9-8421-880e91e74f41",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "6f100365-92c7-471c-95ce-680dad06d78e",
      "TeacherId": "19e5b2c2-17d0-4451-bdae-02bf909925ea",
      "RegistrationId": "91d211ca-1cbb-4ce4-901e-fce3e869a9e3",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "7e1964cf-5adb-44f9-8421-880e91e74f41",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "7e1964cf-5adb-44f9-8421-880e91e74f41",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "1899c46e-3e92-426d-9da6-72d74180c0f3",
      "ClassType": 0,
      "TeacherId": "2fb591e3-a4dc-46b5-bddb-5415d189afe3",
      "StudentId": "bd82c8d3-75e7-40f2-9dce-6ad94f1cc5b9",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-07-09T00:14:35.6667163+00:00",
      "DateCompleted": "2026-07-09T00:14:35.6667163+00:00",
      "Created": "2026-07-09T00:14:35.6667163+00:00",
      "LastUpdated": "2026-07-09T00:14:35.6667163+00:00"
    },
    {
      "Id": "1899c46e-3e92-426d-9da6-72d74180c0f3",
      "ClassType": 0,
      "TeacherId": "2fb591e3-a4dc-46b5-bddb-5415d189afe3",
      "StudentId": "bd82c8d3-75e7-40f2-9dce-6ad94f1cc5b9",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-07-09T00:14:35.6667163+00:00",
      "DateCompleted": "2026-07-09T00:14:35.6667163+00:00",
      "Created": "2026-07-09T00:14:35.6667163+00:00",
      "LastUpdated": "2026-07-09T00:14:35.6667163+00:00"
    }
  ]
}