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": "61abdb71-bbe9-469b-9d1d-45b308214923",
      "TeacherId": "de0bc8df-db16-443a-b187-57e0f494558a",
      "RegistrationId": "aab2b26c-fdfe-4792-a54c-1f10513bb6d7",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "54431545-d820-4878-bbb1-135fd3115ad4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "54431545-d820-4878-bbb1-135fd3115ad4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "61abdb71-bbe9-469b-9d1d-45b308214923",
      "TeacherId": "de0bc8df-db16-443a-b187-57e0f494558a",
      "RegistrationId": "aab2b26c-fdfe-4792-a54c-1f10513bb6d7",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "54431545-d820-4878-bbb1-135fd3115ad4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "54431545-d820-4878-bbb1-135fd3115ad4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "983bd4a8-f56a-4cba-b2e5-d4100eaf2c50",
      "ClassType": 0,
      "TeacherId": "bb22358b-52f8-4c75-af79-9aefc70c457a",
      "StudentId": "9eed5b23-32ec-4514-98a1-c48fea8f132f",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-10-11T12:00:11.1913675+00:00",
      "DateCompleted": "2026-10-11T12:00:11.1913675+00:00",
      "Created": "2026-10-11T12:00:11.1913675+00:00",
      "LastUpdated": "2026-10-11T12:00:11.1913675+00:00"
    },
    {
      "Id": "983bd4a8-f56a-4cba-b2e5-d4100eaf2c50",
      "ClassType": 0,
      "TeacherId": "bb22358b-52f8-4c75-af79-9aefc70c457a",
      "StudentId": "9eed5b23-32ec-4514-98a1-c48fea8f132f",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-10-11T12:00:11.1913675+00:00",
      "DateCompleted": "2026-10-11T12:00:11.1913675+00:00",
      "Created": "2026-10-11T12:00:11.1913675+00:00",
      "LastUpdated": "2026-10-11T12:00:11.1913675+00:00"
    }
  ]
}