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": "7222c9a9-822a-48ec-bceb-78f41a0cec1d",
      "TeacherId": "0f4068da-14c0-41f4-91d5-4ad28f5b6001",
      "RegistrationId": "fd457205-ae89-4e32-be86-52c839f50c57",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "b3eac2aa-37f7-43a9-86e2-da4d39fb1b15",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "b3eac2aa-37f7-43a9-86e2-da4d39fb1b15",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "7222c9a9-822a-48ec-bceb-78f41a0cec1d",
      "TeacherId": "0f4068da-14c0-41f4-91d5-4ad28f5b6001",
      "RegistrationId": "fd457205-ae89-4e32-be86-52c839f50c57",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "b3eac2aa-37f7-43a9-86e2-da4d39fb1b15",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "b3eac2aa-37f7-43a9-86e2-da4d39fb1b15",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "5a0d4bbf-4a19-4480-8ee3-92b41d3fc545",
      "ClassType": 0,
      "TeacherId": "6ea2f6af-6d8e-42a0-9255-598e17299894",
      "StudentId": "e452e6ab-320c-4629-bc2b-046cafd57fbb",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-17T18:46:50.6996888+00:00",
      "DateCompleted": "2026-03-17T18:46:50.6996888+00:00",
      "Created": "2026-03-17T18:46:50.6996888+00:00",
      "LastUpdated": "2026-03-17T18:46:50.6996888+00:00"
    },
    {
      "Id": "5a0d4bbf-4a19-4480-8ee3-92b41d3fc545",
      "ClassType": 0,
      "TeacherId": "6ea2f6af-6d8e-42a0-9255-598e17299894",
      "StudentId": "e452e6ab-320c-4629-bc2b-046cafd57fbb",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-17T18:46:50.6996888+00:00",
      "DateCompleted": "2026-03-17T18:46:50.6996888+00:00",
      "Created": "2026-03-17T18:46:50.6996888+00:00",
      "LastUpdated": "2026-03-17T18:46:50.6996888+00:00"
    }
  ]
}