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": "548ccd6c-7e86-4c8b-9a4b-950131974865",
      "TeacherId": "b17a47ac-449f-46b2-93ff-a8f496170763",
      "RegistrationId": "fe5632d0-7aca-4868-85ae-8d62607a03c7",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "8c2253d0-a875-4b44-8f98-63657ea5a831",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "8c2253d0-a875-4b44-8f98-63657ea5a831",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "548ccd6c-7e86-4c8b-9a4b-950131974865",
      "TeacherId": "b17a47ac-449f-46b2-93ff-a8f496170763",
      "RegistrationId": "fe5632d0-7aca-4868-85ae-8d62607a03c7",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "8c2253d0-a875-4b44-8f98-63657ea5a831",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "8c2253d0-a875-4b44-8f98-63657ea5a831",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "2a4ea176-9f84-4cbb-a906-633affca3bfd",
      "ClassType": 0,
      "TeacherId": "91a0a860-7d4d-4150-8c68-86b9c5cf1f6f",
      "StudentId": "aa455e7b-f8e1-4a40-8ed4-301be1a1c9ef",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-11-30T16:20:58.7525193+00:00",
      "DateCompleted": "2025-11-30T16:20:58.7525193+00:00",
      "Created": "2025-11-30T16:20:58.7525193+00:00",
      "LastUpdated": "2025-11-30T16:20:58.7525193+00:00"
    },
    {
      "Id": "2a4ea176-9f84-4cbb-a906-633affca3bfd",
      "ClassType": 0,
      "TeacherId": "91a0a860-7d4d-4150-8c68-86b9c5cf1f6f",
      "StudentId": "aa455e7b-f8e1-4a40-8ed4-301be1a1c9ef",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-11-30T16:20:58.7525193+00:00",
      "DateCompleted": "2025-11-30T16:20:58.7525193+00:00",
      "Created": "2025-11-30T16:20:58.7525193+00:00",
      "LastUpdated": "2025-11-30T16:20:58.7525193+00:00"
    }
  ]
}