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": "4315b8b9-fa91-4634-b0f7-3d1919ee0fc5",
      "TeacherId": "715798a7-c295-4085-96b8-15f09f511aa6",
      "RegistrationId": "de1cb9ba-7a33-4099-b4d2-2f05b83d72fa",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "3af2ceeb-71d8-4e9e-ab7c-9e498ce7d3f5",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "3af2ceeb-71d8-4e9e-ab7c-9e498ce7d3f5",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "4315b8b9-fa91-4634-b0f7-3d1919ee0fc5",
      "TeacherId": "715798a7-c295-4085-96b8-15f09f511aa6",
      "RegistrationId": "de1cb9ba-7a33-4099-b4d2-2f05b83d72fa",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "3af2ceeb-71d8-4e9e-ab7c-9e498ce7d3f5",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "3af2ceeb-71d8-4e9e-ab7c-9e498ce7d3f5",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "b7001751-163f-4893-afc0-b730007321c9",
      "ClassType": 0,
      "TeacherId": "30ae5c2a-6cf0-415a-b5d1-e4a1db52c637",
      "StudentId": "70c899cc-8d68-42e1-b700-8db2425102cd",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-09-25T13:15:35.4773244+00:00",
      "DateCompleted": "2026-09-25T13:15:35.4773244+00:00",
      "Created": "2026-09-25T13:15:35.4773244+00:00",
      "LastUpdated": "2026-09-25T13:15:35.4773244+00:00"
    },
    {
      "Id": "b7001751-163f-4893-afc0-b730007321c9",
      "ClassType": 0,
      "TeacherId": "30ae5c2a-6cf0-415a-b5d1-e4a1db52c637",
      "StudentId": "70c899cc-8d68-42e1-b700-8db2425102cd",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-09-25T13:15:35.4773244+00:00",
      "DateCompleted": "2026-09-25T13:15:35.4773244+00:00",
      "Created": "2026-09-25T13:15:35.4773244+00:00",
      "LastUpdated": "2026-09-25T13:15:35.4773244+00:00"
    }
  ]
}