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": "d03c81fc-9140-45a2-ac52-c6efdc53dabe",
      "TeacherId": "efcdd36f-4a91-4290-bdad-cc4ffcc05994",
      "RegistrationId": "a375b88c-9025-4fb7-8c39-92a820ba0108",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "71ad8f1b-3c3f-4023-bccc-11268ac1bf77",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "71ad8f1b-3c3f-4023-bccc-11268ac1bf77",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "d03c81fc-9140-45a2-ac52-c6efdc53dabe",
      "TeacherId": "efcdd36f-4a91-4290-bdad-cc4ffcc05994",
      "RegistrationId": "a375b88c-9025-4fb7-8c39-92a820ba0108",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "71ad8f1b-3c3f-4023-bccc-11268ac1bf77",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "71ad8f1b-3c3f-4023-bccc-11268ac1bf77",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "483984cc-cae5-4ef2-befe-0ffefa23eac8",
      "ClassType": 0,
      "TeacherId": "804777a0-3f8a-4679-b905-7dfb6b251719",
      "StudentId": "a3a72cda-97db-43ab-9c04-5dd37acb4627",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-02-25T13:06:22.8505423+00:00",
      "DateCompleted": "2026-02-25T13:06:22.8505423+00:00",
      "Created": "2026-02-25T13:06:22.8505423+00:00",
      "LastUpdated": "2026-02-25T13:06:22.8505423+00:00"
    },
    {
      "Id": "483984cc-cae5-4ef2-befe-0ffefa23eac8",
      "ClassType": 0,
      "TeacherId": "804777a0-3f8a-4679-b905-7dfb6b251719",
      "StudentId": "a3a72cda-97db-43ab-9c04-5dd37acb4627",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-02-25T13:06:22.8505423+00:00",
      "DateCompleted": "2026-02-25T13:06:22.8505423+00:00",
      "Created": "2026-02-25T13:06:22.8505423+00:00",
      "LastUpdated": "2026-02-25T13:06:22.8505423+00:00"
    }
  ]
}