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": "a86858f7-4c60-4acc-b80d-5010335cf4e5",
      "TeacherId": "999fc734-4da6-4e94-8c5d-ce2b0ac62f0e",
      "RegistrationId": "41adc9ff-f78e-4e5f-965e-31bca4973c15",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "f729c0b5-97c5-4b0f-aa77-8217c81ad92d",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "f729c0b5-97c5-4b0f-aa77-8217c81ad92d",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "a86858f7-4c60-4acc-b80d-5010335cf4e5",
      "TeacherId": "999fc734-4da6-4e94-8c5d-ce2b0ac62f0e",
      "RegistrationId": "41adc9ff-f78e-4e5f-965e-31bca4973c15",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "f729c0b5-97c5-4b0f-aa77-8217c81ad92d",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "f729c0b5-97c5-4b0f-aa77-8217c81ad92d",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "f0c0a0c2-3c3f-4b99-ad4d-46b90ea325bd",
      "ClassType": 0,
      "TeacherId": "fc962f80-51b2-4a54-8234-52befdc23ebc",
      "StudentId": "01e6113c-9d18-49b3-8b5f-1109fe5a9ee5",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-09-23T17:58:13.0899704+00:00",
      "DateCompleted": "2026-09-23T17:58:13.0899704+00:00",
      "Created": "2026-09-23T17:58:13.0899704+00:00",
      "LastUpdated": "2026-09-23T17:58:13.0899704+00:00"
    },
    {
      "Id": "f0c0a0c2-3c3f-4b99-ad4d-46b90ea325bd",
      "ClassType": 0,
      "TeacherId": "fc962f80-51b2-4a54-8234-52befdc23ebc",
      "StudentId": "01e6113c-9d18-49b3-8b5f-1109fe5a9ee5",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-09-23T17:58:13.0899704+00:00",
      "DateCompleted": "2026-09-23T17:58:13.0899704+00:00",
      "Created": "2026-09-23T17:58:13.0899704+00:00",
      "LastUpdated": "2026-09-23T17:58:13.0899704+00:00"
    }
  ]
}