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": "49061e3b-fe51-48c0-80ca-ef7da0d34403",
      "TeacherId": "6b2fb170-70a2-4005-bd13-27f6210de540",
      "RegistrationId": "b20325b7-0525-42d9-a423-f359b8604a32",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "8aa90655-606f-4e04-b13c-c2d70424c272",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "8aa90655-606f-4e04-b13c-c2d70424c272",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "49061e3b-fe51-48c0-80ca-ef7da0d34403",
      "TeacherId": "6b2fb170-70a2-4005-bd13-27f6210de540",
      "RegistrationId": "b20325b7-0525-42d9-a423-f359b8604a32",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "8aa90655-606f-4e04-b13c-c2d70424c272",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "8aa90655-606f-4e04-b13c-c2d70424c272",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "cb10a4bd-f6f5-4690-8618-6124967c6892",
      "ClassType": 0,
      "TeacherId": "974d608b-7f63-4590-8d7e-ca8c53a9804b",
      "StudentId": "650630d4-4588-4115-9938-552fcb7f361d",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-04T14:38:23.5442123+00:00",
      "DateCompleted": "2026-03-04T14:38:23.5442123+00:00",
      "Created": "2026-03-04T14:38:23.5442123+00:00",
      "LastUpdated": "2026-03-04T14:38:23.5442123+00:00"
    },
    {
      "Id": "cb10a4bd-f6f5-4690-8618-6124967c6892",
      "ClassType": 0,
      "TeacherId": "974d608b-7f63-4590-8d7e-ca8c53a9804b",
      "StudentId": "650630d4-4588-4115-9938-552fcb7f361d",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-04T14:38:23.5442123+00:00",
      "DateCompleted": "2026-03-04T14:38:23.5442123+00:00",
      "Created": "2026-03-04T14:38:23.5442123+00:00",
      "LastUpdated": "2026-03-04T14:38:23.5442123+00:00"
    }
  ]
}