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": "b8b9d7ee-3ef3-4dbe-8717-6dd856c0c4cc",
      "TeacherId": "b439babf-9f33-470e-9367-88bd312e13b3",
      "RegistrationId": "801ad2b7-5724-4e0e-a6c9-55a1399c4e58",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "cff87e2d-250b-4f32-a5e6-3eeb2b7e58fb",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "cff87e2d-250b-4f32-a5e6-3eeb2b7e58fb",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "b8b9d7ee-3ef3-4dbe-8717-6dd856c0c4cc",
      "TeacherId": "b439babf-9f33-470e-9367-88bd312e13b3",
      "RegistrationId": "801ad2b7-5724-4e0e-a6c9-55a1399c4e58",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "cff87e2d-250b-4f32-a5e6-3eeb2b7e58fb",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "cff87e2d-250b-4f32-a5e6-3eeb2b7e58fb",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "cd7bcb7a-c361-4c22-841d-d4393883eb69",
      "ClassType": 0,
      "TeacherId": "3ed26fc0-854f-4f31-ac9d-f03a1f6bf82a",
      "StudentId": "40fa9897-d830-4c04-8b42-f6b861edb8cd",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-01-31T19:28:20.9200671+00:00",
      "DateCompleted": "2026-01-31T19:28:20.9200671+00:00",
      "Created": "2026-01-31T19:28:20.9200671+00:00",
      "LastUpdated": "2026-01-31T19:28:20.9200671+00:00"
    },
    {
      "Id": "cd7bcb7a-c361-4c22-841d-d4393883eb69",
      "ClassType": 0,
      "TeacherId": "3ed26fc0-854f-4f31-ac9d-f03a1f6bf82a",
      "StudentId": "40fa9897-d830-4c04-8b42-f6b861edb8cd",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-01-31T19:28:20.9200671+00:00",
      "DateCompleted": "2026-01-31T19:28:20.9200671+00:00",
      "Created": "2026-01-31T19:28:20.9200671+00:00",
      "LastUpdated": "2026-01-31T19:28:20.9200671+00:00"
    }
  ]
}