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": "4758f1f6-a0c0-4db8-85e7-f1733b80e848",
      "TeacherId": "1001d140-81de-4197-9ab0-e55e2e8e4151",
      "RegistrationId": "05685c40-ff90-4114-9fbf-b785d828cc62",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "8f5fa867-5828-408e-829e-4473b5a6cc74",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "8f5fa867-5828-408e-829e-4473b5a6cc74",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "4758f1f6-a0c0-4db8-85e7-f1733b80e848",
      "TeacherId": "1001d140-81de-4197-9ab0-e55e2e8e4151",
      "RegistrationId": "05685c40-ff90-4114-9fbf-b785d828cc62",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "8f5fa867-5828-408e-829e-4473b5a6cc74",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "8f5fa867-5828-408e-829e-4473b5a6cc74",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "1ab62da0-160a-4853-9870-47722c9861eb",
      "ClassType": 0,
      "TeacherId": "df7ee926-1c92-4fd9-873f-4a291a3a41b8",
      "StudentId": "90c22eb6-f72c-47a5-88ca-3d21f8157100",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-22T00:31:42.3442061+00:00",
      "DateCompleted": "2026-03-22T00:31:42.3442061+00:00",
      "Created": "2026-03-22T00:31:42.3442061+00:00",
      "LastUpdated": "2026-03-22T00:31:42.3442061+00:00"
    },
    {
      "Id": "1ab62da0-160a-4853-9870-47722c9861eb",
      "ClassType": 0,
      "TeacherId": "df7ee926-1c92-4fd9-873f-4a291a3a41b8",
      "StudentId": "90c22eb6-f72c-47a5-88ca-3d21f8157100",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-22T00:31:42.3442061+00:00",
      "DateCompleted": "2026-03-22T00:31:42.3442061+00:00",
      "Created": "2026-03-22T00:31:42.3442061+00:00",
      "LastUpdated": "2026-03-22T00:31:42.3442061+00:00"
    }
  ]
}