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": "6ef1ef04-5855-413f-a58b-af0991a6e99a",
      "TeacherId": "230e990f-e0d6-4124-b8c1-5f7517bc04a1",
      "RegistrationId": "492b7dce-deb9-4940-b9dd-9aeba4b1bd95",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "7ac24faf-6a57-49d7-bff6-893afc7d2754",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "7ac24faf-6a57-49d7-bff6-893afc7d2754",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "6ef1ef04-5855-413f-a58b-af0991a6e99a",
      "TeacherId": "230e990f-e0d6-4124-b8c1-5f7517bc04a1",
      "RegistrationId": "492b7dce-deb9-4940-b9dd-9aeba4b1bd95",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "7ac24faf-6a57-49d7-bff6-893afc7d2754",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "7ac24faf-6a57-49d7-bff6-893afc7d2754",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "ace8aed4-0224-4cbe-8e36-d70e87f4ff68",
      "ClassType": 0,
      "TeacherId": "ad9fd19d-1cd3-4fbf-a65b-f2a3f90e4181",
      "StudentId": "2951a091-b649-42ff-91d7-23d95babff58",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-12-10T03:24:42.0551125+00:00",
      "DateCompleted": "2025-12-10T03:24:42.0551125+00:00",
      "Created": "2025-12-10T03:24:42.0551125+00:00",
      "LastUpdated": "2025-12-10T03:24:42.0551125+00:00"
    },
    {
      "Id": "ace8aed4-0224-4cbe-8e36-d70e87f4ff68",
      "ClassType": 0,
      "TeacherId": "ad9fd19d-1cd3-4fbf-a65b-f2a3f90e4181",
      "StudentId": "2951a091-b649-42ff-91d7-23d95babff58",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-12-10T03:24:42.0551125+00:00",
      "DateCompleted": "2025-12-10T03:24:42.0551125+00:00",
      "Created": "2025-12-10T03:24:42.0551125+00:00",
      "LastUpdated": "2025-12-10T03:24:42.0551125+00:00"
    }
  ]
}