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": "aececebc-301d-4eb7-84df-dfc3b679bd12",
      "TeacherId": "6c9e5158-e69d-47a6-8b01-e1123b7ff521",
      "RegistrationId": "614b0785-2719-4c22-a811-c7a64301a35e",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "ac4c033d-d02e-484c-9bf8-cd07680acbd7",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "ac4c033d-d02e-484c-9bf8-cd07680acbd7",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "aececebc-301d-4eb7-84df-dfc3b679bd12",
      "TeacherId": "6c9e5158-e69d-47a6-8b01-e1123b7ff521",
      "RegistrationId": "614b0785-2719-4c22-a811-c7a64301a35e",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "ac4c033d-d02e-484c-9bf8-cd07680acbd7",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "ac4c033d-d02e-484c-9bf8-cd07680acbd7",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "6465c372-c5cc-43a1-9505-30603ecc2d2e",
      "ClassType": 0,
      "TeacherId": "991190e3-6623-40bc-b7fd-db24de1ed0b5",
      "StudentId": "bb8bd68a-c85b-4279-8cc9-9faf2325a6fc",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-10-28T07:58:29.2293036+00:00",
      "DateCompleted": "2026-10-28T07:58:29.2293036+00:00",
      "Created": "2026-10-28T07:58:29.2293036+00:00",
      "LastUpdated": "2026-10-28T07:58:29.2293036+00:00"
    },
    {
      "Id": "6465c372-c5cc-43a1-9505-30603ecc2d2e",
      "ClassType": 0,
      "TeacherId": "991190e3-6623-40bc-b7fd-db24de1ed0b5",
      "StudentId": "bb8bd68a-c85b-4279-8cc9-9faf2325a6fc",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-10-28T07:58:29.2293036+00:00",
      "DateCompleted": "2026-10-28T07:58:29.2293036+00:00",
      "Created": "2026-10-28T07:58:29.2293036+00:00",
      "LastUpdated": "2026-10-28T07:58:29.2293036+00:00"
    }
  ]
}