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": "6e70a6cb-7e4f-46ee-9cb6-d21ff086e686",
      "TeacherId": "d8ac7fe6-4d40-431d-9be9-f98ee5761a1c",
      "RegistrationId": "7cdb0d33-021f-4360-89f8-6081af23a471",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "a76e8e41-48f6-4823-8074-6a531605097d",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "a76e8e41-48f6-4823-8074-6a531605097d",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "6e70a6cb-7e4f-46ee-9cb6-d21ff086e686",
      "TeacherId": "d8ac7fe6-4d40-431d-9be9-f98ee5761a1c",
      "RegistrationId": "7cdb0d33-021f-4360-89f8-6081af23a471",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "a76e8e41-48f6-4823-8074-6a531605097d",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "a76e8e41-48f6-4823-8074-6a531605097d",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "7961e11b-0630-4e78-a3c6-81d3ed69c5cf",
      "ClassType": 0,
      "TeacherId": "b2fb9012-c964-4de5-aa44-1cb32e51990c",
      "StudentId": "390cc157-748d-475e-89c0-e7814cf40c8e",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-08-31T22:15:22.0680173+00:00",
      "DateCompleted": "2026-08-31T22:15:22.0680173+00:00",
      "Created": "2026-08-31T22:15:22.0680173+00:00",
      "LastUpdated": "2026-08-31T22:15:22.0680173+00:00"
    },
    {
      "Id": "7961e11b-0630-4e78-a3c6-81d3ed69c5cf",
      "ClassType": 0,
      "TeacherId": "b2fb9012-c964-4de5-aa44-1cb32e51990c",
      "StudentId": "390cc157-748d-475e-89c0-e7814cf40c8e",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-08-31T22:15:22.0680173+00:00",
      "DateCompleted": "2026-08-31T22:15:22.0680173+00:00",
      "Created": "2026-08-31T22:15:22.0680173+00:00",
      "LastUpdated": "2026-08-31T22:15:22.0680173+00:00"
    }
  ]
}