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": "c6455054-ef91-40f8-b228-fb8d775ba919",
      "TeacherId": "710eedce-30bb-48b5-8608-b7f18457cf1b",
      "RegistrationId": "aca46e9a-8c52-4600-baa3-a146258a1872",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "3d2394c7-f2ad-46b6-95ca-f9ba1d6d2eb7",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "3d2394c7-f2ad-46b6-95ca-f9ba1d6d2eb7",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "c6455054-ef91-40f8-b228-fb8d775ba919",
      "TeacherId": "710eedce-30bb-48b5-8608-b7f18457cf1b",
      "RegistrationId": "aca46e9a-8c52-4600-baa3-a146258a1872",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "3d2394c7-f2ad-46b6-95ca-f9ba1d6d2eb7",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "3d2394c7-f2ad-46b6-95ca-f9ba1d6d2eb7",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "bc63131d-4d5c-4ffb-b020-97ce02b4517f",
      "ClassType": 0,
      "TeacherId": "cf9bc201-6e3b-49a4-b8f7-b7f30b4d2a5b",
      "StudentId": "dce37705-d7f4-49e3-8521-9aa8ab69c49f",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-11-06T13:15:59.6350668+00:00",
      "DateCompleted": "2026-11-06T13:15:59.6350668+00:00",
      "Created": "2026-11-06T13:15:59.6350668+00:00",
      "LastUpdated": "2026-11-06T13:15:59.6350668+00:00"
    },
    {
      "Id": "bc63131d-4d5c-4ffb-b020-97ce02b4517f",
      "ClassType": 0,
      "TeacherId": "cf9bc201-6e3b-49a4-b8f7-b7f30b4d2a5b",
      "StudentId": "dce37705-d7f4-49e3-8521-9aa8ab69c49f",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-11-06T13:15:59.6350668+00:00",
      "DateCompleted": "2026-11-06T13:15:59.6350668+00:00",
      "Created": "2026-11-06T13:15:59.6350668+00:00",
      "LastUpdated": "2026-11-06T13:15:59.6350668+00:00"
    }
  ]
}