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": "e928ef09-f267-490c-8285-67183b154f33",
      "TeacherId": "c87295a2-7db1-49cf-9fb7-1710e71ee500",
      "RegistrationId": "ecc3da79-6dcc-4f47-b551-984ae68daf01",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "3fdd38dd-2454-4054-96c0-9fcf5177137f",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "3fdd38dd-2454-4054-96c0-9fcf5177137f",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "e928ef09-f267-490c-8285-67183b154f33",
      "TeacherId": "c87295a2-7db1-49cf-9fb7-1710e71ee500",
      "RegistrationId": "ecc3da79-6dcc-4f47-b551-984ae68daf01",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "3fdd38dd-2454-4054-96c0-9fcf5177137f",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "3fdd38dd-2454-4054-96c0-9fcf5177137f",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "3e11165c-cb74-4f35-96f9-076a089ba42f",
      "ClassType": 0,
      "TeacherId": "89ca3bc7-5f6f-47c4-aa55-b963af304650",
      "StudentId": "23a86140-0e99-4175-b424-cece526abbd1",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-11-25T20:04:39.041806+00:00",
      "DateCompleted": "2026-11-25T20:04:39.041806+00:00",
      "Created": "2026-11-25T20:04:39.041806+00:00",
      "LastUpdated": "2026-11-25T20:04:39.041806+00:00"
    },
    {
      "Id": "3e11165c-cb74-4f35-96f9-076a089ba42f",
      "ClassType": 0,
      "TeacherId": "89ca3bc7-5f6f-47c4-aa55-b963af304650",
      "StudentId": "23a86140-0e99-4175-b424-cece526abbd1",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-11-25T20:04:39.041806+00:00",
      "DateCompleted": "2026-11-25T20:04:39.041806+00:00",
      "Created": "2026-11-25T20:04:39.041806+00:00",
      "LastUpdated": "2026-11-25T20:04:39.041806+00:00"
    }
  ]
}