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": "2b02c480-7540-4c58-841c-af225e01fb37",
      "TeacherId": "6a7cc137-ab2a-4bb2-8449-006f667f9f04",
      "RegistrationId": "bbd8cc22-1e98-4ca4-8bf5-6f8a2c95a287",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "c422bddf-6ffa-4043-83cb-3e8e3b60b3c4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "c422bddf-6ffa-4043-83cb-3e8e3b60b3c4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "2b02c480-7540-4c58-841c-af225e01fb37",
      "TeacherId": "6a7cc137-ab2a-4bb2-8449-006f667f9f04",
      "RegistrationId": "bbd8cc22-1e98-4ca4-8bf5-6f8a2c95a287",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "c422bddf-6ffa-4043-83cb-3e8e3b60b3c4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "c422bddf-6ffa-4043-83cb-3e8e3b60b3c4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "ceb3259c-94dd-4295-b7ab-acc219b9b797",
      "ClassType": 0,
      "TeacherId": "19000369-4508-42e2-8edd-bd97922401af",
      "StudentId": "763a6253-99fe-45dc-8e8c-fab568c35400",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-10-23T00:46:19.8993681+00:00",
      "DateCompleted": "2026-10-23T00:46:19.8993681+00:00",
      "Created": "2026-10-23T00:46:19.8993681+00:00",
      "LastUpdated": "2026-10-23T00:46:19.8993681+00:00"
    },
    {
      "Id": "ceb3259c-94dd-4295-b7ab-acc219b9b797",
      "ClassType": 0,
      "TeacherId": "19000369-4508-42e2-8edd-bd97922401af",
      "StudentId": "763a6253-99fe-45dc-8e8c-fab568c35400",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-10-23T00:46:19.8993681+00:00",
      "DateCompleted": "2026-10-23T00:46:19.8993681+00:00",
      "Created": "2026-10-23T00:46:19.8993681+00:00",
      "LastUpdated": "2026-10-23T00:46:19.8993681+00:00"
    }
  ]
}