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": "2307b6a3-89dd-4ac3-af06-dd2943de6af1",
      "TeacherId": "477c113a-d254-4b6c-952a-10cc1cd51909",
      "RegistrationId": "5ece4ff2-1aba-4247-8091-2f2132472ab7",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "ba501eaf-0bfe-4430-aaa5-df2b89f6d9e8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "ba501eaf-0bfe-4430-aaa5-df2b89f6d9e8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "2307b6a3-89dd-4ac3-af06-dd2943de6af1",
      "TeacherId": "477c113a-d254-4b6c-952a-10cc1cd51909",
      "RegistrationId": "5ece4ff2-1aba-4247-8091-2f2132472ab7",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "ba501eaf-0bfe-4430-aaa5-df2b89f6d9e8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "ba501eaf-0bfe-4430-aaa5-df2b89f6d9e8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "407f9a74-7d45-4a17-b7c8-8d0a18383eb6",
      "ClassType": 0,
      "TeacherId": "00a88860-47a0-45be-a2f0-afe49e5528ce",
      "StudentId": "48f863b9-d836-47d0-95ff-1e604235b495",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-11-25T22:50:47.4976849+00:00",
      "DateCompleted": "2026-11-25T22:50:47.4976849+00:00",
      "Created": "2026-11-25T22:50:47.4976849+00:00",
      "LastUpdated": "2026-11-25T22:50:47.4976849+00:00"
    },
    {
      "Id": "407f9a74-7d45-4a17-b7c8-8d0a18383eb6",
      "ClassType": 0,
      "TeacherId": "00a88860-47a0-45be-a2f0-afe49e5528ce",
      "StudentId": "48f863b9-d836-47d0-95ff-1e604235b495",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-11-25T22:50:47.4976849+00:00",
      "DateCompleted": "2026-11-25T22:50:47.4976849+00:00",
      "Created": "2026-11-25T22:50:47.4976849+00:00",
      "LastUpdated": "2026-11-25T22:50:47.4976849+00:00"
    }
  ]
}