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": "dbd02d00-2769-4d0f-8f41-5438f79f06d7",
      "TeacherId": "d4419d1b-c019-44d0-a5cd-b3ff30798d37",
      "RegistrationId": "1e3e63bd-091e-4db6-a945-bfb794562489",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "e5fd5018-4e3a-4660-ad2a-f1ffd81e770f",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "e5fd5018-4e3a-4660-ad2a-f1ffd81e770f",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "dbd02d00-2769-4d0f-8f41-5438f79f06d7",
      "TeacherId": "d4419d1b-c019-44d0-a5cd-b3ff30798d37",
      "RegistrationId": "1e3e63bd-091e-4db6-a945-bfb794562489",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "e5fd5018-4e3a-4660-ad2a-f1ffd81e770f",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "e5fd5018-4e3a-4660-ad2a-f1ffd81e770f",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "aa004cd3-48e0-4afa-bf5a-22c42c29e09a",
      "ClassType": 0,
      "TeacherId": "dfb85325-2a1f-4f86-95d3-f72eb2f08714",
      "StudentId": "60286676-7ce6-495d-9783-028c02038c7e",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-06-28T20:37:16.7800941+00:00",
      "DateCompleted": "2026-06-28T20:37:16.7800941+00:00",
      "Created": "2026-06-28T20:37:16.7800941+00:00",
      "LastUpdated": "2026-06-28T20:37:16.7800941+00:00"
    },
    {
      "Id": "aa004cd3-48e0-4afa-bf5a-22c42c29e09a",
      "ClassType": 0,
      "TeacherId": "dfb85325-2a1f-4f86-95d3-f72eb2f08714",
      "StudentId": "60286676-7ce6-495d-9783-028c02038c7e",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-06-28T20:37:16.7800941+00:00",
      "DateCompleted": "2026-06-28T20:37:16.7800941+00:00",
      "Created": "2026-06-28T20:37:16.7800941+00:00",
      "LastUpdated": "2026-06-28T20:37:16.7800941+00:00"
    }
  ]
}