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": "c63d1f4e-7c0c-4b5c-be53-9b877525eb49",
      "TeacherId": "6f5458a4-e038-4d78-807f-4772f83fa362",
      "RegistrationId": "6463e5d5-d946-491b-af4b-e353d5e502c5",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "93805bc9-dd74-4fdb-bd2d-a2fa1dc5ad8e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "93805bc9-dd74-4fdb-bd2d-a2fa1dc5ad8e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "c63d1f4e-7c0c-4b5c-be53-9b877525eb49",
      "TeacherId": "6f5458a4-e038-4d78-807f-4772f83fa362",
      "RegistrationId": "6463e5d5-d946-491b-af4b-e353d5e502c5",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "93805bc9-dd74-4fdb-bd2d-a2fa1dc5ad8e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "93805bc9-dd74-4fdb-bd2d-a2fa1dc5ad8e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "dbd3b7b1-56fd-4154-a9ca-e902521ecd5f",
      "ClassType": 0,
      "TeacherId": "d3dad623-2422-4c46-92d3-b10db3c2fb82",
      "StudentId": "ffd953e8-1033-403e-8599-9831a2b505d3",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-05-31T19:56:46.3463241+00:00",
      "DateCompleted": "2026-05-31T19:56:46.3463241+00:00",
      "Created": "2026-05-31T19:56:46.3463241+00:00",
      "LastUpdated": "2026-05-31T19:56:46.3463241+00:00"
    },
    {
      "Id": "dbd3b7b1-56fd-4154-a9ca-e902521ecd5f",
      "ClassType": 0,
      "TeacherId": "d3dad623-2422-4c46-92d3-b10db3c2fb82",
      "StudentId": "ffd953e8-1033-403e-8599-9831a2b505d3",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-05-31T19:56:46.3463241+00:00",
      "DateCompleted": "2026-05-31T19:56:46.3463241+00:00",
      "Created": "2026-05-31T19:56:46.3463241+00:00",
      "LastUpdated": "2026-05-31T19:56:46.3463241+00:00"
    }
  ]
}