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": "442b4199-53b9-4176-96e2-3ab0f169e919",
      "TeacherId": "e0c3499f-ba02-41ae-8c97-3d111f4eaa91",
      "RegistrationId": "5ba866ca-f8dc-4972-b3c8-5a78830e56e4",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "f1cc3d78-db2f-4310-96de-4bdffbd6d931",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "f1cc3d78-db2f-4310-96de-4bdffbd6d931",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "442b4199-53b9-4176-96e2-3ab0f169e919",
      "TeacherId": "e0c3499f-ba02-41ae-8c97-3d111f4eaa91",
      "RegistrationId": "5ba866ca-f8dc-4972-b3c8-5a78830e56e4",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "f1cc3d78-db2f-4310-96de-4bdffbd6d931",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "f1cc3d78-db2f-4310-96de-4bdffbd6d931",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "a6e587e4-0163-41f2-9050-37b6dff596b6",
      "ClassType": 0,
      "TeacherId": "f2b1ad62-274e-48b3-82ef-f82456efc5f7",
      "StudentId": "6a7c2455-71e9-4100-bdfc-44e5b549556b",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-02-07T10:14:24.0947401+00:00",
      "DateCompleted": "2026-02-07T10:14:24.0947401+00:00",
      "Created": "2026-02-07T10:14:24.0947401+00:00",
      "LastUpdated": "2026-02-07T10:14:24.0947401+00:00"
    },
    {
      "Id": "a6e587e4-0163-41f2-9050-37b6dff596b6",
      "ClassType": 0,
      "TeacherId": "f2b1ad62-274e-48b3-82ef-f82456efc5f7",
      "StudentId": "6a7c2455-71e9-4100-bdfc-44e5b549556b",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-02-07T10:14:24.0947401+00:00",
      "DateCompleted": "2026-02-07T10:14:24.0947401+00:00",
      "Created": "2026-02-07T10:14:24.0947401+00:00",
      "LastUpdated": "2026-02-07T10:14:24.0947401+00:00"
    }
  ]
}