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": "208f643e-ecfb-4f25-83a2-b0455893d7b9",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-10-10T03:36:12.6647713+00:00",
"Registration": {
"Id": "dc228850-0081-4b0b-b69f-717ad56bfc6e",
"UserId": "907395b2-e60f-4c36-87d1-77e15db5f21f",
"IsCurrent": true,
"CenterId": "b1613342-dbdd-4253-9558-02f05a2ed4f4",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "87b5a101-8a9c-40af-a42d-434920fb3ae6",
"EndDate": "2026-10-10T03:36:12.6492+00:00",
"StartDate": "2026-10-10T03:36:12.6492+00:00",
"SchedulePreferenceDate": "2026-10-10T03:36:12.6492+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-10-10T03:36:12.6492+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "03df0878-7940-4ed4-a7c5-d0992ccd1386",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "1e11aa8f-d1e1-448a-9d75-80f99565dbce",
"Sequence": 1,
"AncestorCategoryId": "b42007db-d017-4201-8624-ab6fc656724a",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "b5915692-4130-4411-8df7-4b4ff943bcdb",
"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": "b5915692-4130-4411-8df7-4b4ff943bcdb",
"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": "03df0878-7940-4ed4-a7c5-d0992ccd1386",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "1e11aa8f-d1e1-448a-9d75-80f99565dbce",
"Sequence": 1,
"AncestorCategoryId": "b42007db-d017-4201-8624-ab6fc656724a",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "b5915692-4130-4411-8df7-4b4ff943bcdb",
"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": "b5915692-4130-4411-8df7-4b4ff943bcdb",
"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": "a1af9940-d5d5-4d31-a7ba-169ccafb63d5",
"CategoryId": "5682aa6c-8b4b-4f55-9c6c-c9fa9ecbf144",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "34066de2-d066-4071-ba0d-805ee4836274",
"Score": 1.0,
"State": 1
},
{
"Id": "34066de2-d066-4071-ba0d-805ee4836274",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "61ff5aca-77b9-4ff5-8c51-a5eb2caf71a5",
"Questions": [
{
"Id": "dbe4576c-a891-42b0-80ed-4acddd3d1b68",
"Answers": "sample string 2"
},
{
"Id": "dbe4576c-a891-42b0-80ed-4acddd3d1b68",
"Answers": "sample string 2"
}
]
},
{
"Id": "61ff5aca-77b9-4ff5-8c51-a5eb2caf71a5",
"Questions": [
{
"Id": "dbe4576c-a891-42b0-80ed-4acddd3d1b68",
"Answers": "sample string 2"
},
{
"Id": "dbe4576c-a891-42b0-80ed-4acddd3d1b68",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "b54956c3-c5f1-4727-bed9-21bb10c03391",
"ContentItemId": "4ce96983-21d4-4dcf-9b13-56fd6612675f",
"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-10-10T03:36:12.6492+00:00",
"RescheduleDate": "2026-10-10T03:36:12.6492+00:00"
},
{
"Id": "b54956c3-c5f1-4727-bed9-21bb10c03391",
"ContentItemId": "4ce96983-21d4-4dcf-9b13-56fd6612675f",
"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-10-10T03:36:12.6492+00:00",
"RescheduleDate": "2026-10-10T03:36:12.6492+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "208f643e-ecfb-4f25-83a2-b0455893d7b9",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-10-10T03:36:12.8366443+00:00",
"Registration": {
"Id": "dc228850-0081-4b0b-b69f-717ad56bfc6e",
"UserId": "907395b2-e60f-4c36-87d1-77e15db5f21f",
"IsCurrent": true,
"CenterId": "b1613342-dbdd-4253-9558-02f05a2ed4f4",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "87b5a101-8a9c-40af-a42d-434920fb3ae6",
"EndDate": "2026-10-10T03:36:12.6492+00:00",
"StartDate": "2026-10-10T03:36:12.6492+00:00",
"SchedulePreferenceDate": "2026-10-10T03:36:12.6492+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-10-10T03:36:12.6492+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "03df0878-7940-4ed4-a7c5-d0992ccd1386",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "1e11aa8f-d1e1-448a-9d75-80f99565dbce",
"Sequence": 1,
"AncestorCategoryId": "b42007db-d017-4201-8624-ab6fc656724a",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "b5915692-4130-4411-8df7-4b4ff943bcdb",
"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": "b5915692-4130-4411-8df7-4b4ff943bcdb",
"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": "03df0878-7940-4ed4-a7c5-d0992ccd1386",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "1e11aa8f-d1e1-448a-9d75-80f99565dbce",
"Sequence": 1,
"AncestorCategoryId": "b42007db-d017-4201-8624-ab6fc656724a",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "b5915692-4130-4411-8df7-4b4ff943bcdb",
"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": "b5915692-4130-4411-8df7-4b4ff943bcdb",
"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": "a1af9940-d5d5-4d31-a7ba-169ccafb63d5",
"CategoryId": "5682aa6c-8b4b-4f55-9c6c-c9fa9ecbf144",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "34066de2-d066-4071-ba0d-805ee4836274",
"Score": 1.0,
"State": 1
},
{
"Id": "34066de2-d066-4071-ba0d-805ee4836274",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "61ff5aca-77b9-4ff5-8c51-a5eb2caf71a5",
"Questions": [
{
"Id": "dbe4576c-a891-42b0-80ed-4acddd3d1b68",
"Answers": "sample string 2"
},
{
"Id": "dbe4576c-a891-42b0-80ed-4acddd3d1b68",
"Answers": "sample string 2"
}
]
},
{
"Id": "61ff5aca-77b9-4ff5-8c51-a5eb2caf71a5",
"Questions": [
{
"Id": "dbe4576c-a891-42b0-80ed-4acddd3d1b68",
"Answers": "sample string 2"
},
{
"Id": "dbe4576c-a891-42b0-80ed-4acddd3d1b68",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "b54956c3-c5f1-4727-bed9-21bb10c03391",
"ContentItemId": "4ce96983-21d4-4dcf-9b13-56fd6612675f",
"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-10-10T03:36:12.6492+00:00",
"RescheduleDate": "2026-10-10T03:36:12.6492+00:00"
},
{
"Id": "b54956c3-c5f1-4727-bed9-21bb10c03391",
"ContentItemId": "4ce96983-21d4-4dcf-9b13-56fd6612675f",
"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-10-10T03:36:12.6492+00:00",
"RescheduleDate": "2026-10-10T03:36:12.6492+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}