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": "e0d19df5-4505-42eb-ab44-44311df67a05",
      "TeacherId": "b63a1349-8373-482b-9ed2-fffe89d32c3b",
      "RegistrationId": "8e08828b-5092-4e63-a36b-a4fe53dfc75c",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "1fb3759e-f269-4716-a59e-65aa86a2a169",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "1fb3759e-f269-4716-a59e-65aa86a2a169",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "e0d19df5-4505-42eb-ab44-44311df67a05",
      "TeacherId": "b63a1349-8373-482b-9ed2-fffe89d32c3b",
      "RegistrationId": "8e08828b-5092-4e63-a36b-a4fe53dfc75c",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "1fb3759e-f269-4716-a59e-65aa86a2a169",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "1fb3759e-f269-4716-a59e-65aa86a2a169",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "e88f8cfd-aa34-4835-982f-9d6d6b3752b5",
      "ClassType": 0,
      "TeacherId": "80ebe323-b616-439b-887e-76d9a8f3cc77",
      "StudentId": "924be9e0-e6cd-481e-bc54-2139834ec302",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-06-04T21:28:10.7160375+00:00",
      "DateCompleted": "2026-06-04T21:28:10.7160375+00:00",
      "Created": "2026-06-04T21:28:10.7160375+00:00",
      "LastUpdated": "2026-06-04T21:28:10.7160375+00:00"
    },
    {
      "Id": "e88f8cfd-aa34-4835-982f-9d6d6b3752b5",
      "ClassType": 0,
      "TeacherId": "80ebe323-b616-439b-887e-76d9a8f3cc77",
      "StudentId": "924be9e0-e6cd-481e-bc54-2139834ec302",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-06-04T21:28:10.7160375+00:00",
      "DateCompleted": "2026-06-04T21:28:10.7160375+00:00",
      "Created": "2026-06-04T21:28:10.7160375+00:00",
      "LastUpdated": "2026-06-04T21:28:10.7160375+00:00"
    }
  ]
}