GET users/{userIdentifier}/state
Gets the User's state information.
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 is a staff member and is assigned to the online center as a user who matches identifier given in "userIdentifier, studentIdentifier" uri parameter. Authenticated user matches identifier given in "userIdentifier, studentIdentifier" uri parameter.
- Authenticated user who is either StaffMember, Student, Administrator, ProspectWithTrial, User
- Authenticated user who is either StaffMember, Student, QA, ISUSTeacher, Administrator, FocusTool, ProspectWithTrial, User
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userIdentifier |
user's identifier |
PearsonEnglish.LearningServices.Business.Helpers.UserIdentifier |
Required |
Body Parameters
None.
Response Information
Resource Description
PearsonEnglish.LearningServices.Core.Models.Views.UserStateBackwardCompatibleViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | globally unique identifier |
None. |
|
| IsNewUser | boolean |
None. |
|
| UserName | string |
None. |
|
| PrivacyPolicyApprove | boolean |
None. |
|
| ServerTime | date |
None. |
|
| Registration | PearsonEnglish.LearningServices.Core.Models.Views.RegistrationViewModel |
None. |
|
| TimeZone | PearsonEnglish.LearningServices.Core.Models.Views.TimeZoneViewModel |
None. |
|
| Bookmarks | Dictionary of string [key] and PearsonEnglish.LearningServices.Core.Models.Views.ContentItemViewModel [value] |
None. |
|
| CurrentCourse | PearsonEnglish.LearningServices.Core.Models.CurrentCourse |
None. |
|
| Lessons | Collection of PearsonEnglish.LearningServices.Core.Models.Views.ContentItemResultViewModel |
None. |
|
| Surveys | Collection of PearsonEnglish.LearningServices.Core.Models.Views.UserSurveyViewModel |
None. |
|
| Sessions | Collection of PearsonEnglish.LearningServices.Core.Models.Views.UserSessionStateViewModel |
None. |
|
| TotalRescheduleCount | integer |
None. |
|
| StudentLevelInfo | PearsonEnglish.LearningServices.Core.Models.StudentLevelInfo |
None. |
Response Formats
application/json
Sample:
{
"UserId": "3942de8e-724c-4583-92a0-1ae9875b2b45",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-08-26T11:47:04.5922941+00:00",
"Registration": {
"Id": "0879e9c0-1f1c-4643-b4a1-eb366ece3699",
"UserId": "71c2eb38-baf7-41b3-98c0-ec9b83312dd8",
"IsCurrent": true,
"CenterId": "976a1ea8-f6cf-45d7-9e33-5e35a8c3b038",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "fcbdfbd6-2fc8-44d4-af50-1ceab44af178",
"EndDate": "2026-08-26T11:47:04.5766709+00:00",
"StartDate": "2026-08-26T11:47:04.5766709+00:00",
"SchedulePreferenceDate": "2026-08-26T11:47:04.5766709+00:00",
"TypeName": "sample string 10",
"WorkbookType": 0,
"EnglishAnytime": true,
"AllowSelfBooking": true,
"RegistrationStatus": "sample string 12",
"CourseStatus": "sample string 13",
"StudentCurrentContractStatus": "sample string 14",
"OnlineClassAccess": true,
"InCenterClassAccess": true,
"IsMembership": true,
"IsPromo": true,
"OnboardingAccess": true,
"IsCrossCenterBooking": true,
"IsTeen": true,
"IsGroupContract": true,
"IsB2B": true,
"ServiceType": 1,
"LabTeacherReferenceId": "sample string 24",
"ConsultantReferenceId": "sample string 25"
},
"TimeZone": {
"Name": "sample string 1",
"IanaName": "sample string 2",
"LocalUtcOffset": "00:00:00.1234567",
"LocalDateTime": "2026-08-26T11:47:04.5766709+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "fb98cf64-0479-4c0f-aaa9-076d2376ea78",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "b01a98cd-a514-4a12-b77d-0f9a8e2dca8b",
"Sequence": 1,
"AncestorCategoryId": "33e49568-75fd-4648-95cd-6fbac364ee97",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "e09376d4-69fa-459a-9953-0a413f00ff94",
"Type": "sample string 2",
"Sequence": 1,
"Path": "sample string 3",
"Attributes": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"ChildCategories": []
},
{
"Id": "e09376d4-69fa-459a-9953-0a413f00ff94",
"Type": "sample string 2",
"Sequence": 1,
"Path": "sample string 3",
"Attributes": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"ChildCategories": []
}
],
"ContentOptimizationLevelId": 7,
"ContentOptimizationLevelName": "sample string 8"
},
"sample string 2": {
"Id": "fb98cf64-0479-4c0f-aaa9-076d2376ea78",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "b01a98cd-a514-4a12-b77d-0f9a8e2dca8b",
"Sequence": 1,
"AncestorCategoryId": "33e49568-75fd-4648-95cd-6fbac364ee97",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "e09376d4-69fa-459a-9953-0a413f00ff94",
"Type": "sample string 2",
"Sequence": 1,
"Path": "sample string 3",
"Attributes": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"ChildCategories": []
},
{
"Id": "e09376d4-69fa-459a-9953-0a413f00ff94",
"Type": "sample string 2",
"Sequence": 1,
"Path": "sample string 3",
"Attributes": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"ChildCategories": []
}
],
"ContentOptimizationLevelId": 7,
"ContentOptimizationLevelName": "sample string 8"
}
},
"CurrentCourse": {
"Id": "ef0a2748-4c1e-4a59-8db3-c0bf5f2b7429",
"CategoryId": "266cd9fb-328b-4836-89c3-5d73c9111be5",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "482746be-1799-406f-8175-e193f0e8a697",
"Score": 1.0,
"State": 1
},
{
"Id": "482746be-1799-406f-8175-e193f0e8a697",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "8166cc2a-0d0e-45a7-8ba5-f70ecc98af35",
"Questions": [
{
"Id": "3238a144-8a56-414f-95e9-37e95e46a7a9",
"Answers": "sample string 2"
},
{
"Id": "3238a144-8a56-414f-95e9-37e95e46a7a9",
"Answers": "sample string 2"
}
]
},
{
"Id": "8166cc2a-0d0e-45a7-8ba5-f70ecc98af35",
"Questions": [
{
"Id": "3238a144-8a56-414f-95e9-37e95e46a7a9",
"Answers": "sample string 2"
},
{
"Id": "3238a144-8a56-414f-95e9-37e95e46a7a9",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "e058fb56-496f-4f70-b63c-7d682e98e746",
"ContentItemId": "29810d15-a403-4f39-a839-305163caf25f",
"Status": "sample string 3",
"TeacherFeedbacks": [
{
"Type": "sample string 1",
"Value1": "sample string 2",
"Value2": "sample string 3"
},
{
"Type": "sample string 1",
"Value1": "sample string 2",
"Value2": "sample string 3"
}
],
"RatingDate": "2026-08-26T11:47:04.5766709+00:00",
"RescheduleDate": "2026-08-26T11:47:04.5766709+00:00"
},
{
"Id": "e058fb56-496f-4f70-b63c-7d682e98e746",
"ContentItemId": "29810d15-a403-4f39-a839-305163caf25f",
"Status": "sample string 3",
"TeacherFeedbacks": [
{
"Type": "sample string 1",
"Value1": "sample string 2",
"Value2": "sample string 3"
},
{
"Type": "sample string 1",
"Value1": "sample string 2",
"Value2": "sample string 3"
}
],
"RatingDate": "2026-08-26T11:47:04.5766709+00:00",
"RescheduleDate": "2026-08-26T11:47:04.5766709+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "3942de8e-724c-4583-92a0-1ae9875b2b45",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-08-26T11:47:04.6235459+00:00",
"Registration": {
"Id": "0879e9c0-1f1c-4643-b4a1-eb366ece3699",
"UserId": "71c2eb38-baf7-41b3-98c0-ec9b83312dd8",
"IsCurrent": true,
"CenterId": "976a1ea8-f6cf-45d7-9e33-5e35a8c3b038",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "fcbdfbd6-2fc8-44d4-af50-1ceab44af178",
"EndDate": "2026-08-26T11:47:04.5766709+00:00",
"StartDate": "2026-08-26T11:47:04.5766709+00:00",
"SchedulePreferenceDate": "2026-08-26T11:47:04.5766709+00:00",
"TypeName": "sample string 10",
"WorkbookType": 0,
"EnglishAnytime": true,
"AllowSelfBooking": true,
"RegistrationStatus": "sample string 12",
"CourseStatus": "sample string 13",
"StudentCurrentContractStatus": "sample string 14",
"OnlineClassAccess": true,
"InCenterClassAccess": true,
"IsMembership": true,
"IsPromo": true,
"OnboardingAccess": true,
"IsCrossCenterBooking": true,
"IsTeen": true,
"IsGroupContract": true,
"IsB2B": true,
"ServiceType": 1,
"LabTeacherReferenceId": "sample string 24",
"ConsultantReferenceId": "sample string 25"
},
"TimeZone": {
"Name": "sample string 1",
"IanaName": "sample string 2",
"LocalUtcOffset": "00:00:00.1234567",
"LocalDateTime": "2026-08-26T11:47:04.5766709+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "fb98cf64-0479-4c0f-aaa9-076d2376ea78",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "b01a98cd-a514-4a12-b77d-0f9a8e2dca8b",
"Sequence": 1,
"AncestorCategoryId": "33e49568-75fd-4648-95cd-6fbac364ee97",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "e09376d4-69fa-459a-9953-0a413f00ff94",
"Type": "sample string 2",
"Sequence": 1,
"Path": "sample string 3",
"Attributes": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"ChildCategories": []
},
{
"Id": "e09376d4-69fa-459a-9953-0a413f00ff94",
"Type": "sample string 2",
"Sequence": 1,
"Path": "sample string 3",
"Attributes": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"ChildCategories": []
}
],
"ContentOptimizationLevelId": 7,
"ContentOptimizationLevelName": "sample string 8"
},
"sample string 2": {
"Id": "fb98cf64-0479-4c0f-aaa9-076d2376ea78",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "b01a98cd-a514-4a12-b77d-0f9a8e2dca8b",
"Sequence": 1,
"AncestorCategoryId": "33e49568-75fd-4648-95cd-6fbac364ee97",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "e09376d4-69fa-459a-9953-0a413f00ff94",
"Type": "sample string 2",
"Sequence": 1,
"Path": "sample string 3",
"Attributes": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"ChildCategories": []
},
{
"Id": "e09376d4-69fa-459a-9953-0a413f00ff94",
"Type": "sample string 2",
"Sequence": 1,
"Path": "sample string 3",
"Attributes": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"ChildCategories": []
}
],
"ContentOptimizationLevelId": 7,
"ContentOptimizationLevelName": "sample string 8"
}
},
"CurrentCourse": {
"Id": "ef0a2748-4c1e-4a59-8db3-c0bf5f2b7429",
"CategoryId": "266cd9fb-328b-4836-89c3-5d73c9111be5",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "482746be-1799-406f-8175-e193f0e8a697",
"Score": 1.0,
"State": 1
},
{
"Id": "482746be-1799-406f-8175-e193f0e8a697",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "8166cc2a-0d0e-45a7-8ba5-f70ecc98af35",
"Questions": [
{
"Id": "3238a144-8a56-414f-95e9-37e95e46a7a9",
"Answers": "sample string 2"
},
{
"Id": "3238a144-8a56-414f-95e9-37e95e46a7a9",
"Answers": "sample string 2"
}
]
},
{
"Id": "8166cc2a-0d0e-45a7-8ba5-f70ecc98af35",
"Questions": [
{
"Id": "3238a144-8a56-414f-95e9-37e95e46a7a9",
"Answers": "sample string 2"
},
{
"Id": "3238a144-8a56-414f-95e9-37e95e46a7a9",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "e058fb56-496f-4f70-b63c-7d682e98e746",
"ContentItemId": "29810d15-a403-4f39-a839-305163caf25f",
"Status": "sample string 3",
"TeacherFeedbacks": [
{
"Type": "sample string 1",
"Value1": "sample string 2",
"Value2": "sample string 3"
},
{
"Type": "sample string 1",
"Value1": "sample string 2",
"Value2": "sample string 3"
}
],
"RatingDate": "2026-08-26T11:47:04.5766709+00:00",
"RescheduleDate": "2026-08-26T11:47:04.5766709+00:00"
},
{
"Id": "e058fb56-496f-4f70-b63c-7d682e98e746",
"ContentItemId": "29810d15-a403-4f39-a839-305163caf25f",
"Status": "sample string 3",
"TeacherFeedbacks": [
{
"Type": "sample string 1",
"Value1": "sample string 2",
"Value2": "sample string 3"
},
{
"Type": "sample string 1",
"Value1": "sample string 2",
"Value2": "sample string 3"
}
],
"RatingDate": "2026-08-26T11:47:04.5766709+00:00",
"RescheduleDate": "2026-08-26T11:47:04.5766709+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}