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": "ff1b2a4c-3193-4798-aa3b-184be8037065",
      "TeacherId": "aa03feee-a81e-4191-b872-a66f480bc704",
      "RegistrationId": "4d133a29-5a2c-4a00-8662-af47620f9c40",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "5ae825a0-2be1-40d6-8ffe-a66749c77282",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "5ae825a0-2be1-40d6-8ffe-a66749c77282",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "ff1b2a4c-3193-4798-aa3b-184be8037065",
      "TeacherId": "aa03feee-a81e-4191-b872-a66f480bc704",
      "RegistrationId": "4d133a29-5a2c-4a00-8662-af47620f9c40",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "5ae825a0-2be1-40d6-8ffe-a66749c77282",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "5ae825a0-2be1-40d6-8ffe-a66749c77282",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "c765cb54-90b2-41d2-8a24-3bc7e5441021",
      "ClassType": 0,
      "TeacherId": "488da00d-38ba-48ff-8fc7-503675903046",
      "StudentId": "cd5114c1-b79c-4005-8260-1ded54effbe2",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-10-10T15:31:58.9788008+00:00",
      "DateCompleted": "2026-10-10T15:31:58.9788008+00:00",
      "Created": "2026-10-10T15:31:58.9788008+00:00",
      "LastUpdated": "2026-10-10T15:31:58.9788008+00:00"
    },
    {
      "Id": "c765cb54-90b2-41d2-8a24-3bc7e5441021",
      "ClassType": 0,
      "TeacherId": "488da00d-38ba-48ff-8fc7-503675903046",
      "StudentId": "cd5114c1-b79c-4005-8260-1ded54effbe2",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-10-10T15:31:58.9788008+00:00",
      "DateCompleted": "2026-10-10T15:31:58.9788008+00:00",
      "Created": "2026-10-10T15:31:58.9788008+00:00",
      "LastUpdated": "2026-10-10T15:31:58.9788008+00:00"
    }
  ]
}