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": "054aca35-b223-421f-b119-31cf7cd393ca",
      "TeacherId": "e315d9f0-cc34-4db4-8bc6-e934a361ace3",
      "RegistrationId": "bc67acad-8338-4a1b-bfb2-d787d755881f",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "31f9d6f3-7874-4957-8aef-b7c06aededd9",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "31f9d6f3-7874-4957-8aef-b7c06aededd9",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "054aca35-b223-421f-b119-31cf7cd393ca",
      "TeacherId": "e315d9f0-cc34-4db4-8bc6-e934a361ace3",
      "RegistrationId": "bc67acad-8338-4a1b-bfb2-d787d755881f",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "31f9d6f3-7874-4957-8aef-b7c06aededd9",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "31f9d6f3-7874-4957-8aef-b7c06aededd9",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "86fd2e11-1830-4340-b3cf-ec578e4b575b",
      "ClassType": 0,
      "TeacherId": "4bd884ed-088c-4586-9701-28858e63afe5",
      "StudentId": "16478615-8944-4cfc-907e-5ae0279a1888",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-04-27T04:34:03.2460569+00:00",
      "DateCompleted": "2026-04-27T04:34:03.2460569+00:00",
      "Created": "2026-04-27T04:34:03.2460569+00:00",
      "LastUpdated": "2026-04-27T04:34:03.2460569+00:00"
    },
    {
      "Id": "86fd2e11-1830-4340-b3cf-ec578e4b575b",
      "ClassType": 0,
      "TeacherId": "4bd884ed-088c-4586-9701-28858e63afe5",
      "StudentId": "16478615-8944-4cfc-907e-5ae0279a1888",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-04-27T04:34:03.2460569+00:00",
      "DateCompleted": "2026-04-27T04:34:03.2460569+00:00",
      "Created": "2026-04-27T04:34:03.2460569+00:00",
      "LastUpdated": "2026-04-27T04:34:03.2460569+00:00"
    }
  ]
}