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": "0abc5d53-1def-46bc-890c-f195bd8ebd41",
      "TeacherId": "e64fddbb-3aa9-4152-a5f2-87009aff3e14",
      "RegistrationId": "69477cd2-1d2e-4378-a669-ed336cba1be5",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "e81a65c3-bd73-4c22-868d-360d57d469b8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "e81a65c3-bd73-4c22-868d-360d57d469b8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "0abc5d53-1def-46bc-890c-f195bd8ebd41",
      "TeacherId": "e64fddbb-3aa9-4152-a5f2-87009aff3e14",
      "RegistrationId": "69477cd2-1d2e-4378-a669-ed336cba1be5",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "e81a65c3-bd73-4c22-868d-360d57d469b8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "e81a65c3-bd73-4c22-868d-360d57d469b8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "38bd7411-c06e-4384-8328-b1fcc76c7a30",
      "ClassType": 0,
      "TeacherId": "16eb82f3-6f2e-4aff-8171-a8bbdff36a3e",
      "StudentId": "6eb6a958-74cc-48da-95c9-5cf302cd82b2",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-16T20:29:17.2137357+00:00",
      "DateCompleted": "2026-03-16T20:29:17.2137357+00:00",
      "Created": "2026-03-16T20:29:17.2137357+00:00",
      "LastUpdated": "2026-03-16T20:29:17.2137357+00:00"
    },
    {
      "Id": "38bd7411-c06e-4384-8328-b1fcc76c7a30",
      "ClassType": 0,
      "TeacherId": "16eb82f3-6f2e-4aff-8171-a8bbdff36a3e",
      "StudentId": "6eb6a958-74cc-48da-95c9-5cf302cd82b2",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-16T20:29:17.2137357+00:00",
      "DateCompleted": "2026-03-16T20:29:17.2137357+00:00",
      "Created": "2026-03-16T20:29:17.2137357+00:00",
      "LastUpdated": "2026-03-16T20:29:17.2137357+00:00"
    }
  ]
}