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": "7d3e171f-7bd1-44e1-a2a6-07f43351eeeb",
      "TeacherId": "24a3c2ae-f3d3-46dd-a843-ef449bb2dd99",
      "RegistrationId": "f0590938-28de-41d8-84a6-855b52e3ec1c",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "1f2609d9-b495-4c0b-aa25-3f5859cf266a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "1f2609d9-b495-4c0b-aa25-3f5859cf266a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "7d3e171f-7bd1-44e1-a2a6-07f43351eeeb",
      "TeacherId": "24a3c2ae-f3d3-46dd-a843-ef449bb2dd99",
      "RegistrationId": "f0590938-28de-41d8-84a6-855b52e3ec1c",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "1f2609d9-b495-4c0b-aa25-3f5859cf266a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "1f2609d9-b495-4c0b-aa25-3f5859cf266a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "dd159b83-180c-4e31-98b8-512e18121663",
      "ClassType": 0,
      "TeacherId": "725362b5-b21a-49db-b19a-748625c0a4cb",
      "StudentId": "aa9af100-67e2-484b-ba4b-f4f9c4fee9cb",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-04-05T20:49:52.9948782+00:00",
      "DateCompleted": "2026-04-05T20:49:52.9948782+00:00",
      "Created": "2026-04-05T20:49:52.9948782+00:00",
      "LastUpdated": "2026-04-05T20:49:52.9948782+00:00"
    },
    {
      "Id": "dd159b83-180c-4e31-98b8-512e18121663",
      "ClassType": 0,
      "TeacherId": "725362b5-b21a-49db-b19a-748625c0a4cb",
      "StudentId": "aa9af100-67e2-484b-ba4b-f4f9c4fee9cb",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-04-05T20:49:52.9948782+00:00",
      "DateCompleted": "2026-04-05T20:49:52.9948782+00:00",
      "Created": "2026-04-05T20:49:52.9948782+00:00",
      "LastUpdated": "2026-04-05T20:49:52.9948782+00:00"
    }
  ]
}