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": "416b1808-c4f1-4428-8b80-f461b9524561",
      "TeacherId": "bcb8fcfe-1560-4920-8d0a-60742ecf9733",
      "RegistrationId": "a23e8fbb-c198-44e9-bfa3-f0ead4ffeeec",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "a7c82433-2185-4a09-bc9a-d72c43ac825e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "a7c82433-2185-4a09-bc9a-d72c43ac825e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "416b1808-c4f1-4428-8b80-f461b9524561",
      "TeacherId": "bcb8fcfe-1560-4920-8d0a-60742ecf9733",
      "RegistrationId": "a23e8fbb-c198-44e9-bfa3-f0ead4ffeeec",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "a7c82433-2185-4a09-bc9a-d72c43ac825e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "a7c82433-2185-4a09-bc9a-d72c43ac825e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "127f8533-5c9f-4fca-bfc5-07c04c0a5b11",
      "ClassType": 0,
      "TeacherId": "8d8f0806-2d14-4fbf-b517-7791ccd2fa12",
      "StudentId": "154659d8-a1d6-425c-baa1-48024ec37ceb",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-10-08T14:00:12.6850315+00:00",
      "DateCompleted": "2026-10-08T14:00:12.6850315+00:00",
      "Created": "2026-10-08T14:00:12.6850315+00:00",
      "LastUpdated": "2026-10-08T14:00:12.6850315+00:00"
    },
    {
      "Id": "127f8533-5c9f-4fca-bfc5-07c04c0a5b11",
      "ClassType": 0,
      "TeacherId": "8d8f0806-2d14-4fbf-b517-7791ccd2fa12",
      "StudentId": "154659d8-a1d6-425c-baa1-48024ec37ceb",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-10-08T14:00:12.6850315+00:00",
      "DateCompleted": "2026-10-08T14:00:12.6850315+00:00",
      "Created": "2026-10-08T14:00:12.6850315+00:00",
      "LastUpdated": "2026-10-08T14:00:12.6850315+00:00"
    }
  ]
}