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": "fd4a0f72-7be1-4d82-9790-98dcfd4a9559",
      "TeacherId": "2d3c2e6a-9bda-455e-8db3-7f26e35ee663",
      "RegistrationId": "dfa339c3-711d-463d-b943-280453578d31",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "c8e16399-58dd-4e22-b78e-a0c6475acfb8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "c8e16399-58dd-4e22-b78e-a0c6475acfb8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "fd4a0f72-7be1-4d82-9790-98dcfd4a9559",
      "TeacherId": "2d3c2e6a-9bda-455e-8db3-7f26e35ee663",
      "RegistrationId": "dfa339c3-711d-463d-b943-280453578d31",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "c8e16399-58dd-4e22-b78e-a0c6475acfb8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "c8e16399-58dd-4e22-b78e-a0c6475acfb8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "73ebb1d6-0a60-4cc1-b14c-0e8262fefab2",
      "ClassType": 0,
      "TeacherId": "e023f681-9b7f-483c-bfee-b43f07ff70d2",
      "StudentId": "64faa2d6-def0-4419-8041-2502d933b646",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-04-29T10:47:29.2197482+00:00",
      "DateCompleted": "2026-04-29T10:47:29.2197482+00:00",
      "Created": "2026-04-29T10:47:29.2197482+00:00",
      "LastUpdated": "2026-04-29T10:47:29.2197482+00:00"
    },
    {
      "Id": "73ebb1d6-0a60-4cc1-b14c-0e8262fefab2",
      "ClassType": 0,
      "TeacherId": "e023f681-9b7f-483c-bfee-b43f07ff70d2",
      "StudentId": "64faa2d6-def0-4419-8041-2502d933b646",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-04-29T10:47:29.2197482+00:00",
      "DateCompleted": "2026-04-29T10:47:29.2197482+00:00",
      "Created": "2026-04-29T10:47:29.2197482+00:00",
      "LastUpdated": "2026-04-29T10:47:29.2197482+00:00"
    }
  ]
}