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": "5c58553f-50d3-43c3-8dd1-68929b72e519",
      "TeacherId": "1fb42a8b-75e7-487d-84b7-5778f11e2c63",
      "RegistrationId": "43700cbb-96c0-46d5-8f79-a939b9d28a5f",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "3aabd9b6-2e42-4d6f-9fb2-9b7ebfa673af",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "3aabd9b6-2e42-4d6f-9fb2-9b7ebfa673af",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "5c58553f-50d3-43c3-8dd1-68929b72e519",
      "TeacherId": "1fb42a8b-75e7-487d-84b7-5778f11e2c63",
      "RegistrationId": "43700cbb-96c0-46d5-8f79-a939b9d28a5f",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "3aabd9b6-2e42-4d6f-9fb2-9b7ebfa673af",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "3aabd9b6-2e42-4d6f-9fb2-9b7ebfa673af",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "58086e09-1ce3-4dde-b059-f6959bfeb4fd",
      "ClassType": 0,
      "TeacherId": "20bbc755-b6e3-4f61-b390-9b709aebc582",
      "StudentId": "3142045c-5aad-40c1-8465-dd116d3d72ac",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-09-29T03:10:01.895196+00:00",
      "DateCompleted": "2026-09-29T03:10:01.895196+00:00",
      "Created": "2026-09-29T03:10:01.895196+00:00",
      "LastUpdated": "2026-09-29T03:10:01.895196+00:00"
    },
    {
      "Id": "58086e09-1ce3-4dde-b059-f6959bfeb4fd",
      "ClassType": 0,
      "TeacherId": "20bbc755-b6e3-4f61-b390-9b709aebc582",
      "StudentId": "3142045c-5aad-40c1-8465-dd116d3d72ac",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-09-29T03:10:01.895196+00:00",
      "DateCompleted": "2026-09-29T03:10:01.895196+00:00",
      "Created": "2026-09-29T03:10:01.895196+00:00",
      "LastUpdated": "2026-09-29T03:10:01.895196+00:00"
    }
  ]
}