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": "12d90720-211e-40c7-92ec-77b49c9eb54a",
      "TeacherId": "b98f9c46-c697-4079-8355-2625f1cc72c9",
      "RegistrationId": "f8eaeabc-606f-4217-a3da-4bf8f168f4f7",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "3d7606c3-52f2-486a-b370-e9d332c5d0a4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "3d7606c3-52f2-486a-b370-e9d332c5d0a4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "12d90720-211e-40c7-92ec-77b49c9eb54a",
      "TeacherId": "b98f9c46-c697-4079-8355-2625f1cc72c9",
      "RegistrationId": "f8eaeabc-606f-4217-a3da-4bf8f168f4f7",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "3d7606c3-52f2-486a-b370-e9d332c5d0a4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "3d7606c3-52f2-486a-b370-e9d332c5d0a4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "aff192d0-85ed-4c12-b951-ea4133cea3d6",
      "ClassType": 0,
      "TeacherId": "72dc0634-1b93-4569-a378-4bbcd279d534",
      "StudentId": "27c1965f-c293-4cbc-a097-dffe636b2969",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-09-05T02:42:10.0895414+00:00",
      "DateCompleted": "2026-09-05T02:42:10.0895414+00:00",
      "Created": "2026-09-05T02:42:10.0895414+00:00",
      "LastUpdated": "2026-09-05T02:42:10.0895414+00:00"
    },
    {
      "Id": "aff192d0-85ed-4c12-b951-ea4133cea3d6",
      "ClassType": 0,
      "TeacherId": "72dc0634-1b93-4569-a378-4bbcd279d534",
      "StudentId": "27c1965f-c293-4cbc-a097-dffe636b2969",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-09-05T02:42:10.0895414+00:00",
      "DateCompleted": "2026-09-05T02:42:10.0895414+00:00",
      "Created": "2026-09-05T02:42:10.0895414+00:00",
      "LastUpdated": "2026-09-05T02:42:10.0895414+00:00"
    }
  ]
}