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": "bf7248b4-a668-4f45-94a9-f889a431155b",
      "TeacherId": "baca62f4-18f6-4a6d-9b18-b582b5974e33",
      "RegistrationId": "b8a96fa8-634f-4ec7-b9d5-7439245353b8",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "3f2ef4b4-7f04-4545-bd97-ee298e10cff8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "3f2ef4b4-7f04-4545-bd97-ee298e10cff8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "bf7248b4-a668-4f45-94a9-f889a431155b",
      "TeacherId": "baca62f4-18f6-4a6d-9b18-b582b5974e33",
      "RegistrationId": "b8a96fa8-634f-4ec7-b9d5-7439245353b8",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "3f2ef4b4-7f04-4545-bd97-ee298e10cff8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "3f2ef4b4-7f04-4545-bd97-ee298e10cff8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "9784daf1-2d29-4e90-9753-9bd0ae0f529c",
      "ClassType": 0,
      "TeacherId": "5367ffde-b812-458b-8998-9033791660c4",
      "StudentId": "7a9d43ae-2e35-4f42-a1c7-581f87ca822b",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-12T12:32:07.5970562+00:00",
      "DateCompleted": "2026-03-12T12:32:07.5970562+00:00",
      "Created": "2026-03-12T12:32:07.5970562+00:00",
      "LastUpdated": "2026-03-12T12:32:07.5970562+00:00"
    },
    {
      "Id": "9784daf1-2d29-4e90-9753-9bd0ae0f529c",
      "ClassType": 0,
      "TeacherId": "5367ffde-b812-458b-8998-9033791660c4",
      "StudentId": "7a9d43ae-2e35-4f42-a1c7-581f87ca822b",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-12T12:32:07.5970562+00:00",
      "DateCompleted": "2026-03-12T12:32:07.5970562+00:00",
      "Created": "2026-03-12T12:32:07.5970562+00:00",
      "LastUpdated": "2026-03-12T12:32:07.5970562+00:00"
    }
  ]
}