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": "44d504f5-41d0-4bae-aa3f-3c0d8f50abeb", "IsNewUser": true, "UserName": "sample string 3", "PrivacyPolicyApprove": true, "ServerTime": "2025-10-20T20:27:59.0164409+00:00", "Registration": { "Id": "deed7127-8147-4f24-a20d-e4fb9da90a0f", "UserId": "6684ef41-31e8-470b-a13b-42b33015db32", "IsCurrent": true, "CenterId": "d78ba7fd-4b1c-4efd-97fc-ba274e4abec3", "CenterZone": 5, "ContractId": "sample string 6", "CurrentContentItemId": "3124b02e-bddc-4843-a647-f5d7ee130b3e", "EndDate": "2025-10-20T20:27:59.0164409+00:00", "StartDate": "2025-10-20T20:27:59.0164409+00:00", "SchedulePreferenceDate": "2025-10-20T20:27:59.0164409+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-20T20:27:59.0164409+00:00" }, "Bookmarks": { "sample string 1": { "Id": "781020db-db26-41f3-ac31-cb90b29195da", "Description": "sample string 2", "Duration": 1, "IsSkippable": true, "Url": "sample string 3", "CourseId": "1e002231-08a6-4dca-a378-968f99dc5c05", "Sequence": 1, "AncestorCategoryId": "dfd8cb35-b2e7-49bc-a755-738cb6844684", "TypeId": 5, "TypeName": "sample string 6", "Hierarchy": [ { "Id": "75a69416-dadb-4f18-bb2c-0eb98b857076", "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": "75a69416-dadb-4f18-bb2c-0eb98b857076", "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": "781020db-db26-41f3-ac31-cb90b29195da", "Description": "sample string 2", "Duration": 1, "IsSkippable": true, "Url": "sample string 3", "CourseId": "1e002231-08a6-4dca-a378-968f99dc5c05", "Sequence": 1, "AncestorCategoryId": "dfd8cb35-b2e7-49bc-a755-738cb6844684", "TypeId": 5, "TypeName": "sample string 6", "Hierarchy": [ { "Id": "75a69416-dadb-4f18-bb2c-0eb98b857076", "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": "75a69416-dadb-4f18-bb2c-0eb98b857076", "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": "a1e2da56-c751-4f31-bbb3-f986bd6d338b", "CategoryId": "b280103f-1ceb-4d95-8f2a-36d4a2503673", "DisclaimerConfirmed": true }, "Lessons": [ { "Id": "8378f467-2a38-4804-a90f-b778185109fb", "Score": 1.0, "State": 1 }, { "Id": "8378f467-2a38-4804-a90f-b778185109fb", "Score": 1.0, "State": 1 } ], "Surveys": [ { "Id": "162bf58a-a282-4b2a-a77c-ea27152eddcf", "Questions": [ { "Id": "711d749b-f1a0-48ce-ac88-d4f10613e9b9", "Answers": "sample string 2" }, { "Id": "711d749b-f1a0-48ce-ac88-d4f10613e9b9", "Answers": "sample string 2" } ] }, { "Id": "162bf58a-a282-4b2a-a77c-ea27152eddcf", "Questions": [ { "Id": "711d749b-f1a0-48ce-ac88-d4f10613e9b9", "Answers": "sample string 2" }, { "Id": "711d749b-f1a0-48ce-ac88-d4f10613e9b9", "Answers": "sample string 2" } ] } ], "Sessions": [ { "Id": "214c7040-fe34-4aa5-bb3a-c5de36284c04", "ContentItemId": "a68dea26-e7a6-4d24-b873-d6996b64222b", "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-20T20:27:59.0164409+00:00", "RescheduleDate": "2025-10-20T20:27:59.0164409+00:00" }, { "Id": "214c7040-fe34-4aa5-bb3a-c5de36284c04", "ContentItemId": "a68dea26-e7a6-4d24-b873-d6996b64222b", "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-20T20:27:59.0164409+00:00", "RescheduleDate": "2025-10-20T20:27:59.0164409+00:00" } ], "TotalRescheduleCount": 4, "StudentLevelInfo": { "StartLevel": "sample string 1", "EndLevel": "sample string 2", "CurrentLevel": "sample string 3" } }
text/json
Sample:
{ "UserId": "44d504f5-41d0-4bae-aa3f-3c0d8f50abeb", "IsNewUser": true, "UserName": "sample string 3", "PrivacyPolicyApprove": true, "ServerTime": "2025-10-20T20:27:59.0633231+00:00", "Registration": { "Id": "deed7127-8147-4f24-a20d-e4fb9da90a0f", "UserId": "6684ef41-31e8-470b-a13b-42b33015db32", "IsCurrent": true, "CenterId": "d78ba7fd-4b1c-4efd-97fc-ba274e4abec3", "CenterZone": 5, "ContractId": "sample string 6", "CurrentContentItemId": "3124b02e-bddc-4843-a647-f5d7ee130b3e", "EndDate": "2025-10-20T20:27:59.0164409+00:00", "StartDate": "2025-10-20T20:27:59.0164409+00:00", "SchedulePreferenceDate": "2025-10-20T20:27:59.0164409+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-20T20:27:59.0164409+00:00" }, "Bookmarks": { "sample string 1": { "Id": "781020db-db26-41f3-ac31-cb90b29195da", "Description": "sample string 2", "Duration": 1, "IsSkippable": true, "Url": "sample string 3", "CourseId": "1e002231-08a6-4dca-a378-968f99dc5c05", "Sequence": 1, "AncestorCategoryId": "dfd8cb35-b2e7-49bc-a755-738cb6844684", "TypeId": 5, "TypeName": "sample string 6", "Hierarchy": [ { "Id": "75a69416-dadb-4f18-bb2c-0eb98b857076", "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": "75a69416-dadb-4f18-bb2c-0eb98b857076", "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": "781020db-db26-41f3-ac31-cb90b29195da", "Description": "sample string 2", "Duration": 1, "IsSkippable": true, "Url": "sample string 3", "CourseId": "1e002231-08a6-4dca-a378-968f99dc5c05", "Sequence": 1, "AncestorCategoryId": "dfd8cb35-b2e7-49bc-a755-738cb6844684", "TypeId": 5, "TypeName": "sample string 6", "Hierarchy": [ { "Id": "75a69416-dadb-4f18-bb2c-0eb98b857076", "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": "75a69416-dadb-4f18-bb2c-0eb98b857076", "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": "a1e2da56-c751-4f31-bbb3-f986bd6d338b", "CategoryId": "b280103f-1ceb-4d95-8f2a-36d4a2503673", "DisclaimerConfirmed": true }, "Lessons": [ { "Id": "8378f467-2a38-4804-a90f-b778185109fb", "Score": 1.0, "State": 1 }, { "Id": "8378f467-2a38-4804-a90f-b778185109fb", "Score": 1.0, "State": 1 } ], "Surveys": [ { "Id": "162bf58a-a282-4b2a-a77c-ea27152eddcf", "Questions": [ { "Id": "711d749b-f1a0-48ce-ac88-d4f10613e9b9", "Answers": "sample string 2" }, { "Id": "711d749b-f1a0-48ce-ac88-d4f10613e9b9", "Answers": "sample string 2" } ] }, { "Id": "162bf58a-a282-4b2a-a77c-ea27152eddcf", "Questions": [ { "Id": "711d749b-f1a0-48ce-ac88-d4f10613e9b9", "Answers": "sample string 2" }, { "Id": "711d749b-f1a0-48ce-ac88-d4f10613e9b9", "Answers": "sample string 2" } ] } ], "Sessions": [ { "Id": "214c7040-fe34-4aa5-bb3a-c5de36284c04", "ContentItemId": "a68dea26-e7a6-4d24-b873-d6996b64222b", "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-20T20:27:59.0164409+00:00", "RescheduleDate": "2025-10-20T20:27:59.0164409+00:00" }, { "Id": "214c7040-fe34-4aa5-bb3a-c5de36284c04", "ContentItemId": "a68dea26-e7a6-4d24-b873-d6996b64222b", "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-20T20:27:59.0164409+00:00", "RescheduleDate": "2025-10-20T20:27:59.0164409+00:00" } ], "TotalRescheduleCount": 4, "StudentLevelInfo": { "StartLevel": "sample string 1", "EndLevel": "sample string 2", "CurrentLevel": "sample string 3" } }