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": "23c388c0-61fa-4f63-8406-81f4dd34eaeb",
      "TeacherId": "7e76ddad-ff12-41fd-b086-e2866d413ac9",
      "RegistrationId": "5fe973a9-dd36-4a32-85f2-f64c51771dcd",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "8ff50433-c2a5-4735-ac23-6069ac634504",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "8ff50433-c2a5-4735-ac23-6069ac634504",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "23c388c0-61fa-4f63-8406-81f4dd34eaeb",
      "TeacherId": "7e76ddad-ff12-41fd-b086-e2866d413ac9",
      "RegistrationId": "5fe973a9-dd36-4a32-85f2-f64c51771dcd",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "8ff50433-c2a5-4735-ac23-6069ac634504",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "8ff50433-c2a5-4735-ac23-6069ac634504",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "3dc77d53-5f56-48de-b6c5-95d9b8abb709",
      "ClassType": 0,
      "TeacherId": "ad10b28c-7261-4301-9318-39e67d526405",
      "StudentId": "f596c73c-a70a-402a-b7b2-32ee178b0eb1",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-11-08T00:50:33.1300648+00:00",
      "DateCompleted": "2026-11-08T00:50:33.1300648+00:00",
      "Created": "2026-11-08T00:50:33.1300648+00:00",
      "LastUpdated": "2026-11-08T00:50:33.1300648+00:00"
    },
    {
      "Id": "3dc77d53-5f56-48de-b6c5-95d9b8abb709",
      "ClassType": 0,
      "TeacherId": "ad10b28c-7261-4301-9318-39e67d526405",
      "StudentId": "f596c73c-a70a-402a-b7b2-32ee178b0eb1",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-11-08T00:50:33.1300648+00:00",
      "DateCompleted": "2026-11-08T00:50:33.1300648+00:00",
      "Created": "2026-11-08T00:50:33.1300648+00:00",
      "LastUpdated": "2026-11-08T00:50:33.1300648+00:00"
    }
  ]
}