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": "c01f0e70-611d-4c81-b155-941b4fef57f9",
      "TeacherId": "6eb12bae-44c9-4bc6-ad42-068de94702f7",
      "RegistrationId": "94b2cf65-5990-42ee-80ab-92af56b46498",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "04696eb7-0db9-4b64-8e2a-14dd3e412c94",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "04696eb7-0db9-4b64-8e2a-14dd3e412c94",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "c01f0e70-611d-4c81-b155-941b4fef57f9",
      "TeacherId": "6eb12bae-44c9-4bc6-ad42-068de94702f7",
      "RegistrationId": "94b2cf65-5990-42ee-80ab-92af56b46498",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "04696eb7-0db9-4b64-8e2a-14dd3e412c94",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "04696eb7-0db9-4b64-8e2a-14dd3e412c94",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "9c8decc6-88e4-4764-8682-082e27639af1",
      "ClassType": 0,
      "TeacherId": "6cf3645c-8099-47a2-87b7-365a3a630a91",
      "StudentId": "2b0eb440-b108-421e-baef-a289d6cad6f0",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-10-21T20:32:05.8439905+00:00",
      "DateCompleted": "2026-10-21T20:32:05.8439905+00:00",
      "Created": "2026-10-21T20:32:05.8439905+00:00",
      "LastUpdated": "2026-10-21T20:32:05.8439905+00:00"
    },
    {
      "Id": "9c8decc6-88e4-4764-8682-082e27639af1",
      "ClassType": 0,
      "TeacherId": "6cf3645c-8099-47a2-87b7-365a3a630a91",
      "StudentId": "2b0eb440-b108-421e-baef-a289d6cad6f0",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-10-21T20:32:05.8439905+00:00",
      "DateCompleted": "2026-10-21T20:32:05.8439905+00:00",
      "Created": "2026-10-21T20:32:05.8439905+00:00",
      "LastUpdated": "2026-10-21T20:32:05.8439905+00:00"
    }
  ]
}