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.UserStateBackwardCompatibleViewModelName | 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": "7c97e7ad-bb86-40bb-9957-0995b1849be0", "IsNewUser": true, "UserName": "sample string 3", "PrivacyPolicyApprove": true, "ServerTime": "2025-08-31T21:06:40.4715926+00:00", "Registration": { "Id": "08d44ac4-b92a-4530-a5dd-66922c1339a7", "UserId": "06c5a0ad-6967-4ff8-97db-9cc11542e035", "IsCurrent": true, "CenterId": "e16ab594-c6ed-45a7-8727-d8defdab143d", "CenterZone": 5, "ContractId": "sample string 6", "CurrentContentItemId": "fac383a5-5bb7-4321-be6d-574c7daab57f", "EndDate": "2025-08-31T21:06:40.4715926+00:00", "StartDate": "2025-08-31T21:06:40.4715926+00:00", "SchedulePreferenceDate": "2025-08-31T21:06:40.4715926+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": "2025-08-31T21:06:40.4715926+00:00" }, "Bookmarks": { "sample string 1": { "Id": "1cae7e40-510b-4496-8912-7a2d70373cce", "Description": "sample string 2", "Duration": 1, "IsSkippable": true, "Url": "sample string 3", "CourseId": "fe34ad77-9d66-4356-8226-0c8319dd2026", "Sequence": 1, "AncestorCategoryId": "218a2109-3c76-469d-ac19-2e1e7b7ad9ec", "TypeId": 5, "TypeName": "sample string 6", "Hierarchy": [ { "Id": "64e3e5ec-586c-4e64-acfc-eacaf5a51ca1", "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": "64e3e5ec-586c-4e64-acfc-eacaf5a51ca1", "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": "1cae7e40-510b-4496-8912-7a2d70373cce", "Description": "sample string 2", "Duration": 1, "IsSkippable": true, "Url": "sample string 3", "CourseId": "fe34ad77-9d66-4356-8226-0c8319dd2026", "Sequence": 1, "AncestorCategoryId": "218a2109-3c76-469d-ac19-2e1e7b7ad9ec", "TypeId": 5, "TypeName": "sample string 6", "Hierarchy": [ { "Id": "64e3e5ec-586c-4e64-acfc-eacaf5a51ca1", "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": "64e3e5ec-586c-4e64-acfc-eacaf5a51ca1", "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": "64ad100b-d1f7-4a2c-89ac-528da01b5265", "CategoryId": "81889ea6-1b18-49c0-b79c-11115f320a84", "DisclaimerConfirmed": true }, "Lessons": [ { "Id": "9cabade7-81cc-42cd-9c0a-b02c92239290", "Score": 1.0, "State": 1 }, { "Id": "9cabade7-81cc-42cd-9c0a-b02c92239290", "Score": 1.0, "State": 1 } ], "Surveys": [ { "Id": "e736e8ed-ee00-4558-8a9a-5996e4ff6981", "Questions": [ { "Id": "5cf416e5-a778-47ac-ba86-4f26337ad12a", "Answers": "sample string 2" }, { "Id": "5cf416e5-a778-47ac-ba86-4f26337ad12a", "Answers": "sample string 2" } ] }, { "Id": "e736e8ed-ee00-4558-8a9a-5996e4ff6981", "Questions": [ { "Id": "5cf416e5-a778-47ac-ba86-4f26337ad12a", "Answers": "sample string 2" }, { "Id": "5cf416e5-a778-47ac-ba86-4f26337ad12a", "Answers": "sample string 2" } ] } ], "Sessions": [ { "Id": "e66f5106-2f74-40fe-b326-bcedcfe9984d", "ContentItemId": "21f4f922-6e7a-467d-b036-dda0be41c821", "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": "2025-08-31T21:06:40.4715926+00:00", "RescheduleDate": "2025-08-31T21:06:40.4715926+00:00" }, { "Id": "e66f5106-2f74-40fe-b326-bcedcfe9984d", "ContentItemId": "21f4f922-6e7a-467d-b036-dda0be41c821", "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": "2025-08-31T21:06:40.4715926+00:00", "RescheduleDate": "2025-08-31T21:06:40.4715926+00:00" } ], "TotalRescheduleCount": 4, "StudentLevelInfo": { "StartLevel": "sample string 1", "EndLevel": "sample string 2", "CurrentLevel": "sample string 3" } }
text/json
Sample:
{ "UserId": "7c97e7ad-bb86-40bb-9957-0995b1849be0", "IsNewUser": true, "UserName": "sample string 3", "PrivacyPolicyApprove": true, "ServerTime": "2025-08-31T21:06:40.48722+00:00", "Registration": { "Id": "08d44ac4-b92a-4530-a5dd-66922c1339a7", "UserId": "06c5a0ad-6967-4ff8-97db-9cc11542e035", "IsCurrent": true, "CenterId": "e16ab594-c6ed-45a7-8727-d8defdab143d", "CenterZone": 5, "ContractId": "sample string 6", "CurrentContentItemId": "fac383a5-5bb7-4321-be6d-574c7daab57f", "EndDate": "2025-08-31T21:06:40.4715926+00:00", "StartDate": "2025-08-31T21:06:40.4715926+00:00", "SchedulePreferenceDate": "2025-08-31T21:06:40.4715926+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": "2025-08-31T21:06:40.4715926+00:00" }, "Bookmarks": { "sample string 1": { "Id": "1cae7e40-510b-4496-8912-7a2d70373cce", "Description": "sample string 2", "Duration": 1, "IsSkippable": true, "Url": "sample string 3", "CourseId": "fe34ad77-9d66-4356-8226-0c8319dd2026", "Sequence": 1, "AncestorCategoryId": "218a2109-3c76-469d-ac19-2e1e7b7ad9ec", "TypeId": 5, "TypeName": "sample string 6", "Hierarchy": [ { "Id": "64e3e5ec-586c-4e64-acfc-eacaf5a51ca1", "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": "64e3e5ec-586c-4e64-acfc-eacaf5a51ca1", "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": "1cae7e40-510b-4496-8912-7a2d70373cce", "Description": "sample string 2", "Duration": 1, "IsSkippable": true, "Url": "sample string 3", "CourseId": "fe34ad77-9d66-4356-8226-0c8319dd2026", "Sequence": 1, "AncestorCategoryId": "218a2109-3c76-469d-ac19-2e1e7b7ad9ec", "TypeId": 5, "TypeName": "sample string 6", "Hierarchy": [ { "Id": "64e3e5ec-586c-4e64-acfc-eacaf5a51ca1", "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": "64e3e5ec-586c-4e64-acfc-eacaf5a51ca1", "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": "64ad100b-d1f7-4a2c-89ac-528da01b5265", "CategoryId": "81889ea6-1b18-49c0-b79c-11115f320a84", "DisclaimerConfirmed": true }, "Lessons": [ { "Id": "9cabade7-81cc-42cd-9c0a-b02c92239290", "Score": 1.0, "State": 1 }, { "Id": "9cabade7-81cc-42cd-9c0a-b02c92239290", "Score": 1.0, "State": 1 } ], "Surveys": [ { "Id": "e736e8ed-ee00-4558-8a9a-5996e4ff6981", "Questions": [ { "Id": "5cf416e5-a778-47ac-ba86-4f26337ad12a", "Answers": "sample string 2" }, { "Id": "5cf416e5-a778-47ac-ba86-4f26337ad12a", "Answers": "sample string 2" } ] }, { "Id": "e736e8ed-ee00-4558-8a9a-5996e4ff6981", "Questions": [ { "Id": "5cf416e5-a778-47ac-ba86-4f26337ad12a", "Answers": "sample string 2" }, { "Id": "5cf416e5-a778-47ac-ba86-4f26337ad12a", "Answers": "sample string 2" } ] } ], "Sessions": [ { "Id": "e66f5106-2f74-40fe-b326-bcedcfe9984d", "ContentItemId": "21f4f922-6e7a-467d-b036-dda0be41c821", "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": "2025-08-31T21:06:40.4715926+00:00", "RescheduleDate": "2025-08-31T21:06:40.4715926+00:00" }, { "Id": "e66f5106-2f74-40fe-b326-bcedcfe9984d", "ContentItemId": "21f4f922-6e7a-467d-b036-dda0be41c821", "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": "2025-08-31T21:06:40.4715926+00:00", "RescheduleDate": "2025-08-31T21:06:40.4715926+00:00" } ], "TotalRescheduleCount": 4, "StudentLevelInfo": { "StartLevel": "sample string 1", "EndLevel": "sample string 2", "CurrentLevel": "sample string 3" } }