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": "a601c3e4-be33-4308-9e33-cb317c608061",
      "TeacherId": "6b3f5577-2d61-4bc9-8052-ec61dcd79f7c",
      "RegistrationId": "adc0f94e-863d-4df6-ad8f-19c4c78a3d7c",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "462a58c5-a5f5-449a-93ca-e61492dce1a6",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "462a58c5-a5f5-449a-93ca-e61492dce1a6",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "a601c3e4-be33-4308-9e33-cb317c608061",
      "TeacherId": "6b3f5577-2d61-4bc9-8052-ec61dcd79f7c",
      "RegistrationId": "adc0f94e-863d-4df6-ad8f-19c4c78a3d7c",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "462a58c5-a5f5-449a-93ca-e61492dce1a6",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "462a58c5-a5f5-449a-93ca-e61492dce1a6",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "46827030-17bb-439c-9eae-fe2f459da1e8",
      "ClassType": 0,
      "TeacherId": "24e9b369-c817-44b9-94c2-f63c18bf215c",
      "StudentId": "e361f75d-7633-49bb-b049-b7577a4ceeb4",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-12-12T03:53:16.263315+00:00",
      "DateCompleted": "2025-12-12T03:53:16.263315+00:00",
      "Created": "2025-12-12T03:53:16.263315+00:00",
      "LastUpdated": "2025-12-12T03:53:16.263315+00:00"
    },
    {
      "Id": "46827030-17bb-439c-9eae-fe2f459da1e8",
      "ClassType": 0,
      "TeacherId": "24e9b369-c817-44b9-94c2-f63c18bf215c",
      "StudentId": "e361f75d-7633-49bb-b049-b7577a4ceeb4",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-12-12T03:53:16.263315+00:00",
      "DateCompleted": "2025-12-12T03:53:16.263315+00:00",
      "Created": "2025-12-12T03:53:16.263315+00:00",
      "LastUpdated": "2025-12-12T03:53:16.263315+00:00"
    }
  ]
}