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": "fc544e78-2882-4200-8a35-efa756c8df41",
      "TeacherId": "7c105f24-179c-4ab7-a32c-bf4a8544714c",
      "RegistrationId": "337ef29e-5ac9-4040-9ed0-9c41a3a94546",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "947d8c9f-4bd7-470b-a0bb-f33cfc24ca28",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "947d8c9f-4bd7-470b-a0bb-f33cfc24ca28",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "fc544e78-2882-4200-8a35-efa756c8df41",
      "TeacherId": "7c105f24-179c-4ab7-a32c-bf4a8544714c",
      "RegistrationId": "337ef29e-5ac9-4040-9ed0-9c41a3a94546",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "947d8c9f-4bd7-470b-a0bb-f33cfc24ca28",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "947d8c9f-4bd7-470b-a0bb-f33cfc24ca28",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "1bde5d2a-5f86-499e-a58d-17124cde22d7",
      "ClassType": 0,
      "TeacherId": "dd8d44f1-b3fd-4b37-947e-e53bf79c94e2",
      "StudentId": "4f8325f2-b45e-4440-8da2-0756f8244ec8",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-02-09T16:16:01.5383204+00:00",
      "DateCompleted": "2026-02-09T16:16:01.5383204+00:00",
      "Created": "2026-02-09T16:16:01.5383204+00:00",
      "LastUpdated": "2026-02-09T16:16:01.5383204+00:00"
    },
    {
      "Id": "1bde5d2a-5f86-499e-a58d-17124cde22d7",
      "ClassType": 0,
      "TeacherId": "dd8d44f1-b3fd-4b37-947e-e53bf79c94e2",
      "StudentId": "4f8325f2-b45e-4440-8da2-0756f8244ec8",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-02-09T16:16:01.5383204+00:00",
      "DateCompleted": "2026-02-09T16:16:01.5383204+00:00",
      "Created": "2026-02-09T16:16:01.5383204+00:00",
      "LastUpdated": "2026-02-09T16:16:01.5383204+00:00"
    }
  ]
}