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": "3da67f77-49c6-4920-bfd8-f803f9415a9c",
      "TeacherId": "bc99bc02-6c88-4e8e-a622-9df0e538e9dd",
      "RegistrationId": "af353c5a-8790-40a5-9019-73d38c6bb6aa",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "b0a20ff6-fc17-46e5-950c-db6fe04c17a5",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "b0a20ff6-fc17-46e5-950c-db6fe04c17a5",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "3da67f77-49c6-4920-bfd8-f803f9415a9c",
      "TeacherId": "bc99bc02-6c88-4e8e-a622-9df0e538e9dd",
      "RegistrationId": "af353c5a-8790-40a5-9019-73d38c6bb6aa",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "b0a20ff6-fc17-46e5-950c-db6fe04c17a5",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "b0a20ff6-fc17-46e5-950c-db6fe04c17a5",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "472f393c-48d2-4381-acb0-d625d95ecfc8",
      "ClassType": 0,
      "TeacherId": "5ba38f86-0255-4c8c-a72c-7a7cc8fe24a1",
      "StudentId": "2dd8b0e1-359a-47bc-aced-1b1626ebdf84",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-07T10:42:42.4646171+00:00",
      "DateCompleted": "2026-03-07T10:42:42.4646171+00:00",
      "Created": "2026-03-07T10:42:42.4646171+00:00",
      "LastUpdated": "2026-03-07T10:42:42.4646171+00:00"
    },
    {
      "Id": "472f393c-48d2-4381-acb0-d625d95ecfc8",
      "ClassType": 0,
      "TeacherId": "5ba38f86-0255-4c8c-a72c-7a7cc8fe24a1",
      "StudentId": "2dd8b0e1-359a-47bc-aced-1b1626ebdf84",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-07T10:42:42.4646171+00:00",
      "DateCompleted": "2026-03-07T10:42:42.4646171+00:00",
      "Created": "2026-03-07T10:42:42.4646171+00:00",
      "LastUpdated": "2026-03-07T10:42:42.4646171+00:00"
    }
  ]
}