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": "940bcf64-4d20-4369-bb32-f90cc4127cd0",
      "TeacherId": "16fe8673-aae3-4052-876f-2ecc4b78de26",
      "RegistrationId": "b0da9db1-fb49-4afa-a733-c9363dea39d2",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "478e5dfc-848a-49e4-9f6d-9dfd11b09148",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "478e5dfc-848a-49e4-9f6d-9dfd11b09148",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "940bcf64-4d20-4369-bb32-f90cc4127cd0",
      "TeacherId": "16fe8673-aae3-4052-876f-2ecc4b78de26",
      "RegistrationId": "b0da9db1-fb49-4afa-a733-c9363dea39d2",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "478e5dfc-848a-49e4-9f6d-9dfd11b09148",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "478e5dfc-848a-49e4-9f6d-9dfd11b09148",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "9d60d80d-bf1c-43d4-be27-4c79ea5fc090",
      "ClassType": 0,
      "TeacherId": "fb115c96-a285-4f3c-9998-d7360d6e0228",
      "StudentId": "0ba3ca62-c844-483c-824e-fc6cefc8f89d",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-11-13T00:11:34.7692147+00:00",
      "DateCompleted": "2026-11-13T00:11:34.7692147+00:00",
      "Created": "2026-11-13T00:11:34.7692147+00:00",
      "LastUpdated": "2026-11-13T00:11:34.7692147+00:00"
    },
    {
      "Id": "9d60d80d-bf1c-43d4-be27-4c79ea5fc090",
      "ClassType": 0,
      "TeacherId": "fb115c96-a285-4f3c-9998-d7360d6e0228",
      "StudentId": "0ba3ca62-c844-483c-824e-fc6cefc8f89d",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-11-13T00:11:34.7692147+00:00",
      "DateCompleted": "2026-11-13T00:11:34.7692147+00:00",
      "Created": "2026-11-13T00:11:34.7692147+00:00",
      "LastUpdated": "2026-11-13T00:11:34.7692147+00:00"
    }
  ]
}