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": "5a97efc2-7e0e-4e27-8edd-babd777cddcf",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-06-24T19:42:04.4781553+00:00",
"Registration": {
"Id": "58c4f0c4-b73f-4843-8fb7-73952e6ee58c",
"UserId": "33451bcc-330b-4cb1-a980-1bbb4b73cd26",
"IsCurrent": true,
"CenterId": "e381a013-e172-4555-bec8-a84e76eb9313",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "74b6c0df-e649-4918-8ca5-f9c4d82250ad",
"EndDate": "2026-06-24T19:42:04.4781553+00:00",
"StartDate": "2026-06-24T19:42:04.4781553+00:00",
"SchedulePreferenceDate": "2026-06-24T19:42:04.4781553+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-06-24T19:42:04.4781553+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "7e9e7cc5-f57b-44a6-9252-28c5e6f89d57",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "3a4c2223-9065-4f28-a12b-fb9ff1855bf3",
"Sequence": 1,
"AncestorCategoryId": "2b209672-1cd5-4d3d-a10b-4bf3010431d4",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "6a78babf-3df2-44e9-b4af-4b106e8bf6aa",
"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": "6a78babf-3df2-44e9-b4af-4b106e8bf6aa",
"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": "7e9e7cc5-f57b-44a6-9252-28c5e6f89d57",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "3a4c2223-9065-4f28-a12b-fb9ff1855bf3",
"Sequence": 1,
"AncestorCategoryId": "2b209672-1cd5-4d3d-a10b-4bf3010431d4",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "6a78babf-3df2-44e9-b4af-4b106e8bf6aa",
"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": "6a78babf-3df2-44e9-b4af-4b106e8bf6aa",
"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": "9bcec0e0-b559-49c9-a998-db4073a6eb5d",
"CategoryId": "e91c2a25-16f7-4ebe-a23d-b458ee977dfd",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "dd61fdf8-8067-420d-ba64-8cd71a6f00ed",
"Score": 1.0,
"State": 1
},
{
"Id": "dd61fdf8-8067-420d-ba64-8cd71a6f00ed",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "d665f80b-53a3-4e7d-87c6-edb1112de02a",
"Questions": [
{
"Id": "9a722959-56c0-4032-8c39-d0c58ea3649e",
"Answers": "sample string 2"
},
{
"Id": "9a722959-56c0-4032-8c39-d0c58ea3649e",
"Answers": "sample string 2"
}
]
},
{
"Id": "d665f80b-53a3-4e7d-87c6-edb1112de02a",
"Questions": [
{
"Id": "9a722959-56c0-4032-8c39-d0c58ea3649e",
"Answers": "sample string 2"
},
{
"Id": "9a722959-56c0-4032-8c39-d0c58ea3649e",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "e314c82e-99e4-4673-af3d-f984b24970b7",
"ContentItemId": "ae62b566-09b5-4a7e-8693-e33223072082",
"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-06-24T19:42:04.4781553+00:00",
"RescheduleDate": "2026-06-24T19:42:04.4781553+00:00"
},
{
"Id": "e314c82e-99e4-4673-af3d-f984b24970b7",
"ContentItemId": "ae62b566-09b5-4a7e-8693-e33223072082",
"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-06-24T19:42:04.4781553+00:00",
"RescheduleDate": "2026-06-24T19:42:04.4781553+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "5a97efc2-7e0e-4e27-8edd-babd777cddcf",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-06-24T19:42:04.5094037+00:00",
"Registration": {
"Id": "58c4f0c4-b73f-4843-8fb7-73952e6ee58c",
"UserId": "33451bcc-330b-4cb1-a980-1bbb4b73cd26",
"IsCurrent": true,
"CenterId": "e381a013-e172-4555-bec8-a84e76eb9313",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "74b6c0df-e649-4918-8ca5-f9c4d82250ad",
"EndDate": "2026-06-24T19:42:04.4781553+00:00",
"StartDate": "2026-06-24T19:42:04.4781553+00:00",
"SchedulePreferenceDate": "2026-06-24T19:42:04.4781553+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-06-24T19:42:04.4781553+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "7e9e7cc5-f57b-44a6-9252-28c5e6f89d57",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "3a4c2223-9065-4f28-a12b-fb9ff1855bf3",
"Sequence": 1,
"AncestorCategoryId": "2b209672-1cd5-4d3d-a10b-4bf3010431d4",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "6a78babf-3df2-44e9-b4af-4b106e8bf6aa",
"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": "6a78babf-3df2-44e9-b4af-4b106e8bf6aa",
"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": "7e9e7cc5-f57b-44a6-9252-28c5e6f89d57",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "3a4c2223-9065-4f28-a12b-fb9ff1855bf3",
"Sequence": 1,
"AncestorCategoryId": "2b209672-1cd5-4d3d-a10b-4bf3010431d4",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "6a78babf-3df2-44e9-b4af-4b106e8bf6aa",
"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": "6a78babf-3df2-44e9-b4af-4b106e8bf6aa",
"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": "9bcec0e0-b559-49c9-a998-db4073a6eb5d",
"CategoryId": "e91c2a25-16f7-4ebe-a23d-b458ee977dfd",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "dd61fdf8-8067-420d-ba64-8cd71a6f00ed",
"Score": 1.0,
"State": 1
},
{
"Id": "dd61fdf8-8067-420d-ba64-8cd71a6f00ed",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "d665f80b-53a3-4e7d-87c6-edb1112de02a",
"Questions": [
{
"Id": "9a722959-56c0-4032-8c39-d0c58ea3649e",
"Answers": "sample string 2"
},
{
"Id": "9a722959-56c0-4032-8c39-d0c58ea3649e",
"Answers": "sample string 2"
}
]
},
{
"Id": "d665f80b-53a3-4e7d-87c6-edb1112de02a",
"Questions": [
{
"Id": "9a722959-56c0-4032-8c39-d0c58ea3649e",
"Answers": "sample string 2"
},
{
"Id": "9a722959-56c0-4032-8c39-d0c58ea3649e",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "e314c82e-99e4-4673-af3d-f984b24970b7",
"ContentItemId": "ae62b566-09b5-4a7e-8693-e33223072082",
"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-06-24T19:42:04.4781553+00:00",
"RescheduleDate": "2026-06-24T19:42:04.4781553+00:00"
},
{
"Id": "e314c82e-99e4-4673-af3d-f984b24970b7",
"ContentItemId": "ae62b566-09b5-4a7e-8693-e33223072082",
"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-06-24T19:42:04.4781553+00:00",
"RescheduleDate": "2026-06-24T19:42:04.4781553+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}