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": "c772bbe0-5e68-4097-9d51-77c5b3302af5",
      "TeacherId": "a272cd20-5167-441a-89e1-923de05845b5",
      "RegistrationId": "ef69743f-a9b3-4070-97be-5b8afc9ad64d",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "e5194abe-f9c5-4886-ac37-87201cf3621d",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "e5194abe-f9c5-4886-ac37-87201cf3621d",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "c772bbe0-5e68-4097-9d51-77c5b3302af5",
      "TeacherId": "a272cd20-5167-441a-89e1-923de05845b5",
      "RegistrationId": "ef69743f-a9b3-4070-97be-5b8afc9ad64d",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "e5194abe-f9c5-4886-ac37-87201cf3621d",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "e5194abe-f9c5-4886-ac37-87201cf3621d",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "2ff82fde-0f2f-4d97-ab6e-5cc64169d39e",
      "ClassType": 0,
      "TeacherId": "fed1211a-8b3b-4502-8847-09ab50d4b550",
      "StudentId": "6f063c34-c7ad-49b7-b1fc-0b3c528462c5",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-05-27T05:58:36.9307422+00:00",
      "DateCompleted": "2026-05-27T05:58:36.9307422+00:00",
      "Created": "2026-05-27T05:58:36.9307422+00:00",
      "LastUpdated": "2026-05-27T05:58:36.9307422+00:00"
    },
    {
      "Id": "2ff82fde-0f2f-4d97-ab6e-5cc64169d39e",
      "ClassType": 0,
      "TeacherId": "fed1211a-8b3b-4502-8847-09ab50d4b550",
      "StudentId": "6f063c34-c7ad-49b7-b1fc-0b3c528462c5",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-05-27T05:58:36.9307422+00:00",
      "DateCompleted": "2026-05-27T05:58:36.9307422+00:00",
      "Created": "2026-05-27T05:58:36.9307422+00:00",
      "LastUpdated": "2026-05-27T05:58:36.9307422+00:00"
    }
  ]
}