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": "04aabf31-c2a6-4d11-acc6-5315fbafa55f",
      "TeacherId": "49b7737c-285c-443c-aa77-d60b2444693b",
      "RegistrationId": "4212e64f-25d9-44f5-983c-8b26bf5a58a0",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "9d4a1662-c5cd-412d-89f5-42095057d41a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "9d4a1662-c5cd-412d-89f5-42095057d41a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "04aabf31-c2a6-4d11-acc6-5315fbafa55f",
      "TeacherId": "49b7737c-285c-443c-aa77-d60b2444693b",
      "RegistrationId": "4212e64f-25d9-44f5-983c-8b26bf5a58a0",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "9d4a1662-c5cd-412d-89f5-42095057d41a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "9d4a1662-c5cd-412d-89f5-42095057d41a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "89e2f836-32ad-4317-b10c-fa00c060da71",
      "ClassType": 0,
      "TeacherId": "a8624e85-0562-488e-b09f-18678513884f",
      "StudentId": "3412a311-acac-48f2-85e2-a04909a3a872",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-09-10T22:53:31.9661093+00:00",
      "DateCompleted": "2025-09-10T22:53:31.9661093+00:00",
      "Created": "2025-09-10T22:53:31.9661093+00:00",
      "LastUpdated": "2025-09-10T22:53:31.9661093+00:00"
    },
    {
      "Id": "89e2f836-32ad-4317-b10c-fa00c060da71",
      "ClassType": 0,
      "TeacherId": "a8624e85-0562-488e-b09f-18678513884f",
      "StudentId": "3412a311-acac-48f2-85e2-a04909a3a872",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-09-10T22:53:31.9661093+00:00",
      "DateCompleted": "2025-09-10T22:53:31.9661093+00:00",
      "Created": "2025-09-10T22:53:31.9661093+00:00",
      "LastUpdated": "2025-09-10T22:53:31.9661093+00:00"
    }
  ]
}