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": "0fb2125f-cb6d-4c25-ab5b-31c95a39cd65",
      "TeacherId": "77f2a69a-3e24-4ee8-9671-5495075bac36",
      "RegistrationId": "e66be77e-3ada-42e7-be6d-32cbf7b6fe24",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "e86ae8da-ffd4-45b2-8891-ce7cf312202a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "e86ae8da-ffd4-45b2-8891-ce7cf312202a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "0fb2125f-cb6d-4c25-ab5b-31c95a39cd65",
      "TeacherId": "77f2a69a-3e24-4ee8-9671-5495075bac36",
      "RegistrationId": "e66be77e-3ada-42e7-be6d-32cbf7b6fe24",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "e86ae8da-ffd4-45b2-8891-ce7cf312202a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "e86ae8da-ffd4-45b2-8891-ce7cf312202a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "c552fee6-5b8a-46e1-9ce5-2a430210b8b2",
      "ClassType": 0,
      "TeacherId": "42a8b344-11c7-4ff9-abbf-ebc1835322f3",
      "StudentId": "199a3ef2-3bcd-4f8a-b029-403ba0eaa7ae",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-12-25T22:52:33.0796469+00:00",
      "DateCompleted": "2025-12-25T22:52:33.0796469+00:00",
      "Created": "2025-12-25T22:52:33.0796469+00:00",
      "LastUpdated": "2025-12-25T22:52:33.0796469+00:00"
    },
    {
      "Id": "c552fee6-5b8a-46e1-9ce5-2a430210b8b2",
      "ClassType": 0,
      "TeacherId": "42a8b344-11c7-4ff9-abbf-ebc1835322f3",
      "StudentId": "199a3ef2-3bcd-4f8a-b029-403ba0eaa7ae",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-12-25T22:52:33.0796469+00:00",
      "DateCompleted": "2025-12-25T22:52:33.0796469+00:00",
      "Created": "2025-12-25T22:52:33.0796469+00:00",
      "LastUpdated": "2025-12-25T22:52:33.0796469+00:00"
    }
  ]
}