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": "0bc1b3b5-cbe6-495d-812c-ecd55899c5d9",
      "TeacherId": "053983b3-c5c9-4f7a-a367-f7e6c2048aec",
      "RegistrationId": "a83e2099-b7c4-413e-8302-e1f9759d55bc",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "7a36c336-ea84-4666-a15a-87b76b6dc129",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "7a36c336-ea84-4666-a15a-87b76b6dc129",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "0bc1b3b5-cbe6-495d-812c-ecd55899c5d9",
      "TeacherId": "053983b3-c5c9-4f7a-a367-f7e6c2048aec",
      "RegistrationId": "a83e2099-b7c4-413e-8302-e1f9759d55bc",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "7a36c336-ea84-4666-a15a-87b76b6dc129",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "7a36c336-ea84-4666-a15a-87b76b6dc129",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "4c693496-eb1c-48f8-9ad4-27d623b72b37",
      "ClassType": 0,
      "TeacherId": "447eb817-cd6b-4f15-86fd-5594785e491a",
      "StudentId": "9ca69a98-2e8f-44d3-89f5-20848cb628d4",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-23T16:07:39.902124+00:00",
      "DateCompleted": "2026-03-23T16:07:39.902124+00:00",
      "Created": "2026-03-23T16:07:39.902124+00:00",
      "LastUpdated": "2026-03-23T16:07:39.902124+00:00"
    },
    {
      "Id": "4c693496-eb1c-48f8-9ad4-27d623b72b37",
      "ClassType": 0,
      "TeacherId": "447eb817-cd6b-4f15-86fd-5594785e491a",
      "StudentId": "9ca69a98-2e8f-44d3-89f5-20848cb628d4",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-23T16:07:39.902124+00:00",
      "DateCompleted": "2026-03-23T16:07:39.902124+00:00",
      "Created": "2026-03-23T16:07:39.902124+00:00",
      "LastUpdated": "2026-03-23T16:07:39.902124+00:00"
    }
  ]
}