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": "18b478b6-144b-4fbc-8a70-56de99e67be9",
      "TeacherId": "d24a6e07-1017-4b9c-bceb-c5b2f2d27ec6",
      "RegistrationId": "a74dc5bb-a0f1-40c1-b38f-8c543f681e4b",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "3ce0625f-622c-45d9-84fb-173f8a26180c",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "3ce0625f-622c-45d9-84fb-173f8a26180c",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "18b478b6-144b-4fbc-8a70-56de99e67be9",
      "TeacherId": "d24a6e07-1017-4b9c-bceb-c5b2f2d27ec6",
      "RegistrationId": "a74dc5bb-a0f1-40c1-b38f-8c543f681e4b",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "3ce0625f-622c-45d9-84fb-173f8a26180c",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "3ce0625f-622c-45d9-84fb-173f8a26180c",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "6490f020-04aa-424d-8ff7-1dfebd5b15f2",
      "ClassType": 0,
      "TeacherId": "ca01acc6-95fd-44c7-b8c6-de5f0b525050",
      "StudentId": "33287073-f703-451b-bda4-1f44a195f9d6",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-09-07T03:34:49.807133+00:00",
      "DateCompleted": "2026-09-07T03:34:49.807133+00:00",
      "Created": "2026-09-07T03:34:49.807133+00:00",
      "LastUpdated": "2026-09-07T03:34:49.807133+00:00"
    },
    {
      "Id": "6490f020-04aa-424d-8ff7-1dfebd5b15f2",
      "ClassType": 0,
      "TeacherId": "ca01acc6-95fd-44c7-b8c6-de5f0b525050",
      "StudentId": "33287073-f703-451b-bda4-1f44a195f9d6",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-09-07T03:34:49.807133+00:00",
      "DateCompleted": "2026-09-07T03:34:49.807133+00:00",
      "Created": "2026-09-07T03:34:49.807133+00:00",
      "LastUpdated": "2026-09-07T03:34:49.807133+00:00"
    }
  ]
}