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": "96ca65ea-b659-4c7b-ba34-ee57550ae53a",
      "TeacherId": "aa712c2f-7723-43fc-bc52-599fa575a4a4",
      "RegistrationId": "70e17086-3cbc-49eb-aac1-7991679d5de3",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "71e5c115-9647-442c-9854-6507947f232a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "71e5c115-9647-442c-9854-6507947f232a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "96ca65ea-b659-4c7b-ba34-ee57550ae53a",
      "TeacherId": "aa712c2f-7723-43fc-bc52-599fa575a4a4",
      "RegistrationId": "70e17086-3cbc-49eb-aac1-7991679d5de3",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "71e5c115-9647-442c-9854-6507947f232a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "71e5c115-9647-442c-9854-6507947f232a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "58f9f22b-ff83-4c8d-940a-3a8fc2d486e3",
      "ClassType": 0,
      "TeacherId": "bbe459cb-938c-49d5-ba6b-1dd649e9cd33",
      "StudentId": "032e0b4a-b7e7-41aa-aa3c-728736837566",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-05-15T15:00:42.497217+00:00",
      "DateCompleted": "2026-05-15T15:00:42.497217+00:00",
      "Created": "2026-05-15T15:00:42.497217+00:00",
      "LastUpdated": "2026-05-15T15:00:42.497217+00:00"
    },
    {
      "Id": "58f9f22b-ff83-4c8d-940a-3a8fc2d486e3",
      "ClassType": 0,
      "TeacherId": "bbe459cb-938c-49d5-ba6b-1dd649e9cd33",
      "StudentId": "032e0b4a-b7e7-41aa-aa3c-728736837566",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-05-15T15:00:42.497217+00:00",
      "DateCompleted": "2026-05-15T15:00:42.497217+00:00",
      "Created": "2026-05-15T15:00:42.497217+00:00",
      "LastUpdated": "2026-05-15T15:00:42.497217+00:00"
    }
  ]
}