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": "5b93dc62-740d-451a-8bec-24897308ffdd",
      "TeacherId": "2897d4e4-aa7c-4de5-a33f-5a420ebf7488",
      "RegistrationId": "d0a73242-3afd-4ce4-a303-092c61c2cbc8",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "3ee0f91d-adb2-4187-8208-70323c9970d6",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "3ee0f91d-adb2-4187-8208-70323c9970d6",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "5b93dc62-740d-451a-8bec-24897308ffdd",
      "TeacherId": "2897d4e4-aa7c-4de5-a33f-5a420ebf7488",
      "RegistrationId": "d0a73242-3afd-4ce4-a303-092c61c2cbc8",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "3ee0f91d-adb2-4187-8208-70323c9970d6",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "3ee0f91d-adb2-4187-8208-70323c9970d6",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "bd8ba654-03fe-4df1-8b34-a8b662b19015",
      "ClassType": 0,
      "TeacherId": "59d61353-fb62-4c32-bd72-d6815bf41fc1",
      "StudentId": "35d7e07e-967b-4d2d-8e4f-9c3a4c05039d",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-12-12T17:41:40.0766545+00:00",
      "DateCompleted": "2025-12-12T17:41:40.0766545+00:00",
      "Created": "2025-12-12T17:41:40.0766545+00:00",
      "LastUpdated": "2025-12-12T17:41:40.0766545+00:00"
    },
    {
      "Id": "bd8ba654-03fe-4df1-8b34-a8b662b19015",
      "ClassType": 0,
      "TeacherId": "59d61353-fb62-4c32-bd72-d6815bf41fc1",
      "StudentId": "35d7e07e-967b-4d2d-8e4f-9c3a4c05039d",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-12-12T17:41:40.0766545+00:00",
      "DateCompleted": "2025-12-12T17:41:40.0766545+00:00",
      "Created": "2025-12-12T17:41:40.0766545+00:00",
      "LastUpdated": "2025-12-12T17:41:40.0766545+00:00"
    }
  ]
}