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": "5ecc2bf6-da66-4f47-a0fa-225c78651b97",
      "TeacherId": "8d7e4a49-a1c8-4fdd-95f4-6c837da8dd06",
      "RegistrationId": "fd984b35-3d32-4cdc-aa3d-cd2d6b669d2a",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "b9593d04-179b-4c3a-9ee0-792c5f039f71",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "b9593d04-179b-4c3a-9ee0-792c5f039f71",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "5ecc2bf6-da66-4f47-a0fa-225c78651b97",
      "TeacherId": "8d7e4a49-a1c8-4fdd-95f4-6c837da8dd06",
      "RegistrationId": "fd984b35-3d32-4cdc-aa3d-cd2d6b669d2a",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "b9593d04-179b-4c3a-9ee0-792c5f039f71",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "b9593d04-179b-4c3a-9ee0-792c5f039f71",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "9e6025f7-d30c-4333-a9b9-6e31d61e449a",
      "ClassType": 0,
      "TeacherId": "f5089604-fc74-4f6a-97f1-1f5571bf0079",
      "StudentId": "c99a6c47-db5a-4955-b9ca-8512c1141781",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-05-15T09:12:51.0850209+00:00",
      "DateCompleted": "2026-05-15T09:12:51.0850209+00:00",
      "Created": "2026-05-15T09:12:51.0850209+00:00",
      "LastUpdated": "2026-05-15T09:12:51.0850209+00:00"
    },
    {
      "Id": "9e6025f7-d30c-4333-a9b9-6e31d61e449a",
      "ClassType": 0,
      "TeacherId": "f5089604-fc74-4f6a-97f1-1f5571bf0079",
      "StudentId": "c99a6c47-db5a-4955-b9ca-8512c1141781",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-05-15T09:12:51.0850209+00:00",
      "DateCompleted": "2026-05-15T09:12:51.0850209+00:00",
      "Created": "2026-05-15T09:12:51.0850209+00:00",
      "LastUpdated": "2026-05-15T09:12:51.0850209+00:00"
    }
  ]
}