GET students/{userIdentifier}/registrations/current/contentItem
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
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userIdentifier | PearsonEnglish.LearningServices.Business.Helpers.UserIdentifier |
Required |
Body Parameters
None.
Response Information
Resource Description
PearsonEnglish.LearningServices.Wse.Models.Views.StudentCategoriesHierarchyViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Hierarchy | Collection of PearsonEnglish.LearningServices.Data.Models.CategoryNumber |
None. |
Response Formats
application/json, text/json
Sample:
{
"Hierarchy": [
{
"Id": "524eac84-1df8-4fa5-93f0-87ee37e8333c",
"TypeName": "sample string 2",
"Number": 1
},
{
"Id": "524eac84-1df8-4fa5-93f0-87ee37e8333c",
"TypeName": "sample string 2",
"Number": 1
}
]
}