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": "25ecd49a-1ba0-4352-94f6-14ac28acdcb5",
      "TeacherId": "f82bd410-c9cc-4c73-9c31-c381cbb03ec1",
      "RegistrationId": "00dbbe17-3341-4450-8700-e408c6fdeeec",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "c77b6342-681c-411b-9901-765e6b268ae6",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "c77b6342-681c-411b-9901-765e6b268ae6",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "25ecd49a-1ba0-4352-94f6-14ac28acdcb5",
      "TeacherId": "f82bd410-c9cc-4c73-9c31-c381cbb03ec1",
      "RegistrationId": "00dbbe17-3341-4450-8700-e408c6fdeeec",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "c77b6342-681c-411b-9901-765e6b268ae6",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "c77b6342-681c-411b-9901-765e6b268ae6",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "3d4bf110-c0b7-4315-840e-6e543940709a",
      "ClassType": 0,
      "TeacherId": "8846decf-7e2e-42a2-bb4c-e73529954ac3",
      "StudentId": "6a22427f-6d8b-460a-8abf-7c9b2c8f6dad",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-02-11T11:25:09.4517812+00:00",
      "DateCompleted": "2026-02-11T11:25:09.4517812+00:00",
      "Created": "2026-02-11T11:25:09.4517812+00:00",
      "LastUpdated": "2026-02-11T11:25:09.4517812+00:00"
    },
    {
      "Id": "3d4bf110-c0b7-4315-840e-6e543940709a",
      "ClassType": 0,
      "TeacherId": "8846decf-7e2e-42a2-bb4c-e73529954ac3",
      "StudentId": "6a22427f-6d8b-460a-8abf-7c9b2c8f6dad",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-02-11T11:25:09.4517812+00:00",
      "DateCompleted": "2026-02-11T11:25:09.4517812+00:00",
      "Created": "2026-02-11T11:25:09.4517812+00:00",
      "LastUpdated": "2026-02-11T11:25:09.4517812+00:00"
    }
  ]
}