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": "6c032391-910c-4bbb-9c45-340e6c1f3bce",
      "TeacherId": "99cef1d1-e694-4b82-935c-6805b014e204",
      "RegistrationId": "81f82468-dddc-4cdd-840a-ee7f34fea48e",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "678fdf0d-21eb-48cd-821a-ff64649bc873",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "678fdf0d-21eb-48cd-821a-ff64649bc873",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "6c032391-910c-4bbb-9c45-340e6c1f3bce",
      "TeacherId": "99cef1d1-e694-4b82-935c-6805b014e204",
      "RegistrationId": "81f82468-dddc-4cdd-840a-ee7f34fea48e",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "678fdf0d-21eb-48cd-821a-ff64649bc873",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "678fdf0d-21eb-48cd-821a-ff64649bc873",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "ea42a261-8e25-4920-9b22-798d88c8f245",
      "ClassType": 0,
      "TeacherId": "9f766e20-cfad-4d27-a8df-ff3488ac43e6",
      "StudentId": "9b0f6148-7fbe-48f5-86cc-2d9aa1172f30",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-06-13T08:44:52.7473111+00:00",
      "DateCompleted": "2026-06-13T08:44:52.7473111+00:00",
      "Created": "2026-06-13T08:44:52.7473111+00:00",
      "LastUpdated": "2026-06-13T08:44:52.7473111+00:00"
    },
    {
      "Id": "ea42a261-8e25-4920-9b22-798d88c8f245",
      "ClassType": 0,
      "TeacherId": "9f766e20-cfad-4d27-a8df-ff3488ac43e6",
      "StudentId": "9b0f6148-7fbe-48f5-86cc-2d9aa1172f30",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-06-13T08:44:52.7473111+00:00",
      "DateCompleted": "2026-06-13T08:44:52.7473111+00:00",
      "Created": "2026-06-13T08:44:52.7473111+00:00",
      "LastUpdated": "2026-06-13T08:44:52.7473111+00:00"
    }
  ]
}