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": "c70e511e-f962-42fd-a840-bc0a2e76e09e",
      "TeacherId": "e60af5e4-873c-46ae-80f0-c24f9ee81ca3",
      "RegistrationId": "824d2749-8999-4098-9f5f-dc36d0d14c30",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "1215b131-3cfb-4419-82ff-30aa45081fb5",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "1215b131-3cfb-4419-82ff-30aa45081fb5",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "c70e511e-f962-42fd-a840-bc0a2e76e09e",
      "TeacherId": "e60af5e4-873c-46ae-80f0-c24f9ee81ca3",
      "RegistrationId": "824d2749-8999-4098-9f5f-dc36d0d14c30",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "1215b131-3cfb-4419-82ff-30aa45081fb5",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "1215b131-3cfb-4419-82ff-30aa45081fb5",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "7a18e842-3ca6-4a19-8d3a-8704674f440a",
      "ClassType": 0,
      "TeacherId": "110b56eb-9ccd-42cd-a2f9-59339c3e047c",
      "StudentId": "1014dd4b-3cf6-439d-9bb9-9e1ed52ab63f",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-08-15T11:25:18.5269499+00:00",
      "DateCompleted": "2026-08-15T11:25:18.5269499+00:00",
      "Created": "2026-08-15T11:25:18.5269499+00:00",
      "LastUpdated": "2026-08-15T11:25:18.5269499+00:00"
    },
    {
      "Id": "7a18e842-3ca6-4a19-8d3a-8704674f440a",
      "ClassType": 0,
      "TeacherId": "110b56eb-9ccd-42cd-a2f9-59339c3e047c",
      "StudentId": "1014dd4b-3cf6-439d-9bb9-9e1ed52ab63f",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-08-15T11:25:18.5269499+00:00",
      "DateCompleted": "2026-08-15T11:25:18.5269499+00:00",
      "Created": "2026-08-15T11:25:18.5269499+00:00",
      "LastUpdated": "2026-08-15T11:25:18.5269499+00:00"
    }
  ]
}