GET v2/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.View.UserStateViewModelResponse Formats
application/json
Sample:
{ "UserId": "0ad63e9d-345d-406c-99cd-3e3888952323", "IsNewUser": true, "UserName": "sample string 3", "PrivacyPolicyApprove": true, "ServerTime": "2025-10-23T17:20:56.4080173+00:00", "Registration": [ { "Id": "27b652a6-8abf-481b-9b81-86d80fa159e1", "UserId": "94d58eb3-69fe-4ff4-9e28-526a7631461a", "IsCurrent": true, "CenterId": "608841f7-8085-400a-8c13-11b37e982153", "CenterZone": 5, "ContractId": "sample string 6", "CurrentContentItemId": "0274c6be-78c9-42e6-9c61-ce8ba1171982", "EndDate": "2025-10-23T17:20:56.4080173+00:00", "StartDate": "2025-10-23T17:20:56.4080173+00:00", "SchedulePreferenceDate": "2025-10-23T17:20:56.4080173+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" }, { "Id": "27b652a6-8abf-481b-9b81-86d80fa159e1", "UserId": "94d58eb3-69fe-4ff4-9e28-526a7631461a", "IsCurrent": true, "CenterId": "608841f7-8085-400a-8c13-11b37e982153", "CenterZone": 5, "ContractId": "sample string 6", "CurrentContentItemId": "0274c6be-78c9-42e6-9c61-ce8ba1171982", "EndDate": "2025-10-23T17:20:56.4080173+00:00", "StartDate": "2025-10-23T17:20:56.4080173+00:00", "SchedulePreferenceDate": "2025-10-23T17:20:56.4080173+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-10-23T17:20:56.4080173+00:00" }, "Bookmarks": { "sample string 1": { "Id": "340a173c-3656-442e-86a6-ff1694e9899b", "Description": "sample string 2", "Duration": 1, "IsSkippable": true, "Url": "sample string 3", "CourseId": "73940366-acb6-4aac-95af-640cbb1e057b", "Sequence": 1, "AncestorCategoryId": "529816f5-eaf9-4475-a6c2-ceed049d288c", "TypeId": 5, "TypeName": "sample string 6", "Hierarchy": [ { "Id": "ea545e81-daf8-424c-9315-109b573af1a7", "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": "ea545e81-daf8-424c-9315-109b573af1a7", "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": "340a173c-3656-442e-86a6-ff1694e9899b", "Description": "sample string 2", "Duration": 1, "IsSkippable": true, "Url": "sample string 3", "CourseId": "73940366-acb6-4aac-95af-640cbb1e057b", "Sequence": 1, "AncestorCategoryId": "529816f5-eaf9-4475-a6c2-ceed049d288c", "TypeId": 5, "TypeName": "sample string 6", "Hierarchy": [ { "Id": "ea545e81-daf8-424c-9315-109b573af1a7", "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": "ea545e81-daf8-424c-9315-109b573af1a7", "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": "3c3db2b0-e51c-4006-ba23-4c45e3d295e4", "CategoryId": "03a92275-ad4c-47e8-81a1-a38f10494cf8", "DisclaimerConfirmed": true }, "Lessons": [ { "Id": "39828714-21f6-45b7-a3ea-6a5366bdbdf1", "Score": 1.0, "State": 1 }, { "Id": "39828714-21f6-45b7-a3ea-6a5366bdbdf1", "Score": 1.0, "State": 1 } ], "Surveys": [ { "Id": "6260299f-d966-444c-8a66-f2411e79f95a", "Questions": [ { "Id": "0cf92f43-4162-467e-bf6d-defd72bdadd5", "Answers": "sample string 2" }, { "Id": "0cf92f43-4162-467e-bf6d-defd72bdadd5", "Answers": "sample string 2" } ] }, { "Id": "6260299f-d966-444c-8a66-f2411e79f95a", "Questions": [ { "Id": "0cf92f43-4162-467e-bf6d-defd72bdadd5", "Answers": "sample string 2" }, { "Id": "0cf92f43-4162-467e-bf6d-defd72bdadd5", "Answers": "sample string 2" } ] } ], "Sessions": [ { "Id": "96d7b258-cb8c-402e-b959-7d52f6d616a5", "ContentItemId": "490eb06d-25eb-4239-8046-6aea0b009637", "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-10-23T17:20:56.4080173+00:00", "RescheduleDate": "2025-10-23T17:20:56.4080173+00:00" }, { "Id": "96d7b258-cb8c-402e-b959-7d52f6d616a5", "ContentItemId": "490eb06d-25eb-4239-8046-6aea0b009637", "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-10-23T17:20:56.4080173+00:00", "RescheduleDate": "2025-10-23T17:20:56.4080173+00:00" } ], "TotalRescheduleCount": 4, "StudentLevelInfo": { "StartLevel": "sample string 1", "EndLevel": "sample string 2", "CurrentLevel": "sample string 3" }, "StudentSpeakPlusLevelInfo": "sample string 5" }
text/json
Sample:
{ "UserId": "0ad63e9d-345d-406c-99cd-3e3888952323", "IsNewUser": true, "UserName": "sample string 3", "PrivacyPolicyApprove": true, "ServerTime": "2025-10-23T17:20:56.4548928+00:00", "Registration": [ { "Id": "27b652a6-8abf-481b-9b81-86d80fa159e1", "UserId": "94d58eb3-69fe-4ff4-9e28-526a7631461a", "IsCurrent": true, "CenterId": "608841f7-8085-400a-8c13-11b37e982153", "CenterZone": 5, "ContractId": "sample string 6", "CurrentContentItemId": "0274c6be-78c9-42e6-9c61-ce8ba1171982", "EndDate": "2025-10-23T17:20:56.4080173+00:00", "StartDate": "2025-10-23T17:20:56.4080173+00:00", "SchedulePreferenceDate": "2025-10-23T17:20:56.4080173+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" }, { "Id": "27b652a6-8abf-481b-9b81-86d80fa159e1", "UserId": "94d58eb3-69fe-4ff4-9e28-526a7631461a", "IsCurrent": true, "CenterId": "608841f7-8085-400a-8c13-11b37e982153", "CenterZone": 5, "ContractId": "sample string 6", "CurrentContentItemId": "0274c6be-78c9-42e6-9c61-ce8ba1171982", "EndDate": "2025-10-23T17:20:56.4080173+00:00", "StartDate": "2025-10-23T17:20:56.4080173+00:00", "SchedulePreferenceDate": "2025-10-23T17:20:56.4080173+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-10-23T17:20:56.4080173+00:00" }, "Bookmarks": { "sample string 1": { "Id": "340a173c-3656-442e-86a6-ff1694e9899b", "Description": "sample string 2", "Duration": 1, "IsSkippable": true, "Url": "sample string 3", "CourseId": "73940366-acb6-4aac-95af-640cbb1e057b", "Sequence": 1, "AncestorCategoryId": "529816f5-eaf9-4475-a6c2-ceed049d288c", "TypeId": 5, "TypeName": "sample string 6", "Hierarchy": [ { "Id": "ea545e81-daf8-424c-9315-109b573af1a7", "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": "ea545e81-daf8-424c-9315-109b573af1a7", "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": "340a173c-3656-442e-86a6-ff1694e9899b", "Description": "sample string 2", "Duration": 1, "IsSkippable": true, "Url": "sample string 3", "CourseId": "73940366-acb6-4aac-95af-640cbb1e057b", "Sequence": 1, "AncestorCategoryId": "529816f5-eaf9-4475-a6c2-ceed049d288c", "TypeId": 5, "TypeName": "sample string 6", "Hierarchy": [ { "Id": "ea545e81-daf8-424c-9315-109b573af1a7", "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": "ea545e81-daf8-424c-9315-109b573af1a7", "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": "3c3db2b0-e51c-4006-ba23-4c45e3d295e4", "CategoryId": "03a92275-ad4c-47e8-81a1-a38f10494cf8", "DisclaimerConfirmed": true }, "Lessons": [ { "Id": "39828714-21f6-45b7-a3ea-6a5366bdbdf1", "Score": 1.0, "State": 1 }, { "Id": "39828714-21f6-45b7-a3ea-6a5366bdbdf1", "Score": 1.0, "State": 1 } ], "Surveys": [ { "Id": "6260299f-d966-444c-8a66-f2411e79f95a", "Questions": [ { "Id": "0cf92f43-4162-467e-bf6d-defd72bdadd5", "Answers": "sample string 2" }, { "Id": "0cf92f43-4162-467e-bf6d-defd72bdadd5", "Answers": "sample string 2" } ] }, { "Id": "6260299f-d966-444c-8a66-f2411e79f95a", "Questions": [ { "Id": "0cf92f43-4162-467e-bf6d-defd72bdadd5", "Answers": "sample string 2" }, { "Id": "0cf92f43-4162-467e-bf6d-defd72bdadd5", "Answers": "sample string 2" } ] } ], "Sessions": [ { "Id": "96d7b258-cb8c-402e-b959-7d52f6d616a5", "ContentItemId": "490eb06d-25eb-4239-8046-6aea0b009637", "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-10-23T17:20:56.4080173+00:00", "RescheduleDate": "2025-10-23T17:20:56.4080173+00:00" }, { "Id": "96d7b258-cb8c-402e-b959-7d52f6d616a5", "ContentItemId": "490eb06d-25eb-4239-8046-6aea0b009637", "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-10-23T17:20:56.4080173+00:00", "RescheduleDate": "2025-10-23T17:20:56.4080173+00:00" } ], "TotalRescheduleCount": 4, "StudentLevelInfo": { "StartLevel": "sample string 1", "EndLevel": "sample string 2", "CurrentLevel": "sample string 3" }, "StudentSpeakPlusLevelInfo": "sample string 5" }