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": "e5052b7b-f23d-43bc-9c71-e9c5a1ba8f54",
      "TeacherId": "d1039bc1-c0d5-40f3-a6e8-43b38e9b32a6",
      "RegistrationId": "7b634db6-715d-4802-8a68-7b6ac039aa40",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "ab4ff4cd-d9b1-498f-8e96-58fb9425e7c7",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "ab4ff4cd-d9b1-498f-8e96-58fb9425e7c7",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "e5052b7b-f23d-43bc-9c71-e9c5a1ba8f54",
      "TeacherId": "d1039bc1-c0d5-40f3-a6e8-43b38e9b32a6",
      "RegistrationId": "7b634db6-715d-4802-8a68-7b6ac039aa40",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "ab4ff4cd-d9b1-498f-8e96-58fb9425e7c7",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "ab4ff4cd-d9b1-498f-8e96-58fb9425e7c7",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "58b6809e-4537-414b-ba39-b1ce7e0e9f22",
      "ClassType": 0,
      "TeacherId": "1069d454-48ec-4349-b5f6-bd182ba3fb5c",
      "StudentId": "4914ccbc-e9b0-4ce5-83ab-898097f848d5",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-08-16T11:08:55.4398367+00:00",
      "DateCompleted": "2026-08-16T11:08:55.4398367+00:00",
      "Created": "2026-08-16T11:08:55.4398367+00:00",
      "LastUpdated": "2026-08-16T11:08:55.4398367+00:00"
    },
    {
      "Id": "58b6809e-4537-414b-ba39-b1ce7e0e9f22",
      "ClassType": 0,
      "TeacherId": "1069d454-48ec-4349-b5f6-bd182ba3fb5c",
      "StudentId": "4914ccbc-e9b0-4ce5-83ab-898097f848d5",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-08-16T11:08:55.4398367+00:00",
      "DateCompleted": "2026-08-16T11:08:55.4398367+00:00",
      "Created": "2026-08-16T11:08:55.4398367+00:00",
      "LastUpdated": "2026-08-16T11:08:55.4398367+00:00"
    }
  ]
}