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": "6b8897fc-99b9-4d7f-b6b9-be97e569b51e",
      "TeacherId": "fc066f8a-5642-4f78-9ce7-e6391d478fb6",
      "RegistrationId": "0c22e82d-1222-4be3-95ea-81e74707ef5c",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "b45e80dd-6ca7-4970-8d53-982efe0f542e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "b45e80dd-6ca7-4970-8d53-982efe0f542e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "6b8897fc-99b9-4d7f-b6b9-be97e569b51e",
      "TeacherId": "fc066f8a-5642-4f78-9ce7-e6391d478fb6",
      "RegistrationId": "0c22e82d-1222-4be3-95ea-81e74707ef5c",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "b45e80dd-6ca7-4970-8d53-982efe0f542e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "b45e80dd-6ca7-4970-8d53-982efe0f542e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "62c93e26-fa5a-4301-9f19-2f776b43e0e6",
      "ClassType": 0,
      "TeacherId": "989a5dd6-898a-4a19-a00c-c4b5aea71252",
      "StudentId": "42f0c1f4-ca37-4ee0-bffe-6abfa532e8e9",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-10-14T23:39:07.862296+00:00",
      "DateCompleted": "2025-10-14T23:39:07.862296+00:00",
      "Created": "2025-10-14T23:39:07.862296+00:00",
      "LastUpdated": "2025-10-14T23:39:07.862296+00:00"
    },
    {
      "Id": "62c93e26-fa5a-4301-9f19-2f776b43e0e6",
      "ClassType": 0,
      "TeacherId": "989a5dd6-898a-4a19-a00c-c4b5aea71252",
      "StudentId": "42f0c1f4-ca37-4ee0-bffe-6abfa532e8e9",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-10-14T23:39:07.862296+00:00",
      "DateCompleted": "2025-10-14T23:39:07.862296+00:00",
      "Created": "2025-10-14T23:39:07.862296+00:00",
      "LastUpdated": "2025-10-14T23:39:07.862296+00:00"
    }
  ]
}