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": "047db053-132d-416a-bf7d-c7a9c5c5f3df",
      "TeacherId": "9a8456b9-f25a-4e30-b242-dae5da053d77",
      "RegistrationId": "3365763f-685d-4cd3-ace2-07dbe06ee28f",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "253b3770-745a-4759-b3a4-7bf71b101a7a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "253b3770-745a-4759-b3a4-7bf71b101a7a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "047db053-132d-416a-bf7d-c7a9c5c5f3df",
      "TeacherId": "9a8456b9-f25a-4e30-b242-dae5da053d77",
      "RegistrationId": "3365763f-685d-4cd3-ace2-07dbe06ee28f",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "253b3770-745a-4759-b3a4-7bf71b101a7a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "253b3770-745a-4759-b3a4-7bf71b101a7a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "cacf22a8-04cb-4180-b1f0-09d8e1159439",
      "ClassType": 0,
      "TeacherId": "5182ea6d-6c86-4f8b-8a53-a190c8511f49",
      "StudentId": "0fbe559c-f65b-4a4b-b3af-80cca5939bd0",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-08-08T03:56:13.1811737+00:00",
      "DateCompleted": "2026-08-08T03:56:13.1811737+00:00",
      "Created": "2026-08-08T03:56:13.1811737+00:00",
      "LastUpdated": "2026-08-08T03:56:13.1811737+00:00"
    },
    {
      "Id": "cacf22a8-04cb-4180-b1f0-09d8e1159439",
      "ClassType": 0,
      "TeacherId": "5182ea6d-6c86-4f8b-8a53-a190c8511f49",
      "StudentId": "0fbe559c-f65b-4a4b-b3af-80cca5939bd0",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-08-08T03:56:13.1811737+00:00",
      "DateCompleted": "2026-08-08T03:56:13.1811737+00:00",
      "Created": "2026-08-08T03:56:13.1811737+00:00",
      "LastUpdated": "2026-08-08T03:56:13.1811737+00:00"
    }
  ]
}