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": "7a98bf3f-dd8b-4af9-aa95-d93e712d1d28",
      "TeacherId": "b7571b9a-c79b-43e1-b618-ea5f35a92554",
      "RegistrationId": "264300a4-8c62-45aa-8829-75d86e36661d",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "8fe3710c-7c03-4c6e-b3f0-f5be3e9224fa",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "8fe3710c-7c03-4c6e-b3f0-f5be3e9224fa",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "7a98bf3f-dd8b-4af9-aa95-d93e712d1d28",
      "TeacherId": "b7571b9a-c79b-43e1-b618-ea5f35a92554",
      "RegistrationId": "264300a4-8c62-45aa-8829-75d86e36661d",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "8fe3710c-7c03-4c6e-b3f0-f5be3e9224fa",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "8fe3710c-7c03-4c6e-b3f0-f5be3e9224fa",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "c254fafc-6278-4a82-b98c-db288cdcaa97",
      "ClassType": 0,
      "TeacherId": "6de65328-1093-4f44-b683-ae4f1a5dbe8a",
      "StudentId": "d10a2ff7-99f6-4985-aaf4-e111321ca3af",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-12-01T00:52:48.4280952+00:00",
      "DateCompleted": "2026-12-01T00:52:48.4280952+00:00",
      "Created": "2026-12-01T00:52:48.4280952+00:00",
      "LastUpdated": "2026-12-01T00:52:48.4280952+00:00"
    },
    {
      "Id": "c254fafc-6278-4a82-b98c-db288cdcaa97",
      "ClassType": 0,
      "TeacherId": "6de65328-1093-4f44-b683-ae4f1a5dbe8a",
      "StudentId": "d10a2ff7-99f6-4985-aaf4-e111321ca3af",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-12-01T00:52:48.4280952+00:00",
      "DateCompleted": "2026-12-01T00:52:48.4280952+00:00",
      "Created": "2026-12-01T00:52:48.4280952+00:00",
      "LastUpdated": "2026-12-01T00:52:48.4280952+00:00"
    }
  ]
}