GET users/{userIdentifier}/materials?sortInfo.SortBy={sortInfo.SortBy}&sortInfo.Direction={sortInfo.Direction}&pageInfo.Count={pageInfo.Count}&pageInfo.Offset={pageInfo.Offset}

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 matches identifier given in "userIdentifier, studentIdentifier" uri parameter. Authenticated user is a staff member and is assigned to the same center as a user who matches identifier given in "userIdentifier, studentIdentifier" uri parameter.
  • Authenticated user who is either StaffMember, Student

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userIdentifier

PearsonEnglish.LearningServices.Business.Helpers.UserIdentifier

Required

SortBy

string

None.

Direction

PearsonEnglish.LearningServices.Core.Models.Enums.Direction

None.

Count

integer

None.

Offset

integer

None.

Body Parameters

None.

Response Information

Resource Description

PearsonEnglish.LearningServices.Core.Models.Views.MaterialsViewModel
NameDescriptionTypeAdditional information
Classroom

PagedCollectionOfPearsonEnglish.LearningServices.Core.Models.Views.StudentMaterialAssignmentViewModel

None.

Homework

PagedCollectionOfPearsonEnglish.LearningServices.Core.Models.Views.StudentMaterialAssignmentViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Classroom": null,
  "Homework": null
}