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": "e75fd7d9-4072-4795-8f5b-a4269b4b6817",
      "TeacherId": "c25bb8f8-b3bc-4866-8d52-3e5f2de1fd25",
      "RegistrationId": "d9b6d1fa-7a07-48ef-9b6d-c02d946bc108",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "261c252a-5c65-410c-baa8-8ba0d9fe7500",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "261c252a-5c65-410c-baa8-8ba0d9fe7500",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "e75fd7d9-4072-4795-8f5b-a4269b4b6817",
      "TeacherId": "c25bb8f8-b3bc-4866-8d52-3e5f2de1fd25",
      "RegistrationId": "d9b6d1fa-7a07-48ef-9b6d-c02d946bc108",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "261c252a-5c65-410c-baa8-8ba0d9fe7500",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "261c252a-5c65-410c-baa8-8ba0d9fe7500",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "1f738057-d8d9-443e-8c50-3d6fc13d3f7d",
      "ClassType": 0,
      "TeacherId": "2d2265df-4d00-47ff-a42b-46532c02786d",
      "StudentId": "c9fa9895-a87f-454f-b257-fd72965f3cbe",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-06-24T19:42:07.0655379+00:00",
      "DateCompleted": "2026-06-24T19:42:07.0655379+00:00",
      "Created": "2026-06-24T19:42:07.0655379+00:00",
      "LastUpdated": "2026-06-24T19:42:07.0655379+00:00"
    },
    {
      "Id": "1f738057-d8d9-443e-8c50-3d6fc13d3f7d",
      "ClassType": 0,
      "TeacherId": "2d2265df-4d00-47ff-a42b-46532c02786d",
      "StudentId": "c9fa9895-a87f-454f-b257-fd72965f3cbe",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-06-24T19:42:07.0655379+00:00",
      "DateCompleted": "2026-06-24T19:42:07.0655379+00:00",
      "Created": "2026-06-24T19:42:07.0655379+00:00",
      "LastUpdated": "2026-06-24T19:42:07.0655379+00:00"
    }
  ]
}