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": "cc047672-e408-42d5-a5e0-eae7c045b7a7",
      "TeacherId": "8b218d34-b434-4d00-8424-36c54fd810a8",
      "RegistrationId": "c9379659-82a4-4cfd-83b5-62a27864c41e",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "4b8f1d8e-06fd-4427-b2ed-0ce9eb1d23a2",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "4b8f1d8e-06fd-4427-b2ed-0ce9eb1d23a2",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "cc047672-e408-42d5-a5e0-eae7c045b7a7",
      "TeacherId": "8b218d34-b434-4d00-8424-36c54fd810a8",
      "RegistrationId": "c9379659-82a4-4cfd-83b5-62a27864c41e",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "4b8f1d8e-06fd-4427-b2ed-0ce9eb1d23a2",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "4b8f1d8e-06fd-4427-b2ed-0ce9eb1d23a2",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "0e222e0d-83ba-4877-85c8-a8fb6d18c1db",
      "ClassType": 0,
      "TeacherId": "15f3f414-d909-459f-b944-9a57f542d6cb",
      "StudentId": "d7471716-0a2b-47ac-ae3f-e61c9d2eaf53",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-12-11T07:03:26.4013229+00:00",
      "DateCompleted": "2025-12-11T07:03:26.4013229+00:00",
      "Created": "2025-12-11T07:03:26.4013229+00:00",
      "LastUpdated": "2025-12-11T07:03:26.4013229+00:00"
    },
    {
      "Id": "0e222e0d-83ba-4877-85c8-a8fb6d18c1db",
      "ClassType": 0,
      "TeacherId": "15f3f414-d909-459f-b944-9a57f542d6cb",
      "StudentId": "d7471716-0a2b-47ac-ae3f-e61c9d2eaf53",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-12-11T07:03:26.4013229+00:00",
      "DateCompleted": "2025-12-11T07:03:26.4013229+00:00",
      "Created": "2025-12-11T07:03:26.4013229+00:00",
      "LastUpdated": "2025-12-11T07:03:26.4013229+00:00"
    }
  ]
}