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": "92491a10-af8e-4082-978e-2e3e370f66a8",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-05-15T17:43:16.8810291+00:00",
"Registration": {
"Id": "3d5093e2-f736-4d00-a1f8-6583aee65ea0",
"UserId": "8967f924-fac6-4198-8a11-1ae2d740d755",
"IsCurrent": true,
"CenterId": "928fb4a5-48b3-4113-be5f-dc97f4751c59",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "57f67a56-7c81-4186-b43f-029fa0835ae5",
"EndDate": "2026-05-15T17:43:16.8654021+00:00",
"StartDate": "2026-05-15T17:43:16.8654021+00:00",
"SchedulePreferenceDate": "2026-05-15T17:43:16.8654021+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-05-15T17:43:16.8654021+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "b4f87bc4-bdda-48d5-b878-25860edc21b9",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "4f64de8e-4578-45b2-ad0d-71abba961afe",
"Sequence": 1,
"AncestorCategoryId": "94225b1e-cd0c-4937-a8fd-398ee96b711e",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "bade6107-c8b3-4157-bf34-69c2a9f51180",
"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": "bade6107-c8b3-4157-bf34-69c2a9f51180",
"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": "b4f87bc4-bdda-48d5-b878-25860edc21b9",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "4f64de8e-4578-45b2-ad0d-71abba961afe",
"Sequence": 1,
"AncestorCategoryId": "94225b1e-cd0c-4937-a8fd-398ee96b711e",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "bade6107-c8b3-4157-bf34-69c2a9f51180",
"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": "bade6107-c8b3-4157-bf34-69c2a9f51180",
"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": "f0723055-3fe3-41e6-9d4e-cfa1ae7e2c6d",
"CategoryId": "d44cb911-f57b-47a1-b4c8-6921ea2bd04d",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "e10609a1-f194-436f-8eef-ac623fa4c63c",
"Score": 1.0,
"State": 1
},
{
"Id": "e10609a1-f194-436f-8eef-ac623fa4c63c",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "a19d231c-af08-4adf-8349-a57dd85a1601",
"Questions": [
{
"Id": "00b51075-78fe-4ed3-b73e-00862675ea39",
"Answers": "sample string 2"
},
{
"Id": "00b51075-78fe-4ed3-b73e-00862675ea39",
"Answers": "sample string 2"
}
]
},
{
"Id": "a19d231c-af08-4adf-8349-a57dd85a1601",
"Questions": [
{
"Id": "00b51075-78fe-4ed3-b73e-00862675ea39",
"Answers": "sample string 2"
},
{
"Id": "00b51075-78fe-4ed3-b73e-00862675ea39",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "c3b1055f-ff82-417f-ba3c-317f87c9f675",
"ContentItemId": "866b0de6-ae93-424e-af58-bdf21708b399",
"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-05-15T17:43:16.8654021+00:00",
"RescheduleDate": "2026-05-15T17:43:16.8654021+00:00"
},
{
"Id": "c3b1055f-ff82-417f-ba3c-317f87c9f675",
"ContentItemId": "866b0de6-ae93-424e-af58-bdf21708b399",
"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-05-15T17:43:16.8654021+00:00",
"RescheduleDate": "2026-05-15T17:43:16.8654021+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "92491a10-af8e-4082-978e-2e3e370f66a8",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-05-15T17:43:16.9279028+00:00",
"Registration": {
"Id": "3d5093e2-f736-4d00-a1f8-6583aee65ea0",
"UserId": "8967f924-fac6-4198-8a11-1ae2d740d755",
"IsCurrent": true,
"CenterId": "928fb4a5-48b3-4113-be5f-dc97f4751c59",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "57f67a56-7c81-4186-b43f-029fa0835ae5",
"EndDate": "2026-05-15T17:43:16.8654021+00:00",
"StartDate": "2026-05-15T17:43:16.8654021+00:00",
"SchedulePreferenceDate": "2026-05-15T17:43:16.8654021+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-05-15T17:43:16.8654021+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "b4f87bc4-bdda-48d5-b878-25860edc21b9",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "4f64de8e-4578-45b2-ad0d-71abba961afe",
"Sequence": 1,
"AncestorCategoryId": "94225b1e-cd0c-4937-a8fd-398ee96b711e",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "bade6107-c8b3-4157-bf34-69c2a9f51180",
"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": "bade6107-c8b3-4157-bf34-69c2a9f51180",
"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": "b4f87bc4-bdda-48d5-b878-25860edc21b9",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "4f64de8e-4578-45b2-ad0d-71abba961afe",
"Sequence": 1,
"AncestorCategoryId": "94225b1e-cd0c-4937-a8fd-398ee96b711e",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "bade6107-c8b3-4157-bf34-69c2a9f51180",
"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": "bade6107-c8b3-4157-bf34-69c2a9f51180",
"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": "f0723055-3fe3-41e6-9d4e-cfa1ae7e2c6d",
"CategoryId": "d44cb911-f57b-47a1-b4c8-6921ea2bd04d",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "e10609a1-f194-436f-8eef-ac623fa4c63c",
"Score": 1.0,
"State": 1
},
{
"Id": "e10609a1-f194-436f-8eef-ac623fa4c63c",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "a19d231c-af08-4adf-8349-a57dd85a1601",
"Questions": [
{
"Id": "00b51075-78fe-4ed3-b73e-00862675ea39",
"Answers": "sample string 2"
},
{
"Id": "00b51075-78fe-4ed3-b73e-00862675ea39",
"Answers": "sample string 2"
}
]
},
{
"Id": "a19d231c-af08-4adf-8349-a57dd85a1601",
"Questions": [
{
"Id": "00b51075-78fe-4ed3-b73e-00862675ea39",
"Answers": "sample string 2"
},
{
"Id": "00b51075-78fe-4ed3-b73e-00862675ea39",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "c3b1055f-ff82-417f-ba3c-317f87c9f675",
"ContentItemId": "866b0de6-ae93-424e-af58-bdf21708b399",
"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-05-15T17:43:16.8654021+00:00",
"RescheduleDate": "2026-05-15T17:43:16.8654021+00:00"
},
{
"Id": "c3b1055f-ff82-417f-ba3c-317f87c9f675",
"ContentItemId": "866b0de6-ae93-424e-af58-bdf21708b399",
"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-05-15T17:43:16.8654021+00:00",
"RescheduleDate": "2026-05-15T17:43:16.8654021+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}