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": "a7fb903f-8ff0-41ff-b3ef-5a596cac7e2c",
      "TeacherId": "79b558cd-0b4c-475a-8a42-e40ef810e06d",
      "RegistrationId": "cb55fec7-6012-4118-9116-6a0aaa999fd2",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "87639c94-7654-4d55-819c-d2764a22f230",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "87639c94-7654-4d55-819c-d2764a22f230",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "a7fb903f-8ff0-41ff-b3ef-5a596cac7e2c",
      "TeacherId": "79b558cd-0b4c-475a-8a42-e40ef810e06d",
      "RegistrationId": "cb55fec7-6012-4118-9116-6a0aaa999fd2",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "87639c94-7654-4d55-819c-d2764a22f230",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "87639c94-7654-4d55-819c-d2764a22f230",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "5c4f0d02-38ed-49e1-95b6-b4f4854b45ee",
      "ClassType": 0,
      "TeacherId": "66ecf706-be04-40f9-9d30-5f225e7c2ce6",
      "StudentId": "3aacd1c2-67a8-4462-8f09-5bc76ee0bb5e",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-10-06T12:23:13.7750703+00:00",
      "DateCompleted": "2026-10-06T12:23:13.7750703+00:00",
      "Created": "2026-10-06T12:23:13.7750703+00:00",
      "LastUpdated": "2026-10-06T12:23:13.7750703+00:00"
    },
    {
      "Id": "5c4f0d02-38ed-49e1-95b6-b4f4854b45ee",
      "ClassType": 0,
      "TeacherId": "66ecf706-be04-40f9-9d30-5f225e7c2ce6",
      "StudentId": "3aacd1c2-67a8-4462-8f09-5bc76ee0bb5e",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-10-06T12:23:13.7750703+00:00",
      "DateCompleted": "2026-10-06T12:23:13.7750703+00:00",
      "Created": "2026-10-06T12:23:13.7750703+00:00",
      "LastUpdated": "2026-10-06T12:23:13.7750703+00:00"
    }
  ]
}