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": "d2bcbddd-0a5d-48ae-8dc8-41cd2ec96bfa",
      "TeacherId": "1985b670-4ebf-409c-9a53-812fe906fbd6",
      "RegistrationId": "8775df07-0e76-48e4-a95d-03b102ca6e1e",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "d40b68a0-44a7-4ec6-a0dc-df07cbf63cc6",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "d40b68a0-44a7-4ec6-a0dc-df07cbf63cc6",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "d2bcbddd-0a5d-48ae-8dc8-41cd2ec96bfa",
      "TeacherId": "1985b670-4ebf-409c-9a53-812fe906fbd6",
      "RegistrationId": "8775df07-0e76-48e4-a95d-03b102ca6e1e",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "d40b68a0-44a7-4ec6-a0dc-df07cbf63cc6",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "d40b68a0-44a7-4ec6-a0dc-df07cbf63cc6",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "05d135a3-a207-4265-b08e-b42d8e874922",
      "ClassType": 0,
      "TeacherId": "4265b3ab-a93d-4ae0-80e8-2f818197c695",
      "StudentId": "c8b90251-56af-4e6e-a8f9-bc84a00eaab6",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-05-18T18:24:45.8385945+00:00",
      "DateCompleted": "2026-05-18T18:24:45.8385945+00:00",
      "Created": "2026-05-18T18:24:45.8385945+00:00",
      "LastUpdated": "2026-05-18T18:24:45.8385945+00:00"
    },
    {
      "Id": "05d135a3-a207-4265-b08e-b42d8e874922",
      "ClassType": 0,
      "TeacherId": "4265b3ab-a93d-4ae0-80e8-2f818197c695",
      "StudentId": "c8b90251-56af-4e6e-a8f9-bc84a00eaab6",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-05-18T18:24:45.8385945+00:00",
      "DateCompleted": "2026-05-18T18:24:45.8385945+00:00",
      "Created": "2026-05-18T18:24:45.8385945+00:00",
      "LastUpdated": "2026-05-18T18:24:45.8385945+00:00"
    }
  ]
}