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": "8b5268c7-3efb-4905-9293-82a6ceeb7792",
      "TeacherId": "a0685b07-5034-484e-aee0-d3fba370735c",
      "RegistrationId": "93af4ada-97af-45b1-a24b-733d91bc6f7d",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "b139be55-0d6e-44ef-908d-d7075723bed4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "b139be55-0d6e-44ef-908d-d7075723bed4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "8b5268c7-3efb-4905-9293-82a6ceeb7792",
      "TeacherId": "a0685b07-5034-484e-aee0-d3fba370735c",
      "RegistrationId": "93af4ada-97af-45b1-a24b-733d91bc6f7d",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "b139be55-0d6e-44ef-908d-d7075723bed4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "b139be55-0d6e-44ef-908d-d7075723bed4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "12b44406-8e57-4119-bc15-1fd9715febbf",
      "ClassType": 0,
      "TeacherId": "b0d815ae-337b-42c1-8e88-4d7828db5825",
      "StudentId": "ca08fbea-d4ee-4da2-94db-24ad4a09c31f",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-01-14T14:17:22.4850129+00:00",
      "DateCompleted": "2026-01-14T14:17:22.4850129+00:00",
      "Created": "2026-01-14T14:17:22.4850129+00:00",
      "LastUpdated": "2026-01-14T14:17:22.4850129+00:00"
    },
    {
      "Id": "12b44406-8e57-4119-bc15-1fd9715febbf",
      "ClassType": 0,
      "TeacherId": "b0d815ae-337b-42c1-8e88-4d7828db5825",
      "StudentId": "ca08fbea-d4ee-4da2-94db-24ad4a09c31f",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-01-14T14:17:22.4850129+00:00",
      "DateCompleted": "2026-01-14T14:17:22.4850129+00:00",
      "Created": "2026-01-14T14:17:22.4850129+00:00",
      "LastUpdated": "2026-01-14T14:17:22.4850129+00:00"
    }
  ]
}