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": "999d5351-d14d-4de5-a1ce-05195313b114",
      "TeacherId": "95b7cb8f-22ab-4db4-9464-76a6a1961291",
      "RegistrationId": "697e1525-9c3b-42bb-b71e-0e58566d7abb",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "134ee6f3-8331-4cc1-b9b6-0b2e0d539b50",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "134ee6f3-8331-4cc1-b9b6-0b2e0d539b50",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "999d5351-d14d-4de5-a1ce-05195313b114",
      "TeacherId": "95b7cb8f-22ab-4db4-9464-76a6a1961291",
      "RegistrationId": "697e1525-9c3b-42bb-b71e-0e58566d7abb",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "134ee6f3-8331-4cc1-b9b6-0b2e0d539b50",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "134ee6f3-8331-4cc1-b9b6-0b2e0d539b50",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "6175b8c7-2cae-47f0-8152-6e0d5a4bf970",
      "ClassType": 0,
      "TeacherId": "5616d2a7-e56e-44a8-af00-0c7b962ac793",
      "StudentId": "9b13caa9-e53a-4959-ba43-76750e84a6b0",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-01-28T08:12:33.9775692+00:00",
      "DateCompleted": "2026-01-28T08:12:33.9775692+00:00",
      "Created": "2026-01-28T08:12:33.9775692+00:00",
      "LastUpdated": "2026-01-28T08:12:33.9775692+00:00"
    },
    {
      "Id": "6175b8c7-2cae-47f0-8152-6e0d5a4bf970",
      "ClassType": 0,
      "TeacherId": "5616d2a7-e56e-44a8-af00-0c7b962ac793",
      "StudentId": "9b13caa9-e53a-4959-ba43-76750e84a6b0",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-01-28T08:12:33.9775692+00:00",
      "DateCompleted": "2026-01-28T08:12:33.9775692+00:00",
      "Created": "2026-01-28T08:12:33.9775692+00:00",
      "LastUpdated": "2026-01-28T08:12:33.9775692+00:00"
    }
  ]
}