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": "989181da-7dd1-4bc8-adb2-d104bb0258e9",
      "TeacherId": "20f65d43-b199-465f-af0b-9e1865d89f26",
      "RegistrationId": "57f2f1ab-9070-41fc-b3cf-84e66d3d0777",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "b5dd2e9e-287d-4dbf-9210-233453103081",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "b5dd2e9e-287d-4dbf-9210-233453103081",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "989181da-7dd1-4bc8-adb2-d104bb0258e9",
      "TeacherId": "20f65d43-b199-465f-af0b-9e1865d89f26",
      "RegistrationId": "57f2f1ab-9070-41fc-b3cf-84e66d3d0777",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "b5dd2e9e-287d-4dbf-9210-233453103081",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "b5dd2e9e-287d-4dbf-9210-233453103081",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "bf9b31d2-c1eb-4ba8-b02b-61481769fe8a",
      "ClassType": 0,
      "TeacherId": "f8f63ed6-cc8a-436c-9366-47dd02e558ef",
      "StudentId": "d10cf043-b463-4c35-a211-f37167341081",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-01-14T23:46:22.0126212+00:00",
      "DateCompleted": "2026-01-14T23:46:22.0126212+00:00",
      "Created": "2026-01-14T23:46:22.0126212+00:00",
      "LastUpdated": "2026-01-14T23:46:22.0126212+00:00"
    },
    {
      "Id": "bf9b31d2-c1eb-4ba8-b02b-61481769fe8a",
      "ClassType": 0,
      "TeacherId": "f8f63ed6-cc8a-436c-9366-47dd02e558ef",
      "StudentId": "d10cf043-b463-4c35-a211-f37167341081",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-01-14T23:46:22.0126212+00:00",
      "DateCompleted": "2026-01-14T23:46:22.0126212+00:00",
      "Created": "2026-01-14T23:46:22.0126212+00:00",
      "LastUpdated": "2026-01-14T23:46:22.0126212+00:00"
    }
  ]
}