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": "68ad9ab2-1a79-42f8-84f8-2e666261af74",
      "TeacherId": "780f43fc-876c-4563-8a49-92ffec2c68dc",
      "RegistrationId": "04bcfaa9-33d0-4a36-a0b6-9efd6596ffd6",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "8ba487b9-155c-40a8-887d-0ffe2f92bf4a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "8ba487b9-155c-40a8-887d-0ffe2f92bf4a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "68ad9ab2-1a79-42f8-84f8-2e666261af74",
      "TeacherId": "780f43fc-876c-4563-8a49-92ffec2c68dc",
      "RegistrationId": "04bcfaa9-33d0-4a36-a0b6-9efd6596ffd6",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "8ba487b9-155c-40a8-887d-0ffe2f92bf4a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "8ba487b9-155c-40a8-887d-0ffe2f92bf4a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "21af5105-8c2d-4245-8be8-32b7e5fe1464",
      "ClassType": 0,
      "TeacherId": "61328745-219c-4e22-a143-e6c78c2a9d13",
      "StudentId": "04e85a24-819d-4dfe-8395-d344d9e4b242",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-12-13T21:07:38.4831889+00:00",
      "DateCompleted": "2025-12-13T21:07:38.4831889+00:00",
      "Created": "2025-12-13T21:07:38.4831889+00:00",
      "LastUpdated": "2025-12-13T21:07:38.4831889+00:00"
    },
    {
      "Id": "21af5105-8c2d-4245-8be8-32b7e5fe1464",
      "ClassType": 0,
      "TeacherId": "61328745-219c-4e22-a143-e6c78c2a9d13",
      "StudentId": "04e85a24-819d-4dfe-8395-d344d9e4b242",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-12-13T21:07:38.4831889+00:00",
      "DateCompleted": "2025-12-13T21:07:38.4831889+00:00",
      "Created": "2025-12-13T21:07:38.4831889+00:00",
      "LastUpdated": "2025-12-13T21:07:38.4831889+00:00"
    }
  ]
}