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": "9351c9ac-4dcb-467f-b862-c8f077007b42",
      "TeacherId": "b85d343c-efe2-4749-bb12-58f30586d25d",
      "RegistrationId": "68c4e16a-36d2-4c2c-8dbe-e99c4be4a6ff",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "103a0efc-d3e7-4868-b22a-67c1ed62e79c",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "103a0efc-d3e7-4868-b22a-67c1ed62e79c",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "9351c9ac-4dcb-467f-b862-c8f077007b42",
      "TeacherId": "b85d343c-efe2-4749-bb12-58f30586d25d",
      "RegistrationId": "68c4e16a-36d2-4c2c-8dbe-e99c4be4a6ff",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "103a0efc-d3e7-4868-b22a-67c1ed62e79c",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "103a0efc-d3e7-4868-b22a-67c1ed62e79c",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "9460e8fc-ed7d-4a3b-8520-bce99c4aed90",
      "ClassType": 0,
      "TeacherId": "ca6f70a3-14a1-4678-aa9a-413a57cb846d",
      "StudentId": "58b159d8-df56-4abd-8369-3e32e853610e",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-10-29T08:05:44.1885422+00:00",
      "DateCompleted": "2026-10-29T08:05:44.1885422+00:00",
      "Created": "2026-10-29T08:05:44.1885422+00:00",
      "LastUpdated": "2026-10-29T08:05:44.1885422+00:00"
    },
    {
      "Id": "9460e8fc-ed7d-4a3b-8520-bce99c4aed90",
      "ClassType": 0,
      "TeacherId": "ca6f70a3-14a1-4678-aa9a-413a57cb846d",
      "StudentId": "58b159d8-df56-4abd-8369-3e32e853610e",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-10-29T08:05:44.1885422+00:00",
      "DateCompleted": "2026-10-29T08:05:44.1885422+00:00",
      "Created": "2026-10-29T08:05:44.1885422+00:00",
      "LastUpdated": "2026-10-29T08:05:44.1885422+00:00"
    }
  ]
}