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": "203a210f-8378-406a-9e5d-cb8e9c9f9201",
      "TeacherId": "ce50f88f-44f4-48fe-9054-f487731c10e8",
      "RegistrationId": "c7e9bab9-dddb-44fa-b70b-c1681a453ec9",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "cbfaf0d7-0ab3-4a6f-84e7-ade1cc74617b",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "cbfaf0d7-0ab3-4a6f-84e7-ade1cc74617b",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "203a210f-8378-406a-9e5d-cb8e9c9f9201",
      "TeacherId": "ce50f88f-44f4-48fe-9054-f487731c10e8",
      "RegistrationId": "c7e9bab9-dddb-44fa-b70b-c1681a453ec9",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "cbfaf0d7-0ab3-4a6f-84e7-ade1cc74617b",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "cbfaf0d7-0ab3-4a6f-84e7-ade1cc74617b",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "f9f4f725-acda-4412-a710-129e1bba099f",
      "ClassType": 0,
      "TeacherId": "f4d6a4dd-96e0-4aeb-a4c9-03370401d8b2",
      "StudentId": "d243145c-743a-438f-a98c-9a3b3235310b",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-09-28T03:07:16.6197293+00:00",
      "DateCompleted": "2026-09-28T03:07:16.6197293+00:00",
      "Created": "2026-09-28T03:07:16.6197293+00:00",
      "LastUpdated": "2026-09-28T03:07:16.6197293+00:00"
    },
    {
      "Id": "f9f4f725-acda-4412-a710-129e1bba099f",
      "ClassType": 0,
      "TeacherId": "f4d6a4dd-96e0-4aeb-a4c9-03370401d8b2",
      "StudentId": "d243145c-743a-438f-a98c-9a3b3235310b",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-09-28T03:07:16.6197293+00:00",
      "DateCompleted": "2026-09-28T03:07:16.6197293+00:00",
      "Created": "2026-09-28T03:07:16.6197293+00:00",
      "LastUpdated": "2026-09-28T03:07:16.6197293+00:00"
    }
  ]
}